editDistanceSearcher
Edit distance nearest neighbor searcher
Description
An edit distance searcher performs a nearest neighborhood search in a list of known strings, using edit distance.
Creation
Syntax
Description
creates an edit distance searcher and sets the eds
= editDistanceSearcher(vocabulary
,maxDist
)Vocabulary
and MaximumDistance
properties. The returned object searches the words in
vocabulary
and with maximum edit distance
maxDist
.
specifies additional options using one or more name-value pair arguments.eds
= editDistanceSearcher(vocabulary
,maxDist
,PropertyName=Value
)
Properties
Object Functions
rangesearch | Find nearest neighbors by edit distance range |
knnsearch | Find nearest neighbors by edit distance |
Examples
Algorithms
Version History
Introduced in R2019a
See Also
correctSpelling
| editDistance
| knnsearch
| rangesearch
| splitGraphemes
| tokenizedDocument