Method: FeldtRuby::WordCounter#preprocess_word
- Defined in:
- lib/feldtruby/word_counter.rb
#preprocess_word(word) ⇒ Object
Ensure it has canonical form
7 8 9 |
# File 'lib/feldtruby/word_counter.rb', line 7 def preprocess_word(word) word.strip.downcase end |