## Uses of Interface
org.apache.lucene.search.spell.StringDistance

- Packages that use StringDistance
  Package | Description
  --- | ---
  org.apache.lucene.search.spell | Suggest alternate spellings for words.

- - ### Uses of StringDistance in org.apache.lucene.search.spell

    Classes in org.apache.lucene.search.spell that implement StringDistance
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JaroWinklerDistance`
    `class` | `LevensteinDistance` Levenstein edit distance class.
    `class` | `NGramDistance` N-Gram version of edit distance based on paper by Grzegorz Kondrak, "N-gram similarity and distance".

    Methods in org.apache.lucene.search.spell that return StringDistance
    Modifier and Type | Method and Description
    --- | ---
    `StringDistance` | SpellChecker.`getStringDistance()` Returns the `StringDistance` instance used by this `SpellChecker` instance.

    Methods in org.apache.lucene.search.spell with parameters of type StringDistance
    Modifier and Type | Method and Description
    --- | ---
    `void` | SpellChecker.`setStringDistance(StringDistance sd)` Sets the `StringDistance` implementation for this `SpellChecker` instance.

    Constructors in org.apache.lucene.search.spell with parameters of type StringDistance
    Constructor and Description
    `SpellChecker(Directory spellIndex, StringDistance sd)` Use the given directory as a spell checker index.

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.