code: @Deprecated
      public static void writeWordVectors(@NonNull Word2Vec vec, @NonNull String path) throws IOException {
          BufferedWriter write = new BufferedWriter(
                  new OutputStreamWriter(new FileOutputStream(new File(path), false), "UTF-8"));
  
          writeWordVectors(vec, write);
  
          write.flush();
          write.close();
      }
docs: Writes the word vectors to the given path. Note that this assumes an in memory cache
  
  @param vec  the word2vec to write
  @param path the path to write
  @throws IOException