in reply to Help required in RE strategy
Store the vendor strings as they are and either store as well with all non alphanum characters removed, or do it while you search (probably the former, if you do a lot of searching).
Match all your words, alphanum only, against the alphanum versions of the vendors... once you have a match, use the individual words in your string to match against the original string. This with the most matches rank highest.
Or maybe even go the other way around... store a word database and assuming you get a couple hits use that to shrink your search list for the alphanum reduced search. This would probably save you a lot of processing since you could use keying to reduce the search load.
Of course, I am sure there are other ways.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help required in RE strategy
by lima1 (Curate) on Aug 22, 2007 at 15:01 UTC | |
by suaveant (Parson) on Aug 22, 2007 at 15:08 UTC | |
by lima1 (Curate) on Aug 22, 2007 at 17:06 UTC | |
by suaveant (Parson) on Aug 22, 2007 at 18:02 UTC |