How to do it...

  1. Import the Google News vectors:
File file = new File("GoogleNews-vectors-negative300.bin.gz");
Word2Vec model = WordVectorSerializer.readWord2VecModel(file);
  1. Run an evaluation on the Google News vectors:
model.wordsNearest("season",10))
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset