Function jaccardIndex

  • Get jaccard index between strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    • n: number

      n-gram length

    Returns number

    |X ∩ Y|/|X ∪ Y| | X,Y = n-grams of x,y

Generated using TypeDoc