[Tutor] thesaurus

Robert Berman bermanrl at cfl.rr.com
Thu Jul 9 02:25:28 CEST 2009


This will get you started. This is a tad easier to play with than its
newer implementation. Read and experiment. it may meet most of your
needs in this arena.

Good Luck,


On Wed, 2009-07-08 at 18:28 -0400, Pete Froslie wrote:
> okay.. I'm getting the hang of python a little more. I'd like to try
> something a bit more complicated (for me). I would like to convert
> each word in a series of paragraphs to its first matching synonym in a
> thesaurus. I'm a bit stuck as how to start.. I think I understand how
> to split and parse the original paragraphs, but the thesaurus is
> throwing me. I'm thinking maybe find a CSV thesaurus -or- a thesaurus
> online with an API.. I'm wondering if anyone has done something
> similar that may point me in the correct direction?
> thanks,
> -- 
> Pete F
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

More information about the Tutor mailing list