Packages

t

com.johnsnowlabs.nlp.annotators.chunker.params

ChunkMapperFuzzyMatchingParams

trait ChunkMapperFuzzyMatchingParams extends Params

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChunkMapperFuzzyMatchingParams
  2. Params
  3. Serializable
  4. Serializable
  5. Identifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable

Concrete 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. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def appendSpecialRelations(mapping: Mapping): Map[String, Array[String]]
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def clear(param: Param[_]): ChunkMapperFuzzyMatchingParams.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  10. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  11. val enableCharFingerprintMatching: BooleanParam

    Whether to apply char Ngram fingerprint matching

  12. val enableFuzzyMatching: BooleanParam

    Whether to apply fuzzy matching

  13. val enableTokenFingerprintMatching: BooleanParam

    Whether to apply partial token Ngram fingerprint matching

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  17. def explainParams(): String
    Definition Classes
    Params
  18. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  19. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def findSpecialRelations(relations: Map[String, Array[String]]): Map[String, Array[String]]
    Attributes
    protected
  22. val fuzzyDistanceScalingMode: Param[String]

    When enableFuzzyMatching is true, the scaling mode for Integer Edit Distances; possible values are: left, right, long, short, none

  23. val fuzzyMatchingDistanceThresholds: DoubleArrayParam

    When enableFuzzyMatching is true, this array contains the respective thresholds for each calculated distance

  24. val fuzzyMatchingDistances: StringArrayParam

    When enableFuzzyMatching is true, this array contains the distances to calculate; possible values are: levenshtein, longest-common-subsequence, cosine, jaccard

  25. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  26. def getAllPossibleFingerprintPredictionKeys(annotationResult: String): Stream[(Double, String)]
    Attributes
    protected
  27. def getCharNgramFingerprints(mappingKey: String): Seq[String]
    Attributes
    protected
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  30. def getEnableCharFingerprintMatching: Boolean
  31. def getEnableFuzzyMatching: Boolean
  32. def getEnableTokenFingerprintMatching: Boolean
  33. def getFingerprintFuzzyDistances(leftTerm: String, rightTerm: String): Array[(String, Double)]
    Attributes
    protected
  34. def getFuzzyDistanceDictionaries(): (Map[String, (Integer) ⇒ EditDistance[Integer]], Map[String, EditDistance[Integer]], Map[String, EditDistance[Double]])
    Attributes
    protected
  35. def getFuzzyDistanceScalingMode: String
  36. def getFuzzyDistanceValue(leftTerm: String, rightTerm: String, distRels: (String, Double), distDicts: (Map[String, (Integer) ⇒ EditDistance[Integer]], Map[String, EditDistance[Integer]], Map[String, EditDistance[Double]])): Option[Double]
    Attributes
    protected
  37. def getFuzzyMatches(dictionary: Map[String, Map[String, Array[String]]], annotationResult: String): Map[Double, Map[String, Array[String]]]
    Attributes
    protected
  38. def getFuzzyMatchingDistanceThresholds: Array[Double]
  39. def getFuzzyMatchingDistances: Array[String]
  40. def getLowerCase: Boolean
  41. def getMaxCharNgramFingerprint: Int
  42. def getMaxTokenNgramDroppingCharsRatio: Double
  43. def getMaxTokenNgramDroppingOperator: String
  44. def getMaxTokenNgramDroppingTokens: Int
  45. def getMaxTokenNgramFingerprint: Int
  46. def getMinCharNgramFingerprint: Int
  47. def getMinTokenNgramFingerprint: Int
  48. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  49. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  50. def getPossibleFingerprintPredictionKeys(annotationResult: String): Stream[(Double, String)]
    Attributes
    protected
  51. def getPossibleFingerprintTrainingKeys(keys: Mappings): Map[String, Map[String, Array[String]]]
    Attributes
    protected
  52. def getTokenNgramFingerprints(mappingKey: String): Seq[String]
    Attributes
    protected
  53. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  54. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  56. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. lazy val isLowerCase: Boolean
  59. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  60. val lowerCase: BooleanParam

  61. val maxCharNgramFingerprint: IntParam

    When enableCharFingerprintMatching is true, the max number of chars for Ngrams in Fingerprint

  62. val maxTokenNgramDroppingCharsRatio: DoubleParam

    When enableTokenFingerprintMatching is true, this value drives the maximum ratio of chars allowed to be dropped from the full chunk; whenever it is desired for all Ngrams to be used as keys, no matter how short the final chunk is, this param should be set to 1.0

  63. val maxTokenNgramDroppingOperator: Param[String]

    When enableTokenFingerprintMatching is true, this param drives the logic to compose both dropping parameters; it can be either "and" or "or"

  64. val maxTokenNgramDroppingTokens: IntParam

    When enableTokenFingerprintMatching is true, this value drives the maximum number of tokens allowed to be dropped from the full chunk; whenever it is desired for all Ngrams to be used as keys, no matter how short the final chunk is, this param should be set to a very high value: i.e Int.MaxValue

  65. val maxTokenNgramFingerprint: IntParam

    When enableTokenFingerprintMatching is true, the max number of tokens for partial Ngrams in Fingerprint

  66. val minCharNgramFingerprint: IntParam

    When enableCharFingerprintMatching is true, the min number of chars for Ngrams in Fingerprint

  67. val minTokenNgramFingerprint: IntParam

    When enableTokenFingerprintMatching is true, the min number of tokens for partial Ngrams in Fingerprint

  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  72. lazy val realizedFilledDistancesAndThresholds: Array[(String, Double)]
  73. final def set(paramPair: ParamPair[_]): ChunkMapperFuzzyMatchingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  74. final def set(param: String, value: Any): ChunkMapperFuzzyMatchingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  75. final def set[T](param: Param[T], value: T): ChunkMapperFuzzyMatchingParams.this.type
    Definition Classes
    Params
  76. final def setDefault(paramPairs: ParamPair[_]*): ChunkMapperFuzzyMatchingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  77. final def setDefault[T](param: Param[T], value: T): ChunkMapperFuzzyMatchingParams.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  78. def setEnableCharFingerprintMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  79. def setEnableFuzzyMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  80. def setEnableTokenFingerprintMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  81. def setFuzzyDistanceScalingMode(value: String): ChunkMapperFuzzyMatchingParams.this.type
  82. def setFuzzyMatchingDistanceThresholds(value: Double): ChunkMapperFuzzyMatchingParams.this.type
  83. def setFuzzyMatchingDistanceThresholds(value: Array[Double]): ChunkMapperFuzzyMatchingParams.this.type
  84. def setFuzzyMatchingDistances(value: Array[String]): ChunkMapperFuzzyMatchingParams.this.type
  85. def setLowerCase(lc: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  86. def setMaxCharNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  87. def setMaxTokenNgramDroppingCharsRatio(value: Double): ChunkMapperFuzzyMatchingParams.this.type
  88. def setMaxTokenNgramDroppingOperator(value: String): ChunkMapperFuzzyMatchingParams.this.type
  89. def setMaxTokenNgramDroppingTokens(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  90. def setMaxTokenNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  91. def setMinCharNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  92. def setMinTokenNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  93. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  94. lazy val toLowercase: (String) ⇒ String
  95. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  96. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  98. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped