Implementing near string matches

  • Thread starter Thread starter Gustaf
  • Start date Start date
G

Gustaf

This is for an educational program in which the user is asked to type
things and have the answer validated. I can manage alternative
spellings, but if the user types "ikipedia" when the answer is
"Wikipedia", I'd like to do something special. I tried to search for
this, but I don't know what it's called. Would appreciate some pointers
or examples here.

Gustaf
 
Dave said:
Are you trying to compare one string to another in C#?

(long link removed)

Yes, thanks to a search on soundex algorithms I actually found
Levenshtein distance all by myself. It's great. I don't understand it
100%, but it works... :-)

Gustaf
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top