Method: Clarifier::StopWords#reset

Defined in:
lib/clarifier/stop_words.rb

#resetObject



36
37
38
39
40
# File 'lib/clarifier/stop_words.rb', line 36

def reset
  @word_counts = Hash.new(0)
  @training_doc_count = 0
  @stopwords = []
end