Function sorensenDiceIndex

  • Get Sørensen-Dice index between strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    • n: number

      n-gram length

    Returns number

    2|X ∩ Y|/(|X| + |Y|) | X,Y = n-grams of x,y

Generated using TypeDoc