Packages

class NerDisambiguatorModel extends AnnotatorModel[NerDisambiguatorModel] with AnnotationLogic with PoolingLogicBase with DisambiguatorModelParams with SwitchableEmbeddingsExtractor with HasSimpleAnnotate[NerDisambiguatorModel]

Linear Supertypes
HasSimpleAnnotate[NerDisambiguatorModel], SwitchableEmbeddingsExtractor, DisambiguatorModelParams, PoolingLogicBase, PoolingLogic, AnnotationLogic, PredictionLogic, EmbeddingsExtractor, Mappings, AnnotatorModel[NerDisambiguatorModel], CanBeLazy, RawAnnotator[NerDisambiguatorModel], HasOutputAnnotationCol, HasInputAnnotationCols, HasOutputAnnotatorType, ParamsAndFeaturesWritable, HasFeatures, DefaultParamsWritable, MLWritable, Model[NerDisambiguatorModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NerDisambiguatorModel
  2. HasSimpleAnnotate
  3. SwitchableEmbeddingsExtractor
  4. DisambiguatorModelParams
  5. PoolingLogicBase
  6. PoolingLogic
  7. AnnotationLogic
  8. PredictionLogic
  9. EmbeddingsExtractor
  10. Mappings
  11. AnnotatorModel
  12. CanBeLazy
  13. RawAnnotator
  14. HasOutputAnnotationCol
  15. HasInputAnnotationCols
  16. HasOutputAnnotatorType
  17. ParamsAndFeaturesWritable
  18. HasFeatures
  19. DefaultParamsWritable
  20. MLWritable
  21. Model
  22. Transformer
  23. PipelineStage
  24. Logging
  25. Params
  26. Serializable
  27. Serializable
  28. Identifiable
  29. AnyRef
  30. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NerDisambiguatorModel()
  2. new NerDisambiguatorModel(uid: String)

Type Members

  1. type AnnotationContent = Seq[Row]
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  2. type AnnotatorType = String
    Definition Classes
    HasOutputAnnotatorType
  3. type OptionAsSeq[T] = Seq[T]
    Definition Classes
    Mappings
  4. 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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. def $$[T](feature: StructFeature[T]): T
    Attributes
    protected
    Definition Classes
    HasFeatures
  5. def $$[K, V](feature: MapFeature[K, V]): Map[K, V]
    Attributes
    protected
    Definition Classes
    HasFeatures
  6. def $$[T](feature: SetFeature[T]): Set[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  7. def $$[T](feature: ArrayFeature[T]): Array[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. val EmbeddingsRef: String
    Definition Classes
    EmbeddingsExtractor
  10. def _transform(dataset: Dataset[_], recursivePipeline: Option[PipelineModel]): DataFrame
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  11. def afterAnnotate(dataset: DataFrame): DataFrame
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  12. def annotate(annotations: Seq[Annotation]): Seq[Annotation]
    Definition Classes
    AnnotationLogic
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def beforeAnnotate(dataset: Dataset[_]): Dataset[_]
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  15. final def checkSchema(schema: StructType, inputAnnotatorType: String): Boolean
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  16. lazy val chunk2idF: (String) ⇒ Option[List[Int]]
    Definition Classes
    NerDisambiguatorModelMappings
  17. final def clear(param: Param[_]): NerDisambiguatorModel.this.type
    Definition Classes
    Params
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. def copy(extra: ParamMap): NerDisambiguatorModel
    Definition Classes
    RawAnnotator → Model → Transformer → PipelineStage → Params
  20. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  21. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  22. def dfAnnotate: UserDefinedFunction
    Definition Classes
    HasSimpleAnnotate
  23. def embeddingType: String
  24. val embeddingTypeParam: Param[String]
    Definition Classes
    DisambiguatorModelParams
  25. def enableApproximateMatching: Boolean
    Definition Classes
    NerDisambiguatorModelPredictionLogic
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  29. def explainParams(): String
    Definition Classes
    Params
  30. def extraValidate(structType: StructType): Boolean
    Attributes
    protected
    Definition Classes
    RawAnnotator
  31. def extraValidateMsg: String
    Attributes
    protected
    Definition Classes
    RawAnnotator
  32. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  33. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  34. val features: ArrayBuffer[Feature[_, _, _]]
    Definition Classes
    HasFeatures
  35. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. def get[T](feature: StructFeature[T]): Option[T]
    Attributes
    protected
    Definition Classes
    HasFeatures
  37. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  38. def get[T](feature: SetFeature[T]): Option[Set[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  39. def get[T](feature: ArrayFeature[T]): Option[Array[T]]
    Attributes
    protected
    Definition Classes
    HasFeatures
  40. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  43. def getEmbeddingType: String
    Definition Classes
    DisambiguatorModelParams
  44. def getInputCols: Array[String]
    Definition Classes
    HasInputAnnotationCols
  45. def getLazyAnnotator: Boolean
    Definition Classes
    CanBeLazy
  46. def getLevenshteinDistanceThresholdParam: Double
    Definition Classes
    DisambiguatorModelParams
  47. def getNarrowWithApproximateMatching: Boolean
    Definition Classes
    DisambiguatorModelParams
  48. def getNearMatchingGapParam: Int
    Definition Classes
    DisambiguatorModelParams
  49. def getNumFirstChars: Int
    Definition Classes
    DisambiguatorModelParams
  50. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  51. final def getOutputCol: String
    Definition Classes
    HasOutputAnnotationCol
  52. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  53. def getPredictionLimit: Int
    Definition Classes
    DisambiguatorModelParams
  54. def getSentenceEmbedding(annotations: Seq[Annotation]): SentenceEmbeddingWithType
  55. def getTokenSearch: Boolean
    Definition Classes
    DisambiguatorModelParams
  56. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  57. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  58. def hasParent: Boolean
    Definition Classes
    Model
  59. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  60. lazy val id2categoryF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    NerDisambiguatorModelMappings
  61. lazy val id2embF: (Int) ⇒ OptionAsSeq[Array[Double]]
    Definition Classes
    NerDisambiguatorModelMappings
  62. lazy val id2linkF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    NerDisambiguatorModelMappings
  63. lazy val id2titleF: (Int) ⇒ OptionAsSeq[String]
    Definition Classes
    NerDisambiguatorModelMappings
  64. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  65. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. val inputAnnotatorTypes: Array[String]
    Definition Classes
    NerDisambiguatorModel → HasInputAnnotationCols
  67. final val inputCols: StringArrayParam
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  68. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  71. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  72. lazy val knowledge: Knowledge
  73. val knowledgeBaseStructure: StructFeature[Knowledge]
    Definition Classes
    DisambiguatorModelParams
  74. val lazyAnnotator: BooleanParam
    Definition Classes
    CanBeLazy
  75. def levenshteinDistanceThreshold: Double
    Definition Classes
    NerDisambiguatorModelPredictionLogic
  76. val levenshteinDistanceThresholdParam: DoubleParam
    Definition Classes
    DisambiguatorModelParams
  77. def limit: Int
    Definition Classes
    NerDisambiguatorModelPredictionLogic
  78. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  79. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  81. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  82. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  84. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  85. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  86. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  87. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  88. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  89. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  90. def msgHelper(schema: StructType): String
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  91. val narrowWithApproximateMatching: BooleanParam
    Definition Classes
    DisambiguatorModelParams
  92. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. def nearMatchingGap: Int
    Definition Classes
    NerDisambiguatorModelPredictionLogic
  94. val nearMatchingGapParam: IntParam
    Definition Classes
    DisambiguatorModelParams
  95. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  97. val numFirstChars: IntParam
    Definition Classes
    DisambiguatorModelParams
  98. def onWrite(path: String, spark: SparkSession): Unit
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesWritable
  99. val outputAnnotatorType: AnnotatorType
    Definition Classes
    NerDisambiguatorModelAnnotationLogic → HasOutputAnnotatorType
  100. final val outputCol: Param[String]
    Attributes
    protected
    Definition Classes
    HasOutputAnnotationCol
  101. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  102. var parent: Estimator[NerDisambiguatorModel]
    Definition Classes
    Model
  103. def poolEmbeddings(embeddings: Array[Array[Float]]): Array[Double]
    Definition Classes
    PoolingLogicBasePoolingLogic
  104. def predictByChunk(annotations: Seq[Annotation], numFirstChars: Int): Seq[Prediction]
    Definition Classes
    PredictionLogic
  105. val predictionsLimit: IntParam
    Definition Classes
    DisambiguatorModelParams
  106. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  107. def searchByToken: Boolean
    Definition Classes
    NerDisambiguatorModelPredictionLogic
  108. def set[T](feature: StructFeature[T], value: T): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  109. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  110. def set[T](feature: SetFeature[T], value: Set[T]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  111. def set[T](feature: ArrayFeature[T], value: Array[T]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  112. final def set(paramPair: ParamPair[_]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  113. final def set(param: String, value: Any): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  114. final def set[T](param: Param[T], value: T): NerDisambiguatorModel.this.type
    Definition Classes
    Params
  115. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  116. def setDefault[K, V](feature: MapFeature[K, V], value: () ⇒ Map[K, V]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  117. def setDefault[T](feature: SetFeature[T], value: () ⇒ Set[T]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  118. def setDefault[T](feature: ArrayFeature[T], value: () ⇒ Array[T]): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    HasFeatures
  119. final def setDefault(paramPairs: ParamPair[_]*): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  120. final def setDefault[T](param: Param[T], value: T): NerDisambiguatorModel.this.type
    Attributes
    protected
    Definition Classes
    Params
  121. def setEmbeddingType(v: String): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  122. final def setInputCols(value: String*): NerDisambiguatorModel.this.type
    Definition Classes
    HasInputAnnotationCols
  123. final def setInputCols(value: Array[String]): NerDisambiguatorModel.this.type
    Definition Classes
    HasInputAnnotationCols
  124. def setKnowledgeBaseStructure(kb: Knowledge): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  125. def setLazyAnnotator(value: Boolean): NerDisambiguatorModel.this.type
    Definition Classes
    CanBeLazy
  126. def setLevenshteinDistanceThresholdParam(v: Double): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  127. def setNarrowWithApproximateMatching(v: Boolean): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  128. def setNearMatchingGapParam(v: Int): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  129. def setNumFirstChars(v: Int): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  130. final def setOutputCol(value: String): NerDisambiguatorModel.this.type
    Definition Classes
    HasOutputAnnotationCol
  131. def setParent(parent: Estimator[NerDisambiguatorModel]): NerDisambiguatorModel
    Definition Classes
    Model
  132. def setPredictionLimit(v: Int): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  133. def setTokenSearch(v: Boolean): NerDisambiguatorModel.this.type
    Definition Classes
    DisambiguatorModelParams
  134. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  135. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  136. val tokenSearch: BooleanParam
    Definition Classes
    DisambiguatorModelParams
  137. final def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    AnnotatorModel → Transformer
  138. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  139. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  140. final def transformSchema(schema: StructType): StructType
    Definition Classes
    RawAnnotator → PipelineStage
  141. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  142. val uid: String
    Definition Classes
    NerDisambiguatorModel → Identifiable
  143. def validate(schema: StructType): Boolean
    Attributes
    protected
    Definition Classes
    RawAnnotator
  144. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  145. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  146. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  147. def wrapColumnMetadata(col: Column): Column
    Attributes
    protected
    Definition Classes
    RawAnnotator
  148. def write: MLWriter
    Definition Classes
    ParamsAndFeaturesWritable → DefaultParamsWritable → MLWritable

Inherited from HasSimpleAnnotate[NerDisambiguatorModel]

Inherited from DisambiguatorModelParams

Inherited from PoolingLogicBase

Inherited from PoolingLogic

Inherited from AnnotationLogic

Inherited from PredictionLogic

Inherited from EmbeddingsExtractor

Inherited from Mappings

Inherited from AnnotatorModel[NerDisambiguatorModel]

Inherited from CanBeLazy

Inherited from RawAnnotator[NerDisambiguatorModel]

Inherited from HasOutputAnnotationCol

Inherited from HasInputAnnotationCols

Inherited from HasOutputAnnotatorType

Inherited from ParamsAndFeaturesWritable

Inherited from HasFeatures

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Model[NerDisambiguatorModel]

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped