Class/Object

com.johnsnowlabs.nlp.annotators.resolution

SubwordEntityResolverModel

Related Docs: object SubwordEntityResolverModel | package resolution

Permalink

class SubwordEntityResolverModel extends AnnotatorModel[SubwordEntityResolverModel] with ResolverParams 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, ResolverParams, AnnotatorModel[SubwordEntityResolverModel], CanBeLazy, RawAnnotator[SubwordEntityResolverModel], HasOutputAnnotationCol, HasInputAnnotationCols, HasOutputAnnotatorType, ParamsAndFeaturesWritable, HasFeatures, DefaultParamsWritable, MLWritable, Model[SubwordEntityResolverModel], Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubwordEntityResolverModel
  2. Licensed
  3. HasEmbeddingsProperties
  4. HasStorageModel
  5. HasExcludableStorage
  6. HasStorageReader
  7. HasCaseSensitiveProperties
  8. HasStorageRef
  9. ResolverParams
  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 SubwordEntityResolverModel()

    Permalink
  2. new SubwordEntityResolverModel(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. val allDistancesMetadata: BooleanParam

    Permalink

    whether or not to return an all distance values in the metadata.

    whether or not to return an all distance values in the metadata. Default: False

    Definition Classes
    ResolverParams
  12. val alternatives: IntParam

    Permalink

    number of results to return in the metadata after sorting by last distance calculated

    number of results to return in the metadata after sorting by last distance calculated

    Definition Classes
    ResolverParams
  13. 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
    SubwordEntityResolverModel → AnnotatorModel
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  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
    SubwordEntityResolverModel → 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[_]): SubwordEntityResolverModel.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

    what function to use to calculate confidence: INVERSE or SOFTMAX

    what function to use to calculate confidence: INVERSE or SOFTMAX

    Definition Classes
    ResolverParams
  21. def copy(extra: ParamMap): SubwordEntityResolverModel

    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
    SubwordEntityResolverModel → 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
    SubwordEntityResolverModel → 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
    ResolverParams
  31. val distanceWeights: DoubleArrayParam

    Permalink

    distance weights to apply before pooling: [WMD, TFIDF, Jaccard, SorensenDice, JaroWinkler, Levenshtein]

    distance weights to apply before pooling: [WMD, TFIDF, Jaccard, SorensenDice, JaroWinkler, Levenshtein]

    Definition Classes
    ResolverParams
  32. val enableJaccard: BooleanParam

    Permalink

    whether or not to use Jaccard token distance.

    whether or not to use Jaccard token distance. Default: True

    Definition Classes
    ResolverParams
  33. val enableJaroWinkler: BooleanParam

    Permalink

    whether or not to use Jaro-Winkler character distance.

    whether or not to use Jaro-Winkler character distance. Default: False

    Definition Classes
    ResolverParams
  34. val enableLevenshtein: BooleanParam

    Permalink

    whether or not to use Levenshtein character distance.

    whether or not to use Levenshtein character distance. Default: False

    Definition Classes
    ResolverParams
  35. val enableSorensenDice: BooleanParam

    Permalink

    whether or not to use Sorensen-Dice token distance.

    whether or not to use Sorensen-Dice token distance. Default: False

    Definition Classes
    ResolverParams
  36. val enableTfidf: BooleanParam

    Permalink

    whether or not to use TFIDF token distance.

    whether or not to use TFIDF token distance. Default: True

    Definition Classes
    ResolverParams
  37. val enableWmd: BooleanParam

    Permalink

    whether or not to use WMD token distance.

    whether or not to use WMD token distance. Default: True

    Definition Classes
    ResolverParams
  38. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  46. val extramassPenalty: DoubleParam

    Permalink

    penalty for extra words in the knowledge base match during WMD calculation

    penalty for extra words in the knowledge base match during WMD calculation

    Definition Classes
    ResolverParams
  47. val features: ArrayBuffer[Feature[_, _, _]]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  54. def getAllDistancesMetadata: Boolean

    Permalink
    Definition Classes
    ResolverParams
  55. def getAlternatives: Int

    Permalink
    Definition Classes
    ResolverParams
  56. def getCaseSensitive: Boolean

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

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

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

    Permalink
    Definition Classes
    Params
  60. def getDimension: Int

    Permalink
    Definition Classes
    HasEmbeddingsProperties
  61. def getDistanceFunction: String

    Permalink
    Definition Classes
    ResolverParams
  62. def getDistanceWeights: Array[Double]

    Permalink
    Definition Classes
    ResolverParams
  63. def getEnableJaccard: Boolean

    Permalink
    Definition Classes
    ResolverParams
  64. def getEnableJaroWinkler: Boolean

    Permalink
    Definition Classes
    ResolverParams
  65. def getEnableLevenshtein: Boolean

    Permalink
    Definition Classes
    ResolverParams
  66. def getEnableSorensenDice: Boolean

    Permalink
    Definition Classes
    ResolverParams
  67. def getEnableTfidf: Boolean

    Permalink
    Definition Classes
    ResolverParams
  68. def getEnableWmd: Boolean

    Permalink
    Definition Classes
    ResolverParams
  69. def getExtramassPenalty: Double

    Permalink
    Definition Classes
    ResolverParams
  70. def getIncludeStorage: Boolean

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

    Permalink
    Definition Classes
    HasInputAnnotationCols
  72. def getLazyAnnotator: Boolean

    Permalink
    Definition Classes
    CanBeLazy
  73. def getMissAsEmpty: Boolean

    Permalink
    Definition Classes
    ResolverParams
  74. def getNeighbours: Int

    Permalink
    Definition Classes
    ResolverParams
  75. def getNgramIDF: Map[String, (Int, Double)]

    Permalink
  76. def getNgramRange: Array[Int]

    Permalink
    Definition Classes
    ResolverParams
  77. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  78. final def getOutputCol: String

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

    Permalink
    Definition Classes
    Params
  80. def getPoolingStrategy: String

    Permalink
    Definition Classes
    ResolverParams
  81. def getReader[A](database: Name): StorageReader[A]

    Permalink
    Attributes
    protected
    Definition Classes
    HasStorageReader
  82. def getSearchTree: SerializableKDTree[TreeData]

    Permalink
  83. def getStorageRef: String

    Permalink
    Definition Classes
    HasStorageRef
  84. def getTermIDF: Map[String, (Int, Double)]

    Permalink
  85. def getThreshold: Double

    Permalink
    Definition Classes
    ResolverParams
  86. def getWithNgram: Boolean

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

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

    Permalink
    Definition Classes
    Params
  89. def hasParent: Boolean

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  94. 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
    SubwordEntityResolverModel → HasInputAnnotationCols
  95. final val inputCols: StringArrayParam

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

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

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

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

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

    Permalink
    Definition Classes
    CanBeLazy
  101. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  113. 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
    ResolverParams
  114. def msgHelper(schema: StructType): String

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

    Permalink
    Definition Classes
    AnyRef
  116. 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
    ResolverParams
  117. val ngramIDF: StructFeature[Map[String, (Int, Double)]]

    Permalink

    Inverted Document Frequency of the ngrams.

  118. val ngramRange: IntArrayParam

    Permalink

    ngram range for subword vectorization in candidate selection

    ngram range for subword vectorization in candidate selection

    Definition Classes
    ResolverParams
  119. final def notify(): Unit

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

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

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

    Permalink
    Definition Classes
    SubwordEntityResolverModel → HasOutputAnnotatorType
  123. final val outputCol: Param[String]

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

    Permalink
    Definition Classes
    Params
  125. var parent: Estimator[SubwordEntityResolverModel]

    Permalink
    Definition Classes
    Model
  126. val poolingStrategy: Param[String]

    Permalink

    pooling strategy to aggregate distances: AVERAGE or SUM

    pooling strategy to aggregate distances: AVERAGE or SUM

    Definition Classes
    ResolverParams
  127. var readers: Map[Name, StorageReader[_]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasStorageReader
  128. def save(path: String): Unit

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

    Permalink
    Definition Classes
    HasStorageModel
  130. val searchTree: StructFeature[SerializableKDTree[TreeData]]

    Permalink

    Search Tree.

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  139. def setAllDistancesMetadata(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  140. def setAlternatives(a: Int): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  141. def setCaseSensitive(value: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasCaseSensitiveProperties
  142. def setConfidenceFunction(v: String): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  143. def setDefault[T](feature: StructFeature[T], value: () ⇒ T): SubwordEntityResolverModel.this.type

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

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

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

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

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

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

    Permalink
    Definition Classes
    HasEmbeddingsProperties
  150. def setDistanceFunction(value: String): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  151. def setDistanceWeights(v: Array[Double]): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  152. def setEnableJaccard(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  153. def setEnableJaroWinkler(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  154. def setEnableLevenshtein(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  155. def setEnableSorensenDice(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  156. def setEnableTfidf(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  157. def setEnableWmd(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  158. def setExtramassPenalty(emp: Double): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  159. def setIncludeStorage(value: Boolean): SubwordEntityResolverModel.this.type

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

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

    Permalink
    Definition Classes
    HasInputAnnotationCols
  162. def setLazyAnnotator(value: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    CanBeLazy
  163. def setMissAsEmpty(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  164. def setNeighbours(k: Int): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  165. def setNgramIDF(freqs: Map[String, (Int, Double)]): SubwordEntityResolverModel.this.type

    Permalink
  166. def setNgramRange(v: Array[Int]): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  167. final def setOutputCol(value: String): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  168. def setParent(parent: Estimator[SubwordEntityResolverModel]): SubwordEntityResolverModel

    Permalink
    Definition Classes
    Model
  169. def setPoolingStrategy(value: String): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  170. def setSearchTree(tree: SerializableKDTree[TreeData]): SubwordEntityResolverModel.this.type

    Permalink
  171. def setStorageRef(value: String): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    HasStorageRef
  172. def setTermIDF(freqs: Map[String, (Int, Double)]): SubwordEntityResolverModel.this.type

    Permalink
  173. def setThreshold(dist: Double): SubwordEntityResolverModel.this.type

    Permalink
    Definition Classes
    ResolverParams
  174. def setWithNgram(v: Boolean): SubwordEntityResolverModel.this.type

    Permalink
  175. val storageRef: Param[String]

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

    Permalink
    Definition Classes
    AnyRef
  177. val termIDF: StructFeature[Map[String, (Int, Double)]]

    Permalink

    Inverted Document Frequency of the term.

    Inverted Document Frequency of the term. Used in the TF-IDF method

  178. val threshold: DoubleParam

    Permalink

    threshold value for the aggregated distance

    threshold value for the aggregated distance

    Definition Classes
    ResolverParams
  179. def toString(): String

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

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

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

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

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

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

    Permalink
    Definition Classes
    SubwordEntityResolverModel → Identifiable
  186. def validate(schema: StructType): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  191. val withNgram: BooleanParam

    Permalink
  192. def wrapColumnMetadata(col: Column): Column

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    HasEmbeddingsProperties
  195. 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 ResolverParams

Inherited from AnnotatorModel[SubwordEntityResolverModel]

Inherited from CanBeLazy

Inherited from RawAnnotator[SubwordEntityResolverModel]

Inherited from HasOutputAnnotationCol

Inherited from HasInputAnnotationCols

Inherited from HasOutputAnnotatorType

Inherited from ParamsAndFeaturesWritable

Inherited from HasFeatures

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Model[SubwordEntityResolverModel]

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