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