Method: CorpusProcessor::Token#word

Defined in:
lib/corpus-processor/token.rb

#wordString

Returns the word from text. It shouldn't contain spaces.

Returns:

  • (String)

    the word from text. It shouldn't contain spaces.



11
12
13
# File 'lib/corpus-processor/token.rb', line 11

def word
  @word
end