code: public Vector getVector(String term) {
          Integer index = termToIndex.get(term);
          return (index == null)
              ? null
              : wordSpace.getRowVector(index.intValue());
      }
docs: {@inheritDoc}