Module: LangExtract::Core::AlignmentStatus

Defined in:
lib/langextract/core/types.rb

Constant Summary collapse

EXACT =
"exact"
FUZZY =
"fuzzy"
UNGROUNDED =
"ungrounded"
OVERLAP =
"overlap"
ERROR =
"error"
ALL =
[EXACT, FUZZY, UNGROUNDED, OVERLAP, ERROR].freeze

Class Method Summary collapse

Class Method Details

.valid?(status) ⇒ Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/langextract/core/types.rb', line 16

def self.valid?(status)
  ALL.include?(status)
end