Fuzzy Search
Function fzsearch(r,p,n,case) finds the best or predetermined approximate matching between substrings of a string r (reference) and a string p (pattern). The Levenshtein distance is used as a measure of matching. Levenshtein distance is the minimum number of single-character substitutions, deletions and insertions required to convert string A to string B. It is possible to search both for case sensitive and insensitive.
Results of a search are a distance of matching and indices of the ends of reference substrings. For the best match, the function allows to determine also the substrings themselves.
Zitieren als
Eduard Polityko (2024). Fuzzy Search (https://www.mathworks.com/matlabcentral/fileexchange/66271-fuzzy-search), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: matlab-z
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
html/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |