code: public static Word2Vec fromPair(Pair<InMemoryLookupTable, VocabCache> pair) {
          Word2Vec vectors = new Word2Vec();
          vectors.setLookupTable(pair.getFirst());
          vectors.setVocab(pair.getSecond());
          vectors.setModelUtils(new BasicModelUtils());
          return vectors;
      }
docs: Load word vectors from the given pair
  
  @param pair the given pair
  @return a read only word vectors impl based on the given lookup table and vocab