Function countEachMatchingNgram

  • Count each matching n-gram between strings.

    Parameters

    • x: string

      a string

    • y: string

      another string

    • n: number

      n-gram length

    Returns Map<string, number>

    Map {gᵢ: count(gᵢ)} | gᵢ = iᵗʰ matching n-gram

Generated using TypeDoc