[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread ankur aggarwal
tries On Fri, Sep 25, 2009 at 11:30 PM, ankur aggarwal wrote: > edit distance.. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroup

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread ankur aggarwal
edit distance.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to algogeeks+unsubsc

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread mrkzea
Thanks for your solutions guys, I will go into the details. Somewhere else I have found Levenshtein distance algorithm which also seems to be a good idea. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Ge

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread harit agarwal
one of the possible implementation used by google is TRIES as a word with 99% match can be displayed easily by using this data structure --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
I think the way google deals with spell error is quite complex. But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a spec

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread saltycookie
But if you just wanna find candidates for spell errors with one char (miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world

[algogeeks] Re: string comparison ignoring one char

2009-09-25 Thread 林夏祥
But if you just wanna find candidates for spell errors with one char(miss, add or misspell one char), you may store several version of the word in the database. Here is one possible implementation: For "world", we first add a special char, say '$' to the beginning of the world, and get "$world".

[algogeeks] string comparison ignoring one char

2009-09-25 Thread mrkzea
Hey. I wonder what method would you use to find value in the large database assuming that if the word in the database differs from our pattern only in one character we treat that as a match. Lets say that someone wants to find word "independent" in the database but he put "independext" instead. We