Re: PyStemmer: " 'dict' object has no attribute 'iteritems'" on Python 3

Marc Abramowitz <[email protected]> Thu, 21 Feb 2013 20:51:11 +0000
Newsgroups gmane.comp.search.snowball
Message-ID <E5CD626161E81C4DBB58B3E7F649BEA21372D3@DAGN04b-e6.exg6.exghost.com>
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/

_______________________________________________
Snowball-discuss mailing list
[email protected]
http://lists.tartarus.org/mailman/listinfo/snowball-discuss