kenlm
kenlm copied to clipboard
building python library
Hi, thank you for this nice tool and also thanks for providing a windows version.
I have to work on a sever with Windows Server 8 R2 and I had successfully built the KenLM itself with the project files in the widows folder. However, it always went to error when I was trying to install the Python library on this windows server.
P.S. I am mainly working on python, so KenLM training tool is not that urgent for me since I could train the data from other machine, so I just want to know how to install the python part.
Any help would be appreciated.
The python setup.py currently assumes gcc and a command line. If you can add python/kenlm.cpp to the Windows build and link against the appropriate python binding libraries it should work. Preferably as another MSVC "solution". Or find a way to fix setup.py.
I don't have a Windows machine. Windows compatibility is done solely by contributors.
Any luck on this?