in reply to Group Similar Items
That's a very rough way of doing it, but it may give you a starting point. There are certainly better ways to choose a group than to pick a random string and just pick all its nearby ones. That original string might be on the very edge of a group, and you'd miss the ones at the opposite end. You may want to look into using some graph algorithms to find strongly connected components within this metric.
Also, the fact that the edit measure is a distance metric means you can probably do better than checking all pairs of strings, but you'll have to leave that optimization to a more math-savvy monk.
blokhead
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Group Similar Items
by wufnik (Friar) on May 28, 2003 at 07:30 UTC |