qanary-component-dis/fuzzy-matching
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-dis/fuzzy-matching
Section titled “qanary-component-dis/fuzzy-matching”- Package:
qanary-component-dis - Source file:
apps/qanary-component-dis/src/fuzzy-matching.ts
Summary
Section titled “Summary”Simple Levenshtein distance between two strings.
Functions
Section titled “Functions”levenshtein
Section titled “levenshtein”function levenshtein(a: string, b: string): numberSimple Levenshtein distance between two strings.
Parameters
a(string)b(string) ReturnsnumberDefined at: line 8
similarity
Section titled “similarity”function similarity(a: string, b: string): numberNormalized similarity score in [0, 1]. 1.0 = identical, 0.0 = completely different.
Parameters
a(string)b(string) ReturnsnumberDefined at: line 43
In qanary-component-dis
Section titled “In qanary-component-dis”qanary-component-dis/entity-typesqanary-component-dis/fuzzy-matchingqanary-component-dis/handlerqanary-component-dis/implementationqanary-component-dis/indexqanary-component-dis/types