private void powVectors() {
    for (wordsDocument doc : webDocs) {
      HashMap<String, Integer> uniqueCounter = doc.uniqueCounter;
      doc.vectors = new double[dictionarySize];
      int i = 0;
      int z = 0;
      for (String dictionaryKey : sortedDictionaryUniqueWords.keySet()) {
        for (String uniqueWord : doc.uniqueWords) {
          if (dictionaryKey.equals(uniqueWord)) {
            doc.vectors[i] = (double) uniqueCounter.get(dictionaryKey) / (double) uniqueCounter.size();
            break;
          } else {
            if (doc.vectors[i] == 0)
              doc.vectors[i] = (double) 0;
          }
        }
        i++;
      }
    }
  }