nltk_contrib icon indicating copy to clipboard operation
nltk_contrib copied to clipboard

Package is written in python 2 and can no longer be installed

Open alex-calderwood opened this issue 2 years ago • 3 comments

I have a project that could benefit from the FUF module here but it is written in Python 2. Are there any plans to migrate this project to python 3?

alex-calderwood avatar Aug 26 '22 23:08 alex-calderwood

It's all down to what people want to contribute...

stevenbird avatar Aug 27 '22 02:08 stevenbird

@stevenbird For my project I ended up using the 2to3 executable to turn nltk_contrib into a python3 codebase, but I hacked it up a little and have only tested my use case (I suspect other parts of the library are broken). If there's interest I am happy to upload what I have for others and we could potentially reassemble what was lost in translation.

alex-calderwood avatar Aug 30 '22 19:08 alex-calderwood

I've gone ahead and created a repo with the (at least partly) working python3 version of nltk_contrib. https://github.com/alex-calderwood/nltk_contrib_py3

Steven, if you could create a python3_dev branch or something similar I can pull-request into that.

alex-calderwood avatar Aug 30 '22 20:08 alex-calderwood