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