strcmprate

Find the best comparison to a string from a list of strings
71 Downloads
Aktualisiert 30 Jun 2015

Lizenz anzeigen

The strcmprate function compares a string to a list of strings returning the index and rating of the best comparison from the list.
Example:
[i,r] = strcmprate('testing costs',{'test cost' 'costing test' 'cost testing'})

i = 3
r = 0.6923

This function was written to find small discrepancies in text fields and records in a database from data entry errors.

Zitieren als

Seth Kenner (2024). strcmprate (https://www.mathworks.com/matlabcentral/fileexchange/51845-strcmprate), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0