![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <simtexth.h>
Public Member Functions | |
| StringSimilarityMatcher (const QString &stringToMatch) | |
| int | getSimilarityScore (const QString &strCandidate) |
This class is more efficient for searching through a large array of candidate strings, since we only have to construct the CoMatrix for the stringToMatch once, after that we just call getSimilarityScore(strCandidate).
Definition at line 63 of file simtexth.h.
| StringSimilarityMatcher::StringSimilarityMatcher | ( | const QString & | stringToMatch | ) |
Definition at line 146 of file simtexth.cpp.
| int StringSimilarityMatcher::getSimilarityScore | ( | const QString & | strCandidate | ) |
Definition at line 152 of file simtexth.cpp.
References intersection(), reunion(), and worth().