o

com.johnsnowlabs.nlp.annotators.re

REFeatureGenerator

object REFeatureGenerator

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. REFeatureGenerator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val POSTAGS: Array[Serializable]
  5. val PUNCTUATIONS: Array[String]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def calcSyntacticDistance(dep1: Annotation, dep2: Annotation, deps: Array[Annotation]): Option[(Int, Annotation)]
  8. def cityBlockDistance(x: Array[Float], y: Array[Float]): Float
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def coordDistance(x: Array[Float], y: Array[Float]): Float
  11. def cosineSimilarity(x: Array[Float], y: Array[Float]): Float
  12. def dotProduct(x: Array[Float], y: Array[Float]): Float
  13. def embeddingsSimilarity(embeddings1: Array[Float], embeddings2: Array[Float]): Array[Float]
  14. def encodeEmbedding(pos1: Int, pos2: Int, embeddings: Seq[Annotation], embeddingsDim: Int): Array[Float]
  15. def encodeNChars(pos1: Int, pos2: Int): Array[Float]
  16. def encodeNESimilarity(embedding1: Array[Float], embedding2: Array[Float]): Array[Float]
  17. def encodeNETags(ne1: String, ne2: String, nerTags: Array[String]): Array[Float]
  18. def encodeNPunctuations(chunk: String): Array[Float]
  19. def encodeNWords(pos1: Int, pos2: Int, annotations: Seq[Annotation]): Array[Float]
  20. def encodePosTags(pos1: Int, pos2: Int, posTags: Seq[Annotation]): Array[Float]
  21. def encodeSyntacticDistance(pos1: Int, pos2: Int, dependencies: Seq[Annotation]): Array[Float]
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def euclideanDistance(x: Array[Float], y: Array[Float]): Float
  25. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def findPath(dep1: Annotation, dep2: Annotation, deps: Array[Annotation], path: Int = 0): Option[Int]
  27. def getBetweenAnnotations(pos1: Int, pos2: Int, annotations: Seq[Annotation]): Seq[Annotation]
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def getPOSTagIndex(posTag: String): Int
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def normalizeVector(vector: Array[Float], encodeNone: Boolean = false): Array[Float]
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped