Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade to Python 3 #61

Closed
wants to merge 10 commits into from
Closed

upgrade to Python 3 #61

wants to merge 10 commits into from

Conversation

verhovsky
Copy link
Contributor

@verhovsky verhovsky commented Jan 15, 2019

I didn't check if this actually breaks PyTeaser for Python 2, but I bumped the version from 1.0 to 2.0 and set the formula as Python 3 only.

I also made https://github.com/goose3/goose3 the only direct dependency. I checked that the tests still pass after installing it with python3 setup.py install on a fresh install of Ubuntu.

How are people using PyTeaser with languages other than English? Are they importing pyteaser and then overwritting pyteaser.stopWords before calling Summarize? It would be nice to have Summarize() just take a language parameter directly and maybe add an option to autodetect the article's language with langdetect, but I don't want to do to much in this one pull request.

Closes #56, #44 and #57

@verhovsky verhovsky closed this Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python 3 support?
2 participants