code: public void setWordToIndexVector(Map<String,TernaryVector> m) {
          wordToIndexVector.clear();
          wordToIndexVector.putAll(m);
      }
docs: Assigns the token to {@link IntegerVector} mapping to be used by this
  instance.  The contents of the map are copied, so any additions of new
  index words by this instance will not be reflected in the parameter's
  mapping.
  
  @param m a mapping from token to the {@code IntegerVector} that should be
  used represent it when calculating other word's semantics