docs: public static INDArray asExampleArray(Window window, Word2Vec vec, boolean normalize) {
          int length = vec.lookupTable().layerSize();
          List<String> words = window.getWords();
          int windowSize = vec.getWindow();
          Preconditions.checkState(words.size() == vec.getWindow());
          INDArray ret = Nd4j.create(1, length * windowSize);
  
  
  
          for (int i = 0; i < words.size(); i++) {
              String word = words.get(i);
              INDArray n = normalize ? vec.getWordVectorMatrixNormalized(word) : vec.getWordVectorMatrix(word);
              ret.put(new INDArrayIndex[] {NDArrayIndex.interval(i * vec.lookupTable().layerSize(),
                              i * vec.lookupTable().layerSize() + vec.lookupTable().layerSize())}, n);
          }
  
          return ret;
      }