Class: CLD3::NNetLanguageIdentifier::SpanInfo
- Inherits:
-
Struct
- Object
- Struct
- CLD3::NNetLanguageIdentifier::SpanInfo
- Defined in:
- lib/cld3.rb
Overview
Holds probability that Span, specified by start/end indices, is a given language. The langauge is not stored here; it can be found in Result, which holds an Array of SpanInfo.
Instance Attribute Summary collapse
-
#end_index ⇒ Object
Returns the value of attribute end_index.
-
#probability ⇒ Object
Returns the value of attribute probability.
-
#start_index ⇒ Object
Returns the value of attribute start_index.
Instance Attribute Details
#end_index ⇒ Object
Returns the value of attribute end_index
28 29 30 |
# File 'lib/cld3.rb', line 28 def end_index @end_index end |
#probability ⇒ Object
Returns the value of attribute probability
28 29 30 |
# File 'lib/cld3.rb', line 28 def probability @probability end |
#start_index ⇒ Object
Returns the value of attribute start_index
28 29 30 |
# File 'lib/cld3.rb', line 28 def start_index @start_index end |