[Tutor] string comparison modules

Mats Wichmann mats at wichmann.us
Fri Jan 14 09:41:55 EST 2022


On 1/14/22 02:27, David wrote:
> On Fri, 14 Jan 2022 at 17:00, <mhysnm1964 at gmail.com> wrote:
> 
>> string compare?
> 
>> How should I proceed?
> 
> google.com or similar internet search engine
> with a few keywords
> eg "python string compare similar"
> would be a good place to start.

To help with the search, include the word "fuzzy" - that's what this is,
a comparison of language strings that are not equal in computer terms,
but similar enough in human terms (long ago I had a professor at
university who was a pioneer in this field of work - Lofti Zadeh). You
don't need to go full AI for this, although the Python world is blessed
with the excellent nltk module (Natural Language Toolkit), there are
some simpler routes that should get you what you want.


More information about the Tutor mailing list