spx2 has asked for the wisdom of the Perl Monks concerning the following question:
I have a hash whose keys are representants of an equivalencef(w1,w2) return 1 if w1 is contained in w2 return 1 if w2 is contained in w1 return edit_distance(w1,w2)/length(w2) < 0.34 ? 1 : 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: separating text words in similarity classes using levenshtein
by eric256 (Parson) on Dec 10, 2007 at 22:04 UTC | |
by spx2 (Deacon) on Dec 11, 2007 at 03:35 UTC | |
|
Re: separating text words in similarity classes using levenshtein
by ian (Beadle) on Dec 10, 2007 at 17:41 UTC | |
by spx2 (Deacon) on Dec 10, 2007 at 20:18 UTC | |
by spx2 (Deacon) on Dec 10, 2007 at 20:27 UTC | |
by eric256 (Parson) on Dec 10, 2007 at 20:39 UTC | |
by spx2 (Deacon) on Dec 10, 2007 at 21:51 UTC | |
by eric256 (Parson) on Dec 10, 2007 at 21:57 UTC |