Packages

trait SymmetricDeleteParams extends Params

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. SymmetricDeleteParams
  2. Params
  3. Serializable
  4. Serializable
  5. Identifiable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Parameters

A list of (hyper-)parameter keys this annotator can take. Users can set and get the parameter values through setters and getters, respectively.

  1. val deletesThreshold: IntParam

    Minimum frequency of corrections a word needs to have to be considered from training.

    Minimum frequency of corrections a word needs to have to be considered from training. Increase if training set is LARGE (Default: 0).

  2. val dupsLimit: IntParam

    Maximum duplicate of characters in a word to consider (Default: 2).

  3. val frequencyThreshold: IntParam

    Minimum frequency of words to be considered from training.

    Minimum frequency of words to be considered from training. Increase if training set is LARGE (Default: 0).

  4. val longestWordLength: IntParam

    Length of longest word in corpus

  5. val maxEditDistance: IntParam

    Max edit distance characters to derive strings from a word (Default: 3)

  6. val maxFrequency: LongParam

    Maximum frequency of a word in the corpus

  7. val minFrequency: LongParam

    Minimum frequency of a word in the corpus

Members

  1. abstract def copy(extra: ParamMap): Params
    Definition Classes
    Params
  2. abstract val uid: String
    Definition Classes
    Identifiable
  3. final def clear(param: Param[_]): SymmetricDeleteParams.this.type
    Definition Classes
    Params
  4. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  5. def explainParams(): String
    Definition Classes
    Params
  6. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  7. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  8. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  9. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  10. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  11. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  12. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  13. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  14. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  15. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  16. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  17. final def set[T](param: Param[T], value: T): SymmetricDeleteParams.this.type
    Definition Classes
    Params
  18. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any

Parameter setters

  1. def setDeletesThreshold(value: Int): SymmetricDeleteParams.this.type

    Minimum frequency of corrections a word needs to have to be considered from training.

    Minimum frequency of corrections a word needs to have to be considered from training. Increase if training set is LARGE (Default: 0).

  2. def setDupsLimit(value: Int): SymmetricDeleteParams.this.type

    Maximum duplicate of characters in a word to consider (Default: 2)

  3. def setFrequencyThreshold(value: Int): SymmetricDeleteParams.this.type

    Minimum frequency of words to be considered from training.

    Minimum frequency of words to be considered from training. Increase if training set is LARGE (Default: 0)

  4. def setLongestWordLength(value: Int): SymmetricDeleteParams.this.type

    Length of longest word in corpus

  5. def setMaxEditDistance(value: Int): SymmetricDeleteParams.this.type

    Max edit distance characters to derive strings from a word

  6. def setMaxFrequency(value: Long): SymmetricDeleteParams.this.type

    Maximum frequency of a word in the corpus

  7. def setMinFrequency(value: Long): SymmetricDeleteParams.this.type

    Minimum frequency of a word in the corpus

Parameter getters

  1. def getDeletesThreshold: Int

    Minimum frequency of corrections a word needs to have to be considered from training.

    Minimum frequency of corrections a word needs to have to be considered from training. Increase if training set is LARGE (Default: 0).

  2. def getDupsLimit: Int

    Maximum duplicate of characters in a word to consider (Default: 2).

  3. def getFrequencyThreshold: Int

    Minimum frequency of words to be considered from training.

    Minimum frequency of words to be considered from training. Increase if training set is LARGE (Default: 0).

  4. def getMaxEditDistance: Int

    Max edit distance characters to derive strings from a word