Class: TWPipeline::Segmenter::Model

Inherits:
Data
  • Object
show all
Defined in:
lib/twpipeline/segmenter.rb,
sig/twpipeline.rbs

Instance Attribute Summary collapse

Instance Attribute Details

#char_costObject (readonly)

Returns the value of attribute char_cost

Returns:

  • (Object)

    the current value of char_cost



10
11
12
# File 'lib/twpipeline/segmenter.rb', line 10

def char_cost
  @char_cost
end

#costObject (readonly)

Returns the value of attribute cost

Returns:

  • (Object)

    the current value of cost



10
11
12
# File 'lib/twpipeline/segmenter.rb', line 10

def cost
  @cost
end

#max_wordObject (readonly)

Returns the value of attribute max_word

Returns:

  • (Object)

    the current value of max_word



10
11
12
# File 'lib/twpipeline/segmenter.rb', line 10

def max_word
  @max_word
end

#unseen_charObject (readonly)

Returns the value of attribute unseen_char

Returns:

  • (Object)

    the current value of unseen_char



10
11
12
# File 'lib/twpipeline/segmenter.rb', line 10

def unseen_char
  @unseen_char
end

#unseen_wordObject (readonly)

Returns the value of attribute unseen_word

Returns:

  • (Object)

    the current value of unseen_word



10
11
12
# File 'lib/twpipeline/segmenter.rb', line 10

def unseen_word
  @unseen_word
end