Package

com.johnsnowlabs.nlp.annotators.spell

norvig

Permalink

package norvig

Visibility
  1. Public
  2. All

Type Members

  1. class NorvigSweetingApproach extends AnnotatorApproach[NorvigSweetingModel] with NorvigSweetingParams

    Permalink

    This annotator retrieves tokens and makes corrections automatically if not found in an English dictionary.

    This annotator retrieves tokens and makes corrections automatically if not found in an English dictionary. Inspired by Norvig model

    Inspired on https://github.com/wolfgarbe/SymSpell

    The Symmetric Delete spelling correction algorithm reduces the complexity of edit candidate generation and dictionary lookup for a given Damerau-Levenshtein distance. It is six orders of magnitude faster (than the standard approach with deletes + transposes + replaces + inserts) and language independent.

    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

  2. class NorvigSweetingModel extends AnnotatorModel[NorvigSweetingModel] with HasSimpleAnnotate[NorvigSweetingModel] with NorvigSweetingParams

    Permalink

    This annotator retrieves tokens and makes corrections automatically if not found in an English dictionary.

    This annotator retrieves tokens and makes corrections automatically if not found in an English dictionary. Inspired by Norvig 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

  3. trait NorvigSweetingParams extends Params

    Permalink

    These are the configs for the NorvigSweeting model

    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

  4. trait ReadablePretrainedNorvig extends ParamsAndFeaturesReadable[NorvigSweetingModel] with HasPretrained[NorvigSweetingModel]

    Permalink

Value Members

  1. object NorvigSweetingApproach extends DefaultParamsReadable[NorvigSweetingApproach] with Serializable

    Permalink
  2. object NorvigSweetingModel extends ReadablePretrainedNorvig with Serializable

    Permalink

Ungrouped