trait AnnotationLogic extends PredictionLogic
Trait that contains the annotation logic for the NerDisambiguator. Maps entities to unique identities.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnnotationLogic
- PredictionLogic
- EmbeddingsExtractor
- Mappings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
OptionAsSeq[T] = Seq[T]
- Definition Classes
- Mappings
-
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
- Definition Classes
- PredictionLogic
Abstract Value Members
-
abstract
val
chunk2idF: (String) ⇒ Option[List[Int]]
- Definition Classes
- Mappings
- abstract def getNumFirstChars: Int
-
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
- abstract def outputAnnotatorType: String
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
EmbeddingsRef: String
- Definition Classes
- EmbeddingsExtractor
- def annotate(annotations: Seq[Annotation]): Seq[Annotation]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
enableApproximateMatching: Boolean
- Definition Classes
- PredictionLogic
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
levenshteinDistanceThreshold: Double
- Definition Classes
- PredictionLogic
-
def
limit: Int
- Definition Classes
- PredictionLogic
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
nearMatchingGap: Int
- Definition Classes
- PredictionLogic
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
predictByChunk(annotations: Seq[Annotation], numFirstChars: Int): Seq[Prediction]
- Definition Classes
- PredictionLogic
-
def
searchByToken: Boolean
- Definition Classes
- PredictionLogic
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()