Class WordConverter


  • public class WordConverter
    extends Object
    • Method Detail

      • toInputMatrix

        public static org.nd4j.linalg.api.ndarray.INDArray toInputMatrix​(List<Window> windows,
                                                                         Word2Vec vec)
      • toInputMatrix

        public org.nd4j.linalg.api.ndarray.INDArray toInputMatrix()
      • toLabelMatrix

        public static org.nd4j.linalg.api.ndarray.INDArray toLabelMatrix​(List<String> labels,
                                                                         List<Window> windows)
      • toLabelMatrix

        public org.nd4j.linalg.api.ndarray.INDArray toLabelMatrix​(List<String> labels)