Trait

com.johnsnowlabs.nlp.annotators.disambiguation.logic

PredictionLogic

Related Doc: package logic

Permalink

trait PredictionLogic extends Mappings with EmbeddingsExtractor

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PredictionLogic
  2. EmbeddingsExtractor
  3. Mappings
  4. AnyRef
  5. 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

Abstract Value Members

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

    Permalink
    Definition Classes
    Mappings
  2. abstract def getSentenceEmbedding(annotations: Seq[Annotation]): SentenceEmbeddingWithType

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

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

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

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

    Permalink
    Definition Classes
    Mappings

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. final def asInstanceOf[T0]: T0

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

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

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. def levenshteinDistanceThreshold: Double

    Permalink
  15. def limit: Int

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def nearMatchingGap: Int

    Permalink
  18. final def notify(): Unit

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

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

    Permalink
  21. def searchByToken: Boolean

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from EmbeddingsExtractor

Inherited from Mappings

Inherited from AnyRef

Inherited from Any

Ungrouped