class Mappings::Slot
- Mappings::Slot
- Mappings::Mapping
- Reference
- Object
Overview
Slot data.
- value [
SlotValue
] : The resolved value of the slot. - alternatives [
SlotValueArray
] : The alternative slot values. - raw_value [
String
] : The raw value as it appears in the input text. - entity [
String
] : Name of the entity type of the slot. - slot_name [
String
] : Name of the slot. - range_start [
Int32
] : Start index of raw value in input text. - range_end [
Int32
] : End index of raw value in input text. - confidence_score [
Float32
] : Confidence score of the slot.
Defined in:
bindings/mappings.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #alternatives
- #confidence_score
- #data : DataType
- #data=(data : DataType)
- #entity
- #range_end
- #range_start
- #raw_value
- #slot_name
- #to_unsafe
- #value
Macro Summary
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.