Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String Search Algorithms
Message
De
30/11/2001 08:58:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/11/2001 08:50:52
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00587899
Message ID:
00587936
Vues:
25
>>Hi All
>>
>>i was wondering, does anyone know where one could get a utility that compares two strings (a+b) and returns a percentage match
>>
>>Eg A = "JOE BLOGGS HOUSE"
>> B = "My Friend Joe Bloggs Lives In a huge House Down the Road"
>>
>>The utility would return a percentage figure of a match say 80% as it found "Joe Bloggs" and "House" in the sentence
>>
>>
>>Thanks
>>Mark
>
>Mark,
>
>Interesting... You would be looking for the percentage of matching words, right? I know that Nadya has a word parser as part of a larger process she has posted. I'll look in my libraries and see if I can find it. With that you could use something like AT to determine the matches in the strings. I might be slow though depending on the volume of what you're doing. There also may be an easier way...
>
>Renoir

Renoir,

I think you would usually want to use alines() for parsing.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform