Module elipdotter::proximity
source · Expand description
Word similarity for typo tolerance and matching beginning of words.
Modules
- String similarity algorithms.
Structs
- An item found by
ProximateDocIter
, an occurrence ofProximateWordItem
in any of the documents in theProvider
passed toproximate_word_docs
. - See
proximate_word_docs
. - A list of words close to the target word, and their “rating”.
- Map of words to their
ProximateList
. - An item of the
ProximateWordIter
, returned fromproximate_words
. - An iterator over the words with high likeness to the target word, as provided when running
proximate_words
.
Enums
- The string proximity algorithm to use.
Functions
- Search for
words
inprovider
. - If
threshold
is closer to 0, more results are accepted. It has a range of [0..1]. E.g.0.95
meansword
is probably the only word to match.