docs: @Deprecated
      public static void writeWordVectors(InMemoryLookupTable lookupTable, InMemoryLookupCache cache, String path)
              throws IOException {
          try (BufferedWriter write = new BufferedWriter(
                  new OutputStreamWriter(new FileOutputStream(path, false), StandardCharsets.UTF_8))) {
              for (int i = 0; i < lookupTable.getSyn0().rows(); i++) {
                  String word = cache.wordAtIndex(i);
                  if (word == null) {
                      continue;
                  }
                  StringBuilder sb = new StringBuilder();
                  sb.append(word.replaceAll(" ", WHITESPACE_REPLACEMENT));
                  sb.append(" ");
                  INDArray wordVector = lookupTable.vector(word);
                  for (int j = 0; j < wordVector.length(); j++) {
                      sb.append(wordVector.getDouble(j));
                      if (j < wordVector.length() - 1) {
                          sb.append(" ");
                      }
                  }
                  sb.append("\n");
                  write.write(sb.toString());
  
              }
          }
      }