public void resetWordCounters ( ) { for ( VocabularyWord word : getVocabulary ( ) ) { word . setHuffmanNode ( null ) ; word . setFrequencyShift ( null ) ; word . setCount ( 0 ) ; } }
This methods reset counters for all words in vocabulary