docs: @Deprecated
      public static WordVectors loadTxtVectors(@NonNull InputStream stream, boolean skipFirstLine) throws IOException {
          AbstractCache<VocabWord> cache = new AbstractCache.Builder<VocabWord>().build();
  
          BufferedReader reader = new BufferedReader(new InputStreamReader(stream));
          String line = "";
          List<INDArray> arrays = new ArrayList<>();
  
          if (skipFirstLine)
              reader.readLine();
  
          while ((line = reader.readLine()) != null) {
              String[] split = line.split(" ");
              String word = split[0].replaceAll(WHITESPACE_REPLACEMENT, " ");
              VocabWord word1 = new VocabWord(1.0, word);
  
              word1.setIndex(cache.numWords());
  
              cache.addToken(word1);
  
              cache.addWordToIndex(word1.getIndex(), word);
  
              cache.putVocabWord(word);
  
              float[] vector = new float[split.length - 1];
  
              for (int i = 1; i < split.length; i++) {
                  vector[i - 1] = Float.parseFloat(split[i]);
              }
  
              INDArray row = Nd4j.create(vector);
  
              arrays.add(row);
          }
  
          InMemoryLookupTable<VocabWord> lookupTable =
                  (InMemoryLookupTable<VocabWord>) new InMemoryLookupTable.Builder<VocabWord>()
                          .vectorLength(arrays.get(0).columns()).cache(cache).build();
  
          INDArray syn = Nd4j.vstack(arrays);
  
          Nd4j.clearNans(syn);
          lookupTable.setSyn0(syn);
  
          return fromPair(Pair.makePair((InMemoryLookupTable) lookupTable, (VocabCache) cache));
      }