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