Method: Excite::Token#initialize

Defined in:
lib/excite/crfparser.rb

#initialize(str, part_of_speech = nil) ⇒ Token

Returns a new instance of Token.



290
291
292
293
# File 'lib/excite/crfparser.rb', line 290

def initialize(str, part_of_speech=nil)
  @str = str
  @part_of_speech = part_of_speech
end