Class: TWPipeline::Segmenter::Model
- Inherits:
-
Data
- Object
- Data
- TWPipeline::Segmenter::Model
- Defined in:
- lib/twpipeline/segmenter.rb,
sig/twpipeline.rbs
Instance Attribute Summary collapse
-
#char_cost ⇒ Object
readonly
Returns the value of attribute char_cost.
-
#cost ⇒ Object
readonly
Returns the value of attribute cost.
-
#max_word ⇒ Object
readonly
Returns the value of attribute max_word.
-
#unseen_char ⇒ Object
readonly
Returns the value of attribute unseen_char.
-
#unseen_word ⇒ Object
readonly
Returns the value of attribute unseen_word.
Instance Attribute Details
#char_cost ⇒ Object (readonly)
Returns the value of attribute char_cost
10 11 12 |
# File 'lib/twpipeline/segmenter.rb', line 10 def char_cost @char_cost end |
#cost ⇒ Object (readonly)
Returns the value of attribute cost
10 11 12 |
# File 'lib/twpipeline/segmenter.rb', line 10 def cost @cost end |
#max_word ⇒ Object (readonly)
Returns the value of attribute max_word
10 11 12 |
# File 'lib/twpipeline/segmenter.rb', line 10 def max_word @max_word end |
#unseen_char ⇒ Object (readonly)
Returns the value of attribute unseen_char
10 11 12 |
# File 'lib/twpipeline/segmenter.rb', line 10 def unseen_char @unseen_char end |
#unseen_word ⇒ Object (readonly)
Returns the value of attribute unseen_word
10 11 12 |
# File 'lib/twpipeline/segmenter.rb', line 10 def unseen_word @unseen_word end |