Trait

com.johnsnowlabs.nlp.annotators.disambiguation.logic

AnnotationLogic

Related Doc: package logic

Permalink

trait AnnotationLogic extends PredictionLogic

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnnotationLogic
  2. PredictionLogic
  3. EmbeddingsExtractor
  4. Mappings
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type OptionAsSeq[T] = Seq[T]

    Permalink
    Definition Classes
    Mappings
  2. final case class Prediction(chunk: Annotation, score2link: Map[Score, String], score2id: Map[Score, DataId], score2title: Map[Score, String], score2category: Map[Score, String]) extends Product with Serializable

    Permalink
    Definition Classes
    PredictionLogic

Abstract Value Members

  1. abstract val chunk2idF: (String) ⇒ Option[List[Int]]

    Permalink
    Definition Classes
    Mappings
  2. abstract def getNumFirstChars: Int

    Permalink
  3. abstract def getSentenceEmbedding(annotations: Seq[Annotation]): SentenceEmbeddingWithType

    Permalink
    Definition Classes
    EmbeddingsExtractor
  4. abstract val id2categoryF: (Int) ⇒ OptionAsSeq[String]

    Permalink
    Definition Classes
    Mappings
  5. abstract val id2embF: (Int) ⇒ OptionAsSeq[Array[Double]]

    Permalink
    Definition Classes
    Mappings
  6. abstract val id2linkF: (Int) ⇒ OptionAsSeq[String]

    Permalink
    Definition Classes
    Mappings
  7. abstract val id2titleF: (Int) ⇒ OptionAsSeq[String]

    Permalink
    Definition Classes
    Mappings
  8. abstract def outputAnnotatorType: String

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EmbeddingsRef: String

    Permalink
    Definition Classes
    EmbeddingsExtractor
  5. def annotate(annotations: Seq[Annotation]): Seq[Annotation]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def enableApproximateMatching: Boolean

    Permalink
    Definition Classes
    PredictionLogic
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def levenshteinDistanceThreshold: Double

    Permalink
    Definition Classes
    PredictionLogic
  16. def limit: Int

    Permalink
    Definition Classes
    PredictionLogic
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def nearMatchingGap: Int

    Permalink
    Definition Classes
    PredictionLogic
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def predictByChunk(annotations: Seq[Annotation], numFirstChars: Int): Seq[Prediction]

    Permalink
    Definition Classes
    PredictionLogic
  22. def searchByToken: Boolean

    Permalink
    Definition Classes
    PredictionLogic
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PredictionLogic

Inherited from EmbeddingsExtractor

Inherited from Mappings

Inherited from AnyRef

Inherited from Any

Ungrouped