Click here to Skip to main content
16,005,389 members
Home / Discussions / C#
   

C#

 
QuestionUsing delegates with remoting in .net 2.0 Pin
Oyvind Hansen1-Feb-06 11:22
Oyvind Hansen1-Feb-06 11:22 
QuestionRemove a Child Entry from AD Pin
osamahmirza1-Feb-06 10:54
osamahmirza1-Feb-06 10:54 
QuestionControlling the focus Pin
3Dizard1-Feb-06 9:27
3Dizard1-Feb-06 9:27 
Questiontabcontrol glitchy Pin
jasonmog1-Feb-06 9:26
jasonmog1-Feb-06 9:26 
AnswerRe: tabcontrol glitchy Pin
Mark Greenwood1-Feb-06 13:47
Mark Greenwood1-Feb-06 13:47 
GeneralRe: tabcontrol glitchy Pin
jasonmog2-Feb-06 2:48
jasonmog2-Feb-06 2:48 
QuestionAproximate string matching Pin
Elvio Fernandez1-Feb-06 9:14
Elvio Fernandez1-Feb-06 9:14 
AnswerRe: Aproximate string matching Pin
Ingo1-Feb-06 21:39
Ingo1-Feb-06 21:39 
I think there are some ways you can use this information for detecting similiarity.

There are some factors, if there are enough fullfilled, you accept this as a string matching:
- beginning of the word / ending of the word
- are all vowels in the word
- are all nonvowels in the word
- order of vowels correct / order of nonvowels
- length of the word (+- 1)
- are all letters matching

These are 8 possibilities. If you check the word, you want enough to be right. For example:
(AMBERLITE,MBRLT,AEIE,ABEILMRT,AM,TE)

AMBRELITE is ok. All 8 factors are ok. So you suggest the word is Amberlite. If someone writes Amberlit the beginning is ok, are all nonvowels are in there the vowels are in correct order (even one is missing), the nonvoewls are in correct order, the length of the word is nearly the same and alle th letters are matching ABEILMRT. You would suggest this is the word Amberlite.

The question is how to weight this factors and how many must be fullfilled (weighted). I don't work on string matching, but without any further background I would weight is like:
3 points for (beginning of the word / ending of the word) if one is missing two points for the other.
5 points for (are all vowels in the word / are all nonvowels in the word) if one is missing 3 points for the other
5 points for (order of vowels correct / order of nonvowels) if one is missing 3 points for the other. If a letter is missing than the fact is still fullfiled
3 point for (length of the word) substract 1 point for each extra or missing
1 point for all the letters are matching

This would be 17 points. Perhaps you must accept when there are 12 points (but this have to be testes out).

Greetings,
Ingo

GeneralRe: Aproximate string matching Pin
Elvio Fernandez2-Feb-06 17:52
Elvio Fernandez2-Feb-06 17:52 
Question Additional C# 2005 Code Snippets From Microsoft Pin
Kevin McFarlane1-Feb-06 8:46
Kevin McFarlane1-Feb-06 8:46 
QuestionCrystal Viewer 9 RDC Pin
Bedevian1-Feb-06 8:33
Bedevian1-Feb-06 8:33 
QuestionSaving and viewing XML Files Pin
StevieGowland1-Feb-06 8:24
StevieGowland1-Feb-06 8:24 
AnswerRe: Saving and viewing XML Files Pin
malharone1-Feb-06 11:23
malharone1-Feb-06 11:23 
QuestionHow to implement Event log in C# Pin
engsrini1-Feb-06 8:14
engsrini1-Feb-06 8:14 
AnswerRe: How to implement Event log in C# Pin
malharone1-Feb-06 11:26
malharone1-Feb-06 11:26 
GeneralRe: How to implement Event log in C# Pin
engsrini1-Feb-06 20:28
engsrini1-Feb-06 20:28 
GeneralRe: How to implement Event log in C# Pin
malharone2-Feb-06 3:36
malharone2-Feb-06 3:36 
QuestionImpersanating a user in a connection string Pin
zaboboa1-Feb-06 8:03
zaboboa1-Feb-06 8:03 
AnswerRe: Impersanating a user in a connection string Pin
James Gupta1-Feb-06 8:09
professionalJames Gupta1-Feb-06 8:09 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:12
zaboboa1-Feb-06 8:12 
GeneralRe: Impersanating a user in a connection string Pin
Tom Wright1-Feb-06 8:20
Tom Wright1-Feb-06 8:20 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 8:22
zaboboa1-Feb-06 8:22 
GeneralRe: Impersanating a user in a connection string Pin
Dave Kreskowiak1-Feb-06 9:24
mveDave Kreskowiak1-Feb-06 9:24 
GeneralRe: Impersanating a user in a connection string Pin
zaboboa1-Feb-06 9:56
zaboboa1-Feb-06 9:56 
Questiondivide computing between 2 computers (cluster) Pin
jbu201-Feb-06 6:09
jbu201-Feb-06 6:09 

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.