Function tverskyDistance

  • Get Tversky distance between strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    • n: number

      n-gram length

    • a: number = 1

      alpha [1]

    • b: number = 1

      beta [1]

    Returns number

    1 - tverskyIndex(x, y)

Generated using TypeDoc