strcmprate

Find the best comparison to a string from a list of strings

Ahora está siguiendo esta publicación

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.

Citar como

Seth Kenner (2026). strcmprate (https://la.mathworks.com/matlabcentral/fileexchange/51845-strcmprate), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Characters and Strings en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0