Packages

trait NorvigSweetingParams extends Params

These are the configs for the NorvigSweeting model

See https://github.com/JohnSnowLabs/spark-nlp/blob/master/src/test/scala/com/johnsnowlabs/nlp/annotators/spell/norvig/NorvigSweetingTestSpec.scala for further reference on how to use this API

Linear Supertypes
Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. NorvigSweetingParams
  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val caseSensitive: BooleanParam

    Sensitivity on spell checking (Default: true).

    Sensitivity on spell checking (Default: true). Might affect accuracy

  7. final def clear(param: Param[_]): NorvigSweetingParams.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 doubleVariants: BooleanParam

    Increase search at cost of performance (Default: false).

    Increase search at cost of performance (Default: false). Enables extra check for word combinations, More accuracy at performance

  12. val dupsLimit: IntParam

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

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

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

    Applies frequency over hamming in intersections (Default: true).

    Applies frequency over hamming in intersections (Default: true). When false hamming takes priority

  21. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  22. def getCaseSensitive: Boolean

    Sensitivity on spell checking (Default: true).

    Sensitivity on spell checking (Default: true). Might affect accuracy

  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  25. def getDoubleVariants: Boolean

    Increase search at cost of performance (Default: false).

    Increase search at cost of performance (Default: false). Enables extra check for word combinations

  26. def getDupsLimit: Int

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

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

  27. def getFrequencyPriority: Boolean

    Applies frequency over hamming in intersections (Default: true).

    Applies frequency over hamming in intersections (Default: true). When false hamming takes priority

  28. def getIntersections: Int

    Hamming intersections to attempt (Default: 10).

  29. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  30. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  31. def getReductLimit: Int

    Word reduction limit (Default: 3).

  32. def getShortCircuit: Boolean

    Increase performance at cost of accuracy (Default: false).

    Increase performance at cost of accuracy (Default: false). Faster but less accurate mode

  33. def getVowelSwapLimit: Int

    Vowel swap attempts (Default: 6).

  34. def getWordSizeIgnore: Int

    Minimum size of word before ignoring (Default: 3).

    Minimum size of word before ignoring (Default: 3). Minimum size of word before moving on.

  35. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  36. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. val intersections: IntParam

    Hamming intersections to attempt (Default: 10).

  39. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  46. val reductLimit: IntParam

    Word reduction limit (Default: 3).

  47. final def set(paramPair: ParamPair[_]): NorvigSweetingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  48. final def set(param: String, value: Any): NorvigSweetingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  49. final def set[T](param: Param[T], value: T): NorvigSweetingParams.this.type
    Definition Classes
    Params
  50. def setCaseSensitive(value: Boolean): NorvigSweetingParams.this.type

    Sensitivity on spell checking (Default: true).

    Sensitivity on spell checking (Default: true). Might affect accuracy

  51. final def setDefault(paramPairs: ParamPair[_]*): NorvigSweetingParams.this.type
    Attributes
    protected
    Definition Classes
    Params
  52. final def setDefault[T](param: Param[T], value: T): NorvigSweetingParams.this.type
    Attributes
    protected[org.apache.spark.ml]
    Definition Classes
    Params
  53. def setDoubleVariants(value: Boolean): NorvigSweetingParams.this.type

    Increase search at cost of performance (Default: false).

    Increase search at cost of performance (Default: false). Enables extra check for word combinations

  54. def setDupsLimit(value: Int): NorvigSweetingParams.this.type

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

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

  55. def setFrequencyPriority(value: Boolean): NorvigSweetingParams.this.type

    Applies frequency over hamming in intersections (Default: true).

    Applies frequency over hamming in intersections (Default: true). When false hamming takes priority

  56. def setIntersections(value: Int): NorvigSweetingParams.this.type

    Hamming intersections to attempt (Default: 10).

  57. def setReductLimit(value: Int): NorvigSweetingParams.this.type

    Word reduction limit (Default: 3).

  58. def setShortCircuit(value: Boolean): NorvigSweetingParams.this.type

    Increase performance at cost of accuracy (Default: false).

    Increase performance at cost of accuracy (Default: false). Faster but less accurate mode

  59. def setVowelSwapLimit(value: Int): NorvigSweetingParams.this.type

    Vowel swap attempts (Default: 6).

  60. def setWordSizeIgnore(value: Int): NorvigSweetingParams.this.type

    Minimum size of word before ignoring (Default: 3).

    Minimum size of word before ignoring (Default: 3). Minimum size of word before moving on.

  61. val shortCircuit: BooleanParam

    Increase performance at cost of accuracy (Default: false).

    Increase performance at cost of accuracy (Default: false). Faster but less accurate mode

  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  64. val vowelSwapLimit: IntParam

    Vowel swap attempts (Default: 6).

  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  68. val wordSizeIgnore: IntParam

    Minimum size of word before ignoring (Default: 3).

    Minimum size of word before ignoring (Default: 3). Minimum size of word before moving on.

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Parameters

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

Members

Parameter setters

Parameter getters