Class/Object

com.johnsnowlabs.nlp.annotators.resolution

SentenceEntityResolverModel

Related Docs: object SentenceEntityResolverModel | package resolution

Permalink

class SentenceEntityResolverModel extends AnnotatorModel[SentenceEntityResolverModel] with SentenceResolverParams with HasStorageModel with HasEmbeddingsProperties with HasCaseSensitiveProperties with Licensed

Contains all the parameters to transform a dataset with two Input Annotations of types TOKEN and WORD_EMBEDDINGS, coming from ChunkTokenizer and ChunkEmbeddings Annotators and return the Normalized Entity for a particular trained ontology / curated dataset.

Linear Supertypes
Licensed, HasEmbeddingsProperties, HasStorageModel, HasExcludableStorage, HasStorageReader, HasCaseSensitiveProperties, HasStorageRef, SentenceResolverParams, AnnotatorModel[SentenceEntityResolverModel], CanBeLazy, RawAnnotator[SentenceEntityResolverModel], HasOutputAnnotationCol, HasInputAnnotationCols, HasOutputAnnotatorType, ParamsAndFeaturesWritable, HasFeatures, DefaultParamsWritable, MLWritable, Model[SentenceEntityResolverModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SentenceEntityResolverModel
  2. Licensed
  3. HasEmbeddingsProperties
  4. HasStorageModel
  5. HasExcludableStorage
  6. HasStorageReader
  7. HasCaseSensitiveProperties
  8. HasStorageRef
  9. SentenceResolverParams
  10. AnnotatorModel
  11. CanBeLazy
  12. RawAnnotator
  13. HasOutputAnnotationCol
  14. HasInputAnnotationCols
  15. HasOutputAnnotatorType
  16. ParamsAndFeaturesWritable
  17. HasFeatures
  18. DefaultParamsWritable
  19. MLWritable
  20. Model
  21. Transformer
  22. PipelineStage
  23. Logging
  24. Params
  25. Serializable
  26. Serializable
  27. Identifiable
  28. AnyRef
  29. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SentenceEntityResolverModel()

    Permalink
  2. new SentenceEntityResolverModel(uid: String)

    Permalink

Type Members

  1. type AnnotationContent = Seq[Row]

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  2. type AnnotatorType = String

    Permalink
    Definition Classes
    HasOutputAnnotatorType

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 $[T](param: Param[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  4. def $$[T](feature: StructFeature[T]): T

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  5. def $$[K, V](feature: MapFeature[K, V]): Map[K, V]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  6. def $$[T](feature: SetFeature[T]): Set[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  7. def $$[T](feature: ArrayFeature[T]): Array[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def _transform(dataset: Dataset[_], recursivePipeline: Option[PipelineModel]): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  10. def afterAnnotate(dataset: DataFrame): DataFrame

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  11. def annotate(annotations: Seq[Annotation]): Seq[Annotation]

    Permalink

    Resolves the ResolverLabel for the given array of TOKEN and WORD_EMBEDDINGS annotations

    Resolves the ResolverLabel for the given array of TOKEN and WORD_EMBEDDINGS annotations

    annotations

    an array of TOKEN and WORD_EMBEDDINGS Annotation objects coming from ChunkTokenizer and ChunkEmbeddings respectively

    returns

    an array of Annotation objects, with the result of the entity resolution for each chunk and the following metadata all_k_results -> Sorted ResolverLabels in the top alternatives that match the distance threshold all_k_resolutions -> Respective ResolverNormalized strings all_k_distances -> Respective distance values after aggregation all_k_wmd_distances -> Respective WMD distance values all_k_tfidf_distances -> Respective TFIDF Cosinge distance values all_k_jaccard_distances -> Respective Jaccard distance values all_k_sorensen_distances -> Respective SorensenDice distance values all_k_jaro_distances -> Respective JaroWinkler distance values all_k_levenshtein_distances -> Respective Levenshtein distance values all_k_confidences -> Respective normalized probabilities based in inverse distance values target_text -> The actual searched string resolved_text -> The top ResolverNormalized string confidence -> Top probability distance -> Top distance value sentence -> Sentence index chunk -> Chunk Index token -> Token index

    Definition Classes
    SentenceEntityResolverModel → AnnotatorModel
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val auxLabelCol: Param[String]

    Permalink
  14. val auxLabelMap: StructFeature[Map[String, String]]

    Permalink
  15. def beforeAnnotate(dataset: Dataset[_]): Dataset[_]

    Permalink

    validates the dataset before applying it further down the pipeline

    validates the dataset before applying it further down the pipeline

    Attributes
    protected
    Definition Classes
    SentenceEntityResolverModel → AnnotatorModel
  16. val caseSensitive: BooleanParam

    Permalink
    Definition Classes
    HasCaseSensitiveProperties
  17. final def checkSchema(schema: StructType, inputAnnotatorType: String): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  18. final def clear(param: Param[_]): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    Params
  19. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. val confidenceFunction: Param[String]

    Permalink
    Definition Classes
    SentenceResolverParams
  21. def copy(extra: ParamMap): SentenceEntityResolverModel

    Permalink
    Definition Classes
    RawAnnotator → Model → Transformer → PipelineStage → Params
  22. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  23. def createDatabaseConnection(database: Name): RocksDBConnection

    Permalink
    Definition Classes
    HasStorageRef
  24. def createReader(database: Name, connection: RocksDBConnection): WordEmbeddingsReader

    Permalink

    creates WordEmbeddingsReader, based on the DB name and connection

    creates WordEmbeddingsReader, based on the DB name and connection

    database

    Name of the desired database

    connection

    Connection to the RocksDB

    returns

    The instance of the class WordEmbeddingsReader

    Attributes
    protected
    Definition Classes
    SentenceEntityResolverModel → HasStorageReader
  25. val databases: Array[Name]

    Permalink

    This cannot hold EMBEDDINGS since otherwise ER will try to re-save and read embeddings again

    This cannot hold EMBEDDINGS since otherwise ER will try to re-save and read embeddings again

    Attributes
    protected
    Definition Classes
    SentenceEntityResolverModel → HasStorageModel
  26. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  27. def deserializeStorage(path: String, spark: SparkSession): Unit

    Permalink
    Definition Classes
    HasStorageModel
  28. def dfAnnotate: UserDefinedFunction

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorModel
  29. val dimension: IntParam

    Permalink
    Definition Classes
    HasEmbeddingsProperties
  30. val distanceFunction: Param[String]

    Permalink

    what distance function to use for KNN: 'EUCLIDEAN' or 'COSINE'

    what distance function to use for KNN: 'EUCLIDEAN' or 'COSINE'

    Definition Classes
    SentenceResolverParams
  31. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def explainParam(param: Param[_]): String

    Permalink
    Definition Classes
    Params
  34. def explainParams(): String

    Permalink
    Definition Classes
    Params
  35. def extraValidate(structType: StructType): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RawAnnotator
  36. def extraValidateMsg: String

    Permalink
    Attributes
    protected
    Definition Classes
    RawAnnotator
  37. final def extractParamMap(): ParamMap

    Permalink
    Definition Classes
    Params
  38. final def extractParamMap(extra: ParamMap): ParamMap

    Permalink
    Definition Classes
    Params
  39. val features: ArrayBuffer[Feature[_, _, _]]

    Permalink
    Definition Classes
    HasFeatures
  40. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  41. def get[T](feature: StructFeature[T]): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  42. def get[K, V](feature: MapFeature[K, V]): Option[Map[K, V]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  43. def get[T](feature: SetFeature[T]): Option[Set[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  44. def get[T](feature: ArrayFeature[T]): Option[Array[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  45. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  46. def getAuxLabelCol(): String

    Permalink
  47. def getAuxLabelMap(): Map[String, String]

    Permalink
  48. def getCaseSensitive: Boolean

    Permalink
    Definition Classes
    HasCaseSensitiveProperties
  49. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  50. def getConfidenceFunction: String

    Permalink
    Definition Classes
    SentenceResolverParams
  51. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  52. def getDimension: Int

    Permalink
    Definition Classes
    HasEmbeddingsProperties
  53. def getDistanceFunction: String

    Permalink
    Definition Classes
    SentenceResolverParams
  54. def getIncludeStorage: Boolean

    Permalink
    Definition Classes
    HasExcludableStorage
  55. def getInputCols: Array[String]

    Permalink
    Definition Classes
    HasInputAnnotationCols
  56. def getLazyAnnotator: Boolean

    Permalink
    Definition Classes
    CanBeLazy
  57. def getMissAsEmpty: Boolean

    Permalink
    Definition Classes
    SentenceResolverParams
  58. def getNeighbours: Int

    Permalink
    Definition Classes
    SentenceResolverParams
  59. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  60. final def getOutputCol: String

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  61. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  62. def getReader[A](database: Name): StorageReader[A]

    Permalink
    Attributes
    protected
    Definition Classes
    HasStorageReader
  63. def getReturnAllKEmbeddings(): Boolean

    Permalink
  64. def getReturnCosineDistances: Boolean

    Permalink

    Get whether cosine distances should be calculated between a chunk and the k_candidates result embeddings

  65. def getReturnEuclideanDistances: Boolean

    Permalink

    Get whether euclidean distances should be returned or not

  66. def getSearchTree: SerializableKDTree[TreeData]

    Permalink
  67. def getStorageRef: String

    Permalink
    Definition Classes
    HasStorageRef
  68. def getThreshold: Double

    Permalink
    Definition Classes
    SentenceResolverParams
  69. def getUseAuxLabel(): Boolean

    Permalink
  70. final def hasDefault[T](param: Param[T]): Boolean

    Permalink
    Definition Classes
    Params
  71. def hasParam(paramName: String): Boolean

    Permalink
    Definition Classes
    Params
  72. def hasParent: Boolean

    Permalink
    Definition Classes
    Model
  73. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  74. val includeStorage: BooleanParam

    Permalink
    Definition Classes
    HasExcludableStorage
  75. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  76. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  77. val inputAnnotatorTypes: Array[String]

    Permalink

    Annotator reference id.

    Annotator reference id. Used to identify elements in metadata or to refer to this annotator type

    Definition Classes
    SentenceEntityResolverModel → HasInputAnnotationCols
  78. final val inputCols: StringArrayParam

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  79. final def isDefined(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  80. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  81. final def isSet(param: Param[_]): Boolean

    Permalink
    Definition Classes
    Params
  82. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  83. val lazyAnnotator: BooleanParam

    Permalink
    Definition Classes
    CanBeLazy
  84. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  85. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  86. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  87. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  88. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  89. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  90. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  91. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  92. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  93. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  94. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  95. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  96. val missAsEmpty: BooleanParam

    Permalink

    whether or not to return an empty annotation on unmatched chunks

    whether or not to return an empty annotation on unmatched chunks

    Definition Classes
    SentenceResolverParams
  97. def msgHelper(schema: StructType): String

    Permalink
    Attributes
    protected
    Definition Classes
    HasInputAnnotationCols
  98. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  99. val neighbours: IntParam

    Permalink

    number of neighbours to consider in the KNN query to calculate WMD

    number of neighbours to consider in the KNN query to calculate WMD

    Definition Classes
    SentenceResolverParams
  100. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  102. def onWrite(path: String, spark: SparkSession): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    HasStorageModel → ParamsAndFeaturesWritable
  103. val outputAnnotatorType: AnnotatorType

    Permalink
    Definition Classes
    SentenceEntityResolverModel → HasOutputAnnotatorType
  104. final val outputCol: Param[String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasOutputAnnotationCol
  105. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  106. var parent: Estimator[SentenceEntityResolverModel]

    Permalink
    Definition Classes
    Model
  107. var readers: Map[Name, StorageReader[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasStorageReader
  108. val returnAllKEmbeddings: BooleanParam

    Permalink
  109. val returnCosineDistances: BooleanParam

    Permalink
  110. val returnEuclideanDistances: BooleanParam

    Permalink
  111. def save(path: String): Unit

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  112. def saveStorage(path: String, spark: SparkSession, withinStorage: Boolean): Unit

    Permalink
    Definition Classes
    HasStorageModel
  113. val searchTree: StructFeature_HadoopFix[SerializableKDTree[TreeData]]

    Permalink

    Search Tree.

    Search Tree. Under the hood encapsulates SerializableKDTree. Used to perform the search

  114. def serializeStorage(path: String, spark: SparkSession): Unit

    Permalink
    Definition Classes
    HasStorageModel
  115. def set[T](feature: StructFeature[T], value: T): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  116. def set[K, V](feature: MapFeature[K, V], value: Map[K, V]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  117. def set[T](feature: SetFeature[T], value: Set[T]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  118. def set[T](feature: ArrayFeature[T], value: Array[T]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  119. final def set(paramPair: ParamPair[_]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  120. final def set(param: String, value: Any): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  121. final def set[T](param: Param[T], value: T): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    Params
  122. def setAuxLabelCol(c: String): SentenceEntityResolverModel.this.type

    Permalink
  123. def setAuxLabelMap(m: Map[String, String]): SentenceEntityResolverModel.this.type

    Permalink

    Optional column with one extra label per document.

    Optional column with one extra label per document. This extra label will be outputted later on in an additional column

  124. def setCaseSensitive(value: Boolean): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasCaseSensitiveProperties
  125. def setConfidenceFunction(v: String): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    SentenceResolverParams
  126. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  127. def setDefault[K, V](feature: MapFeature[K, V], value: () ⇒ Map[K, V]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  128. def setDefault[T](feature: SetFeature[T], value: () ⇒ Set[T]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  129. def setDefault[T](feature: ArrayFeature[T], value: () ⇒ Array[T]): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    HasFeatures
  130. final def setDefault(paramPairs: ParamPair[_]*): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  131. final def setDefault[T](param: Param[T], value: T): SentenceEntityResolverModel.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  132. def setDimension(value: Int): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasEmbeddingsProperties
  133. def setDistanceFunction(value: String): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    SentenceResolverParams
  134. def setIncludeStorage(value: Boolean): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasExcludableStorage
  135. final def setInputCols(value: String*): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasInputAnnotationCols
  136. final def setInputCols(value: Array[String]): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasInputAnnotationCols
  137. def setLazyAnnotator(value: Boolean): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    CanBeLazy
  138. def setMissAsEmpty(v: Boolean): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    SentenceResolverParams
  139. def setNeighbours(k: Int): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    SentenceResolverParams
  140. final def setOutputCol(value: String): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  141. def setParent(parent: Estimator[SentenceEntityResolverModel]): SentenceEntityResolverModel

    Permalink
    Definition Classes
    Model
  142. def setReturnAllKEmbeddings(b: Boolean): SentenceEntityResolverModel.this.type

    Permalink
  143. def setReturnCosineDistances(value: Boolean): SentenceEntityResolverModel.this.type

    Permalink

    Set whether cosine distances should be calculated between a chunk and the k_candidates result embeddings

  144. def setReturnEuclideanDistances(value: Boolean): SentenceEntityResolverModel.this.type

    Permalink

    Set whether euclidean distances should be returned or not

  145. def setSearchTree(tree: SerializableKDTree[TreeData]): SentenceEntityResolverModel.this.type

    Permalink
  146. def setStorageRef(value: String): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasStorageRef
  147. def setThreshold(dist: Double): SentenceEntityResolverModel.this.type

    Permalink
    Definition Classes
    SentenceResolverParams
  148. def setUseAuxLabel(b: Boolean): SentenceEntityResolverModel.this.type

    Permalink
  149. val storageRef: Param[String]

    Permalink
    Definition Classes
    HasStorageRef
  150. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  151. val threshold: DoubleParam

    Permalink

    threshold value for the aggregated distance

    threshold value for the aggregated distance

    Definition Classes
    SentenceResolverParams
  152. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  153. final def transform(dataset: Dataset[_]): DataFrame

    Permalink
    Definition Classes
    AnnotatorModel → Transformer
  154. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  155. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Permalink
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  156. final def transformSchema(schema: StructType): StructType

    Permalink
    Definition Classes
    RawAnnotator → PipelineStage
  157. def transformSchema(schema: StructType, logging: Boolean): StructType

    Permalink
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  158. val uid: String

    Permalink
    Definition Classes
    SentenceEntityResolverModel → Identifiable
  159. val useAuxLabel: BooleanParam

    Permalink
  160. def validate(schema: StructType): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    RawAnnotator
  161. def validateStorageRef(dataset: Dataset[_], inputCols: Array[String], annotatorType: String): Unit

    Permalink
    Definition Classes
    HasStorageRef
  162. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  165. def wrapColumnMetadata(col: Column): Column

    Permalink
    Attributes
    protected
    Definition Classes
    RawAnnotator
  166. def wrapEmbeddingsMetadata(col: Column, embeddingsDim: Int, embeddingsRef: Option[String]): Column

    Permalink
    Attributes
    protected
    Definition Classes
    HasEmbeddingsProperties
  167. def wrapSentenceEmbeddingsMetadata(col: Column, embeddingsDim: Int, embeddingsRef: Option[String]): Column

    Permalink
    Attributes
    protected
    Definition Classes
    HasEmbeddingsProperties
  168. def write: MLWriter

    Permalink
    Definition Classes
    ParamsAndFeaturesWritable → DefaultParamsWritable → MLWritable

Inherited from Licensed

Inherited from HasEmbeddingsProperties

Inherited from HasStorageModel

Inherited from HasExcludableStorage

Inherited from HasStorageReader

Inherited from HasCaseSensitiveProperties

Inherited from HasStorageRef

Inherited from SentenceResolverParams

Inherited from AnnotatorModel[SentenceEntityResolverModel]

Inherited from CanBeLazy

Inherited from RawAnnotator[SentenceEntityResolverModel]

Inherited from HasOutputAnnotationCol

Inherited from HasInputAnnotationCols

Inherited from HasOutputAnnotatorType

Inherited from ParamsAndFeaturesWritable

Inherited from HasFeatures

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Model[SentenceEntityResolverModel]

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