Class TermAndVector


  • public class TermAndVector
    extends Object
    Word2Vec unit composed by a term with the associated vector
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Constructor Detail

      • TermAndVector

        public TermAndVector​(BytesRef term,
                             float[] vector)
    • Method Detail

      • getVector

        public float[] getVector()
      • size

        public int size()
      • normalizeVector

        public void normalizeVector()