code: protected void finishAdding()
      {
          noMoreAdding = true;
          
          workSpace = null;
          storageSpace = null;
          wordCounts = null;
          
          final int[] frqs = new int[dimensionSize];
          for(int i = 0; i < termDocumentFrequencys.length(); i++)
              frqs[i] = termDocumentFrequencys.get(i);
          weighting.setWeight(vectors, IntList.unmodifiableView(frqs, dimensionSize));
          for(SparseVector vec : vectors)
              weighting.applyTo(vec);
          termDocumentFrequencys = null;
      }
docs: Once all original documents have been added, this method is called so
  that post processing steps can be applied.