[Snowball-discuss] PyStemmer: " 'dict' object has no attribute 'iteritems'" on Python 3

Marc Abramowitz marca at surveymonkey.com
Thu Feb 21 20:51:11 GMT 2013


An update to my previous message.

I figured out how to do the build. I had to manually download http://snowball.tartarus.org/dist/libstemmer_c.tgz and untar it in the pystemmer directory. That made `python setup.py build`, etc. work.

So then I came up with a patch to fix the "iteritems" issue in __purgeCache on Python 3. Here it is:

https://gist.github.com/msabramo/5008065

I hope that is useful. Thanks for creating and sharing PyStemmer!

Cheers,
Marc
http://marc-abramowitz.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20130221/23eb6767/attachment.htm>


More information about the Snowball-discuss mailing list