Class NLDistanceType


  • public final class NLDistanceType
    extends java.lang.Object
    NLEmbedding is a class representing a map from a set of strings into a finite-dimensional real vector space. Predefined word embeddings are provided for certain languages.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long NLDistanceTypeCosine
      A cosine distance in embedding space, i.e. 1 - cosine similarity, in the range [0.0, 2.0].
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NLDistanceTypeCosine

        public static final long NLDistanceTypeCosine
        A cosine distance in embedding space, i.e. 1 - cosine similarity, in the range [0.0, 2.0].
        See Also:
        Constant Field Values