code: @Deprecated
      public static void writeWordVectors(@NonNull Word2Vec vec, @NonNull OutputStream outputStream) throws IOException {
          try (BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(outputStream, StandardCharsets.UTF_8))) {
              writeWordVectors(vec, writer);
          }
      }
docs: Writes the word vectors to the given OutputStream. Note that this assumes an in memory cache.
  
  @param vec          the word2vec to write
  @param outputStream - OutputStream, where all data should be sent to
  the path to write
  @throws IOException