code: public Vector getVector(String word) {
          Vector v = (wordToTransformedVector != null)
              ? wordToTransformedVector.get(word)
              : wordToSemantics.get(word);
          
          if (v == null) 
              return null;
          
          // Note that because the word space is potentially ever growing, we wrap
          // the return vectors with the size of the semantic space at the time of
          // the call.
          return Vectors.immutable(Vectors.subview(v, 0, getVectorLength()));
      }
docs: {@inheritDoc} Note that because the word space is potentially growing as
  new documents are processed, the length of the returned vector is equal
  to the number of dimensions <i>at the time of this call</i> and therefore
  may be less that the number of dimensions for the same word when obtained
  at a later time.
  
  <p>The specific type of {@link Vector} returned will depend upon the
  state of this instance at the time of the call.  If this instance has
  been processed with a {@link Transform} via {@code processSpace}, then
  the vector will be an instanceof {@link DoubleVector}; otherwise, the
  vector should contain co-occurrence counts and will therefore be an
  instanceof {@link IntegerVector}.