japerk / nltk-trainer

Train NLTK objects with zero code
http://nltk-trainer.readthedocs.org/en/latest/
Apache License 2.0
747 stars 225 forks source link

python 3.x compatibility #36

Open motazsaad opened 5 years ago

motazsaad commented 5 years ago

Hi Jacoub,

It is written in the documentation at

that the code is python 3 compatible "These scripts are Python 2 & 3 compatible and work with NLTK 2.0.4 and higher.", and here in it is written python 2 only. I tried to run the code on python 3.7 but I got compatibility issues.

It would be very nice if you make the code compatible with python 3.

Thanks.

Daanielvb commented 4 years ago

I am having the same problem @motazsaad . It would be good to have that migrated @japerk

japerk commented 4 years ago

Hi @motazsaad @Daanielvb, I've just pushed an update for compatability with python3.7 & NLTK 3.4.5. Please let me know if things work for you. If not, please share the script you're running and the arguments you're using.