So I tried to build pyStemmer 1.1.0 for Python 2.7 on Windows and it did not work out of the box. On closer examination I found out that pyStemmer’s setup.py is flawed on line 24:
... and os.path.split(line.strip()) in library_core_dirs] ...
did not find all necessary c files for the language stemmers. This is due to
os.path.split not being able to strip the “\” at the end of each entry in
mkinc_utf8.mak. This can be fixed easily by changing this line to the following:
... and os.path.split(line.split().strip()) in library_core_dirs] ...