Click here to Skip to main content
15,890,282 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: String matching algorithm Pin
Fatbuddha 119-May-09 5:01
Fatbuddha 119-May-09 5:01 
QuestionView Port to Window mapping Pin
suvigna13-May-09 7:39
suvigna13-May-09 7:39 
AnswerRe: View Port to Window mapping Pin
Moreno Airoldi20-May-09 1:17
Moreno Airoldi20-May-09 1:17 
AnswerRe: View Port to Window mapping Pin
Luc Pattyn20-May-09 3:04
sitebuilderLuc Pattyn20-May-09 3:04 
QuestionZ Score Pin
RugbyLeague13-May-09 5:13
RugbyLeague13-May-09 5:13 
AnswerRe: Z Score Pin
Moreno Airoldi20-May-09 1:21
Moreno Airoldi20-May-09 1:21 
QuestionSpell-checker for names Pin
dybs10-May-09 6:25
dybs10-May-09 6:25 
AnswerRe: Spell-checker for names Pin
Luc Pattyn10-May-09 6:37
sitebuilderLuc Pattyn10-May-09 6:37 
Hi,

you could have it work like this:

1.
on app start, scan the directory for names; for each name, generate all reasonable variations and add them to a list (variations could be: dropping a letter, swapping two consecutive letters, ...)

2.
whatever the user enters, compare against the list of exact and almost-exact names, and warn the user if there is either no match at all or ambiguity, i.e. he entered something that could lead to different hits.

3.
install a FileSystemWatcher to detect creation of new file objects, treat them the same way as under 1.


Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Spell-checker for names Pin
dybs10-May-09 10:38
dybs10-May-09 10:38 
GeneralRe: Spell-checker for names Pin
Luc Pattyn10-May-09 10:44
sitebuilderLuc Pattyn10-May-09 10:44 
AnswerRe: Spell-checker for names Pin
Henry Minute10-May-09 6:52
Henry Minute10-May-09 6:52 
AnswerRe: Spell-checker for names Pin
Pete O'Hanlon26-May-09 2:23
mvePete O'Hanlon26-May-09 2:23 
Questionpumping lema and regular languages Pin
Sadaiyappan8-May-09 6:39
Sadaiyappan8-May-09 6:39 
AnswerRe: pumping lema and regular languages Pin
Luc Pattyn8-May-09 6:51
sitebuilderLuc Pattyn8-May-09 6:51 
AnswerRe: pumping lema and regular languages Pin
Alan Balkany11-May-09 3:35
Alan Balkany11-May-09 3:35 
QuestionAlgorithm to sort list Pin
TheConfusedGuy7-May-09 11:27
TheConfusedGuy7-May-09 11:27 
AnswerRe: Algorithm to sort list Pin
harold aptroot7-May-09 12:24
harold aptroot7-May-09 12:24 
AnswerRe: Algorithm to sort list Pin
Luc Pattyn7-May-09 12:56
sitebuilderLuc Pattyn7-May-09 12:56 
AnswerRe: Algorithm to sort list Pin
Luc Pattyn7-May-09 13:55
sitebuilderLuc Pattyn7-May-09 13:55 
AnswerRe: Algorithm to sort list [modified] Pin
dybs7-May-09 17:55
dybs7-May-09 17:55 
GeneralRe: Algorithm to sort list (Reply to All) Pin
TheConfusedGuy7-May-09 18:27
TheConfusedGuy7-May-09 18:27 
GeneralRe: Algorithm to sort list (Reply to All) Pin
dybs7-May-09 19:01
dybs7-May-09 19:01 
GeneralRe: Algorithm to sort list (Reply to All) Pin
TheConfusedGuy7-May-09 19:07
TheConfusedGuy7-May-09 19:07 
Questionbearing angle calculation Pin
ranjanguru6-May-09 22:45
ranjanguru6-May-09 22:45 
AnswerRe: bearing angle calculation Pin
molesworth6-May-09 23:38
molesworth6-May-09 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.