trait PredictionLogic extends Mappings with EmbeddingsExtractor
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PredictionLogic
- EmbeddingsExtractor
- Mappings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Abstract Value Members
-
abstract
val
chunk2idF: (String) ⇒ Option[List[Int]]
- Definition Classes
- Mappings
-
abstract
def
getSentenceEmbedding(annotations: Seq[Annotation]): SentenceEmbeddingWithType
- Definition Classes
- EmbeddingsExtractor
-
abstract
val
id2categoryF: (Int) ⇒ OptionAsSeq[String]
- Definition Classes
- Mappings
-
abstract
val
id2embF: (Int) ⇒ OptionAsSeq[Array[Double]]
- Definition Classes
- Mappings
-
abstract
val
id2linkF: (Int) ⇒ OptionAsSeq[String]
- Definition Classes
- Mappings
-
abstract
val
id2titleF: (Int) ⇒ OptionAsSeq[String]
- Definition Classes
- Mappings
Concrete Value Members
-
val
EmbeddingsRef: String
- Definition Classes
- EmbeddingsExtractor
- def enableApproximateMatching: Boolean
- def levenshteinDistanceThreshold: Double
- def limit: Int
- def nearMatchingGap: Int
- def predictByChunk(annotations: Seq[Annotation], numFirstChars: Int): Seq[Prediction]
- def searchByToken: Boolean