Packages

trait PredictionLogic extends Mappings with EmbeddingsExtractor

Linear Supertypes
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]
    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

Abstract Value Members

  1. abstract val chunk2idF: (String) ⇒ Option[List[Int]]
    Definition Classes
    Mappings
  2. abstract def getSentenceEmbedding(annotations: Seq[Annotation]): SentenceEmbeddingWithType
    Definition Classes
    EmbeddingsExtractor
  3. abstract val id2categoryF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    Mappings
  4. abstract val id2embF: (Int) ⇒ OptionAsSeq[Array[Double]]
    Definition Classes
    Mappings
  5. abstract val id2linkF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    Mappings
  6. abstract val id2titleF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    Mappings

Concrete Value Members

  1. val EmbeddingsRef: String
    Definition Classes
    EmbeddingsExtractor
  2. def enableApproximateMatching: Boolean
  3. def levenshteinDistanceThreshold: Double
  4. def limit: Int
  5. def nearMatchingGap: Int
  6. def predictByChunk(annotations: Seq[Annotation], numFirstChars: Int): Seq[Prediction]
  7. def searchByToken: Boolean