Friday, August 05, 2005

Python Rocks

I was thinking of just getting to sleep after my last post, but started fiddling with a little Python module to handle parsing words from a source into a vocabulary. Well, from the time from my last post, minus a quick browsing of Planet Python and email checking, I have a basic module written that will accept text input, trash all special characters (e.g., (){}!?), use the stemmer, and drop the output in a list.

List comprehensions are great.

0 Comments:

Post a Comment

<< Home