Fuzzy matching dispatcher. More...
Include dependency graph for fuzzy.c:Go to the source code of this file.
Functions | |
| int | fuzzy_match (const char *pattern, const char *candidate, enum FuzzyAlgo algo, const struct FuzzyOptions *opts, struct FuzzyResult *out) |
| Perform fuzzy matching. | |
Fuzzy matching dispatcher.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file fuzzy.c.
| int fuzzy_match | ( | const char * | pattern, |
| const char * | candidate, | ||
| enum FuzzyAlgo | algo, | ||
| const struct FuzzyOptions * | opts, | ||
| struct FuzzyResult * | out ) |
Perform fuzzy matching.
| pattern | Pattern to match |
| candidate | Candidate string to match against |
| algo | Fuzzy matching algorithm to use |
| opts | Fuzzy matching options |
| out | Output result structure |
| >=0 | Match score |
| -1 | Error or no match |
Definition at line 58 of file fuzzy.c.
Here is the call graph for this function:
Here is the caller graph for this function: