Function jaroWinklerSimilarity

  • Get Jaro-Winkler similarity between strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    • p: number = 0.1

      scaling factor for common prefix (0.1 - 0.25) [0.1]

    Returns number

    simⱼ + ℓp(1 - simⱼ) | simⱼ = jaro similarity, ℓ = |longest common prefix|

Generated using TypeDoc