BenjaminDHorne / Language-Features-for-News

Language features used in the NELA Toolkit and other news studies
http://nelatoolkit.science
13 stars 13 forks source link

Make compatible with Python version 3 #1

Open johann-petrak opened 5 years ago

johann-petrak commented 5 years ago

Would be great if this could be made compatible with Python 3. I tried to do this, but I am now stuck with the pickled models where the loader cannot unpickle with the default encoding "ascii" nor with "utf8". Unpickling with "latin1" works, but I am not sure why and the Sklearn model is version 0.18.1 which may not work with 0.19.1 or later, apparently.

Is there any simple way to make this work in Python 3?

myrainbowandsky commented 4 years ago

Me too. Python2 will be dead next month.