Class

com.johnsnowlabs.nlp.annotators.resolution

ChunkEntityResolverApproach

Related Doc: package resolution

Permalink

class ChunkEntityResolverApproach extends AnnotatorApproach[ChunkEntityResolverModel] with ResolverParams with HasCaseSensitiveProperties with Licensed

Linear Supertypes
Licensed, HasCaseSensitiveProperties, ParamsAndFeaturesWritable, HasFeatures, ResolverParams, AnnotatorApproach[ChunkEntityResolverModel], CanBeLazy, DefaultParamsWritable, MLWritable, HasOutputAnnotatorType, HasOutputAnnotationCol, HasInputAnnotationCols, Estimator[ChunkEntityResolverModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkEntityResolverApproach
  2. Licensed
  3. HasCaseSensitiveProperties
  4. ParamsAndFeaturesWritable
  5. HasFeatures
  6. ResolverParams
  7. AnnotatorApproach
  8. CanBeLazy
  9. DefaultParamsWritable
  10. MLWritable
  11. HasOutputAnnotatorType
  12. HasOutputAnnotationCol
  13. HasInputAnnotationCols
  14. Estimator
  15. PipelineStage
  16. Logging
  17. Params
  18. Serializable
  19. Serializable
  20. Identifiable
  21. AnyRef
  22. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ChunkEntityResolverApproach()

    Permalink
  2. new ChunkEntityResolverApproach(uid: String)

    Permalink

Type Members

  1. 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 _fit(dataset: Dataset[_], recursiveStages: Option[PipelineModel]): ChunkEntityResolverModel

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorApproach
  10. 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
  11. 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
  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 beforeTraining(spark: SparkSession): Unit

    Permalink
    Definition Classes
    AnnotatorApproach
  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[_]): ChunkEntityResolverApproach.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. final def copy(extra: ParamMap): Estimator[ChunkEntityResolverModel]

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  23. final def defaultCopy[T <: Params](extra: ParamMap): T

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  24. val description: String

    Permalink
    Definition Classes
    ChunkEntityResolverApproach → AnnotatorApproach
  25. 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
  26. 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
  27. lazy val embeddingsColumnName: String

    Permalink
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    Params
  38. def extractAuxLabelMap(dataset: Dataset[_]): Map[String, String]

    Permalink

    Extracts a Map[String,String] where key=label and value=auxLabel from a dataset.

    Extracts a Map[String,String] where key=label and value=auxLabel from a dataset. If either of one columns does not exist, it will return an empty map

    dataset

    from whichw e extract the column

    returns

    a Map[String,String]

  39. final def extractParamMap(): ParamMap

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

    Permalink
    Definition Classes
    Params
  41. 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
  42. val features: ArrayBuffer[Feature[_, _, _]]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. final def fit(dataset: Dataset[_]): ChunkEntityResolverModel

    Permalink
    Definition Classes
    AnnotatorApproach → Estimator
  45. def fit(dataset: Dataset[_], paramMaps: Array[ParamMap]): Seq[ChunkEntityResolverModel]

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  46. def fit(dataset: Dataset[_], paramMap: ParamMap): ChunkEntityResolverModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  47. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): ChunkEntityResolverModel

    Permalink
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  48. def get[T](feature: StructFeature[T]): Option[T]

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

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

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

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

    Permalink
    Definition Classes
    Params
  53. def getAllDistancesMetadata: Boolean

    Permalink
    Definition Classes
    ResolverParams
  54. def getAlternatives: Int

    Permalink
    Definition Classes
    ResolverParams
  55. def getAuxLabelCol(): String

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

    Permalink
  57. def getCaseSensitive: Boolean

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

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

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

    Permalink
    Definition Classes
    Params
  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 getInputCols: Array[String]

    Permalink
    Definition Classes
    HasInputAnnotationCols
  71. def getLabelCol: String

    Permalink
  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 getNormalizedCol: String

    Permalink
  76. final def getOrDefault[T](param: Param[T]): T

    Permalink
    Definition Classes
    Params
  77. final def getOutputCol: String

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

    Permalink
    Definition Classes
    Params
  79. def getPoolingStrategy: String

    Permalink
    Definition Classes
    ResolverParams
  80. def getReturnAllKEmbeddings(): Boolean

    Permalink
  81. def getReturnCosineDistances: Boolean

    Permalink

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

  82. def getThreshold: Double

    Permalink
    Definition Classes
    ResolverParams
  83. def getUseAuxLabel(): Boolean

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

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

    Permalink
    Definition Classes
    Params
  86. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  87. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean

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

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

    Permalink
    Definition Classes
    ChunkEntityResolverApproach → HasInputAnnotationCols
  90. final val inputCols: StringArrayParam

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  95. val labelCol: Param[String]

    Permalink

    column name for the value we are trying to resolve

  96. lazy val labelColumnName: String

    Permalink
  97. val lazyAnnotator: BooleanParam

    Permalink
    Definition Classes
    CanBeLazy
  98. def log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  113. 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
  114. val normalizedCol: Param[String]

    Permalink

    column name for the original, normalized description

  115. lazy val normalizedColumnName: String

    Permalink
  116. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  118. def onTrained(model: ChunkEntityResolverModel, spark: SparkSession): Unit

    Permalink
    Definition Classes
    AnnotatorApproach
  119. def onWrite(path: String, spark: SparkSession): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    ParamsAndFeaturesWritable
  120. val outputAnnotatorType: AnnotatorType

    Permalink
    Definition Classes
    ChunkEntityResolverApproach → HasOutputAnnotatorType
  121. final val outputCol: Param[String]

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

    Permalink
    Definition Classes
    Params
  123. val poolingStrategy: Param[String]

    Permalink

    pooling strategy to aggregate distances: AVERAGE or SUM

    pooling strategy to aggregate distances: AVERAGE or SUM

    Definition Classes
    ResolverParams
  124. val returnAllKEmbeddings: BooleanParam

    Permalink
  125. val returnCosineDistances: BooleanParam

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

    Permalink
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  127. def set[T](feature: StructFeature[T], value: T): ChunkEntityResolverApproach.this.type

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

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  134. def setAllDistancesMetadata(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  135. def setAlternatives(a: Int): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  136. def setAuxLabelCol(c: String): ChunkEntityResolverApproach.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

  137. def setAuxLabelMap(m: Map[String, String]): ChunkEntityResolverApproach.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

  138. def setCaseSensitive(value: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    HasCaseSensitiveProperties
  139. def setConfidenceFunction(v: String): ChunkEntityResolverApproach.this.type

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  146. def setDistanceFunction(value: String): ChunkEntityResolverApproach.this.type

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

    Permalink
    Definition Classes
    ResolverParams
  148. def setEnableJaccard(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  149. def setEnableJaroWinkler(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  150. def setEnableLevenshtein(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  151. def setEnableSorensenDice(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  152. def setEnableTfidf(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  153. def setEnableWmd(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  154. def setExtramassPenalty(emp: Double): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  155. final def setInputCols(value: String*): ChunkEntityResolverApproach.this.type

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

    Permalink
    Definition Classes
    HasInputAnnotationCols
  157. def setLabelCol(value: String): ChunkEntityResolverApproach.this.type

    Permalink
  158. def setLazyAnnotator(value: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    CanBeLazy
  159. def setMissAsEmpty(v: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  160. def setNeighbours(k: Int): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  161. def setNormalizedCol(value: String): ChunkEntityResolverApproach.this.type

    Permalink
  162. final def setOutputCol(value: String): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    HasOutputAnnotationCol
  163. def setPoolingStrategy(value: String): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  164. def setReturnAllKEmbeddings(b: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
  165. def setReturnCosineDistances(value: Boolean): ChunkEntityResolverApproach.this.type

    Permalink

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

  166. def setThreshold(dist: Double): ChunkEntityResolverApproach.this.type

    Permalink
    Definition Classes
    ResolverParams
  167. def setUseAuxLabel(b: Boolean): ChunkEntityResolverApproach.this.type

    Permalink
  168. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  169. val threshold: DoubleParam

    Permalink

    threshold value for the aggregated distance

    threshold value for the aggregated distance

    Definition Classes
    ResolverParams
  170. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  171. lazy val tokensColumnName: String

    Permalink
  172. def train(dataset: Dataset[_], recursivePipeline: Option[PipelineModel]): ChunkEntityResolverModel

    Permalink

    Returns the ChunkEntityResolverModel Transformer, that can be used to transform input datasets

    Returns the ChunkEntityResolverModel Transformer, that can be used to transform input datasets

    The dataset provided to the fit method should have one chunk per row and contain the following columns: ChunkTokens, ChunkEmbeddings, ResolverLabel, [ResolverNormalized]

    The cardinality of the dataset should not exceed 100.000 data points since searching in such a big KD-tree becomes impractical

    This method is called inside the AnnotatorApproach's fit method

    dataset

    a Dataset containing ChunkTokens, ChunkEmbeddings, ClassifierLabel, ResolverLabel, [ResolverNormalized]

    returns

    a trained ChunkEntityResolverModel

    Definition Classes
    ChunkEntityResolverApproach → AnnotatorApproach
  173. final def transformSchema(schema: StructType): StructType

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

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

    Permalink
    Definition Classes
    ChunkEntityResolverApproach → Identifiable
  176. val useAuxLabel: BooleanParam

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

    Permalink
    Attributes
    protected
    Definition Classes
    AnnotatorApproach
  178. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  181. def write: MLWriter

    Permalink
    Definition Classes
    ParamsAndFeaturesWritable → DefaultParamsWritable → MLWritable

Inherited from Licensed

Inherited from HasCaseSensitiveProperties

Inherited from ParamsAndFeaturesWritable

Inherited from HasFeatures

Inherited from ResolverParams

Inherited from AnnotatorApproach[ChunkEntityResolverModel]

Inherited from CanBeLazy

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from HasOutputAnnotatorType

Inherited from HasOutputAnnotationCol

Inherited from HasInputAnnotationCols

Inherited from Estimator[ChunkEntityResolverModel]

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