Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const computeJaroWinklerDistance

computeJaroWinklerDistance: function

Returns the jaro-winkler distance between two strings

returns

the proximity between 0 and 1, where 1 is very close

Type declaration

    • (a: string, b: string, options: object): number
    • Parameters

      • a: string
      • b: string
      • options: object
        • caseSensitive: boolean

      Returns number

Const computeLevenshteinDistance

computeLevenshteinDistance: function

Returns the levenshtein distance between two strings

returns

the proximity between 0 and 1, where 1 is very close

Type declaration

    • (a: string, b: string): number
    • Parameters

      • a: string
      • b: string

      Returns number

Generated using TypeDoc