code: @Deprecated
      public static void writeWordVectors(@NonNull Word2Vec vec, @NonNull File file) throws IOException {
          try (BufferedWriter write = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8))) {
              writeWordVectors(vec, write);
          }
      }
docs: Writes the word vectors to the given path. Note that this assumes an in memory cache
  
  @param vec  the word2vec to write
  @param file the file to write
  @throws IOException