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 clear(param: Param[_]): ChunkMapperFuzzyMatchingParams.this.type
    Definition Classes
    Params
  2. val enableCharFingerprintMatching: BooleanParam

    Whether to apply char Ngram fingerprint matching

  3. val enableFuzzyMatching: BooleanParam

    Whether to apply fuzzy matching

  4. val enableTokenFingerprintMatching: BooleanParam

    Whether to apply partial token Ngram fingerprint matching

  5. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  6. def explainParams(): String
    Definition Classes
    Params
  7. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  8. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  9. val fuzzyDistanceScalingMode: Param[String]

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

  10. val fuzzyMatchingDistanceThresholds: DoubleArrayParam

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

  11. val fuzzyMatchingDistances: StringArrayParam

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

  12. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  13. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  14. def getEnableCharFingerprintMatching: Boolean
  15. def getEnableFuzzyMatching: Boolean
  16. def getEnableTokenFingerprintMatching: Boolean
  17. def getFuzzyDistanceScalingMode: String
  18. def getFuzzyMatchingDistanceThresholds: Array[Double]
  19. def getFuzzyMatchingDistances: Array[String]
  20. def getLowerCase: Boolean
  21. def getMaxCharNgramFingerprint: Int
  22. def getMaxTokenNgramDroppingCharsRatio: Double
  23. def getMaxTokenNgramDroppingOperator: String
  24. def getMaxTokenNgramDroppingTokens: Int
  25. def getMaxTokenNgramFingerprint: Int
  26. def getMinCharNgramFingerprint: Int
  27. def getMinTokenNgramFingerprint: Int
  28. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  29. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  30. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  31. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  32. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  33. lazy val isLowerCase: Boolean
  34. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  35. val lowerCase: BooleanParam

  36. val maxCharNgramFingerprint: IntParam

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

  37. 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

  38. 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"

  39. 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

  40. val maxTokenNgramFingerprint: IntParam

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

  41. val minCharNgramFingerprint: IntParam

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

  42. val minTokenNgramFingerprint: IntParam

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

  43. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  44. lazy val realizedFilledDistancesAndThresholds: Array[(String, Double)]
  45. final def set[T](param: Param[T], value: T): ChunkMapperFuzzyMatchingParams.this.type
    Definition Classes
    Params
  46. def setEnableCharFingerprintMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  47. def setEnableFuzzyMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  48. def setEnableTokenFingerprintMatching(value: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  49. def setFuzzyDistanceScalingMode(value: String): ChunkMapperFuzzyMatchingParams.this.type
  50. def setFuzzyMatchingDistanceThresholds(value: Double): ChunkMapperFuzzyMatchingParams.this.type
  51. def setFuzzyMatchingDistanceThresholds(value: Array[Double]): ChunkMapperFuzzyMatchingParams.this.type
  52. def setFuzzyMatchingDistances(value: Array[String]): ChunkMapperFuzzyMatchingParams.this.type
  53. def setLowerCase(lc: Boolean): ChunkMapperFuzzyMatchingParams.this.type
  54. def setMaxCharNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  55. def setMaxTokenNgramDroppingCharsRatio(value: Double): ChunkMapperFuzzyMatchingParams.this.type
  56. def setMaxTokenNgramDroppingOperator(value: String): ChunkMapperFuzzyMatchingParams.this.type
  57. def setMaxTokenNgramDroppingTokens(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  58. def setMaxTokenNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  59. def setMinCharNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  60. def setMinTokenNgramFingerprint(value: Int): ChunkMapperFuzzyMatchingParams.this.type
  61. lazy val toLowercase: (String) ⇒ String
  62. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any