Class: Raingrams::Tokens::StopSentence

Inherits:
Token show all
Defined in:
lib/raingrams/tokens/stop_sentence.rb

Instance Attribute Summary

Attributes inherited from Token

#gram

Instance Method Summary collapse

Methods inherited from Token

#*, #eql?, #inspect, #to_gram, #to_s, #to_sym

Constructor Details

#initializeStopSentence

Returns a new instance of StopSentence.



7
8
9
# File 'lib/raingrams/tokens/stop_sentence.rb', line 7

def initialize
  super('</s>')
end