Class: Raingrams::Tokens::StopSentence
- Defined in:
- lib/raingrams/tokens/stop_sentence.rb
Instance Attribute Summary
Attributes inherited from Token
Instance Method Summary collapse
-
#initialize ⇒ StopSentence
constructor
A new instance of StopSentence.
Methods inherited from Token
#*, #eql?, #inspect, #to_gram, #to_s, #to_sym
Constructor Details
#initialize ⇒ StopSentence
Returns a new instance of StopSentence.
7 8 9 |
# File 'lib/raingrams/tokens/stop_sentence.rb', line 7 def initialize super('</s>') end |