Canopy.Mobile


EditDistance

Namespace: canopy.mobile

Functions to compute the edit distance between two strings Taken from the Visual F# compiler

Nested types and modules

TypeDescription
result

Functions and values

Function or valueDescription
editdistance s1 s2
Signature: s1:string -> s2:string -> result
existsInWin mChar str offset rad
Signature: mChar:char -> str:string -> offset:^?7264 -> rad:^?7265 -> bool
Type parameters: ^?7264, ^?7265

Given an offset and a radius from that offset, does mChar exist in that part of str?

jaro s1 s2
Signature: s1:string -> s2:string -> float<MeasureOne>

The jaro distance between s1 and s2

JaroWinklerDistance s1 s2
Signature: s1:string -> s2:string -> float<MeasureOne>

Calculates the Jaro-Winkler edit distance between two strings. The edit distance is a metric that allows to measure the amount of similarity between two strings.

remove char lst
Signature: char:'?7279 -> lst:'?7279 list -> '?7279 list
Type parameters: '?7279
Fork me on GitHub