Trait

com.johnsnowlabs.nlp.annotators.spell.norvig

NorvigSweetingParams

Related Doc: package norvig

Permalink

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
Known Subclasses
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

    Permalink
    Definition Classes
    Params
  2. abstract val uid: String

    Permalink
    Definition Classes
    Identifiable

Concrete 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. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val caseSensitive: BooleanParam

    Permalink

    Sensitivity on spell checking.

    Sensitivity on spell checking. Defaults to false. Might affect accuracy

  7. final def clear(param: Param[_]): NorvigSweetingParams.this.type

    Permalink
    Definition Classes
    Params
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def copyValues[T <: Params](to: T, extra: ParamMap): T

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  11. val doubleVariants: BooleanParam

    Permalink

    Increase search at cost of performance.

    Increase search at cost of performance. Enables extra check for word combinations, More accuracy at performance

  12. val dupsLimit: IntParam

    Permalink

    Maximum duplicate of characters in a word to consider.

    Maximum duplicate of characters in a word to consider. Defaults to 2 .Maximum duplicate of characters to account for. Defaults to 2.

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Params
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val frequencyPriority: BooleanParam

    Permalink

    Applies frequency over hamming in intersections.

    Applies frequency over hamming in intersections. When false hamming takes priority

  21. final def get[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  22. def getCaseSensitive: Boolean

    Permalink

    Sensitivity on spell checking.

    Sensitivity on spell checking. Defaults to false. Might affect accuracy

  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def getDefault[T](param: Param[T]): Option[T]

    Permalink
    Definition Classes
    Params
  25. def getDoubleVariants: Boolean

    Permalink

    Increase search at cost of performance.

    Increase search at cost of performance. Enables extra check for word combinations

  26. def getDupsLimit: Int

    Permalink

    Maximum duplicate of characters in a word to consider.

    Maximum duplicate of characters in a word to consider. Defaults to 2 .Maximum duplicate of characters to account for. Defaults to 2.

  27. def getFrequencyPriority: Boolean

    Permalink

    Applies frequency over hamming in intersections.

    Applies frequency over hamming in intersections. When false hamming takes priority

  28. def getIntersections: Int

    Permalink

    Hamming intersections to attempt.

    Hamming intersections to attempt. Defaults to 10

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

    Permalink
    Definition Classes
    Params
  30. def getParam(paramName: String): Param[Any]

    Permalink
    Definition Classes
    Params
  31. def getReductLimit: Int

    Permalink

    Word reduction limit.

    Word reduction limit. Defaults to 3

  32. def getShortCircuit: Boolean

    Permalink

    Increase performance at cost of accuracy.

    Increase performance at cost of accuracy. Faster but less accurate mode

  33. def getVowelSwapLimit: Int

    Permalink

    Vowel swap attempts.

    Vowel swap attempts. Defaults to 6

  34. def getWordSizeIgnore: Int

    Permalink

    Minimum size of word before ignoring.

    Minimum size of word before ignoring. Defaults to 3 ,Minimum size of word before moving on. Defaults to 3.

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  38. val intersections: IntParam

    Permalink

    Hamming intersections to attempt.

    Hamming intersections to attempt. Defaults to 10

  39. final def isDefined(param: Param[_]): Boolean

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

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

    Permalink
    Definition Classes
    Params
  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  45. lazy val params: Array[Param[_]]

    Permalink
    Definition Classes
    Params
  46. val reductLimit: IntParam

    Permalink

    Word reduction limit.

    Word reduction limit. Defaults to 3

  47. final def set(paramPair: ParamPair[_]): NorvigSweetingParams.this.type

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

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

    Permalink
    Definition Classes
    Params
  50. def setCaseSensitive(value: Boolean): NorvigSweetingParams.this.type

    Permalink

    Sensitivity on spell checking.

    Sensitivity on spell checking. Defaults to false. Might affect accuracy

  51. final def setDefault(paramPairs: ParamPair[_]*): NorvigSweetingParams.this.type

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

    Permalink
    Attributes
    protected
    Definition Classes
    Params
  53. def setDoubleVariants(value: Boolean): NorvigSweetingParams.this.type

    Permalink

    Increase search at cost of performance.

    Increase search at cost of performance. Enables extra check for word combinations

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

    Permalink

    Maximum duplicate of characters in a word to consider.

    Maximum duplicate of characters in a word to consider. Defaults to 2 .Maximum duplicate of characters to account for. Defaults to 2.

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

    Permalink

    Applies frequency over hamming in intersections.

    Applies frequency over hamming in intersections. When false hamming takes priority

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

    Permalink

    Hamming intersections to attempt.

    Hamming intersections to attempt. Defaults to 10

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

    Permalink

    Word reduction limit.

    Word reduction limit. Defaults to 3

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

    Permalink

    Increase performance at cost of accuracy.

    Increase performance at cost of accuracy. Faster but less accurate mode

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

    Permalink

    Vowel swap attempts.

    Vowel swap attempts. Defaults to 6

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

    Permalink

    Minimum size of word before ignoring.

    Minimum size of word before ignoring. Defaults to 3 ,Minimum size of word before moving on. Defaults to 3.

  61. val shortCircuit: BooleanParam

    Permalink

    Increase performance at cost of accuracy.

    Increase performance at cost of accuracy. Faster but less accurate mode

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

    Permalink
    Definition Classes
    AnyRef
  63. def toString(): String

    Permalink
    Definition Classes
    Identifiable → AnyRef → Any
  64. val vowelSwapLimit: IntParam

    Permalink

    Vowel swap attempts.

    Vowel swap attempts. Defaults to 6

  65. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. val wordSizeIgnore: IntParam

    Permalink

    Minimum size of word before ignoring.

    Minimum size of word before ignoring. Defaults to 3 ,Minimum size of word before moving on. Defaults to 3.

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Parameters

Members

Parameter setters

Parameter getters