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

Add italian and explicit support Python 3.7 #114

Merged
merged 5 commits into from
May 18, 2019

Conversation

jacopofar
Copy link
Contributor

We added explicit support for Python 3.7 and for the Italian natural language using a MIT-licensed stopword list.

Python 3.3 reached EOL and is not supported by pytest and pytest-cov, so I dropped it from test targets.

Also, I added to the readme a short explanation about running tests locally on a virtualenv.

Now the README has a note about how to run tests locally, possibly
within a virtual environment.
@jacopofar
Copy link
Contributor Author

The CI pipeline fails for a random network error within Travis build, restarting it manually it works

Copy link
Owner

@miso-belica miso-belica left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacopofar Hi and thanks for the PR. Please look at my comments and then I will happily merge it :)

setup.py Outdated Show resolved Hide resolved
sumy/data/stopwords/italian.txt Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
Data licensed under MIT, from: https://github.com/stopwords-iso/stopwords-it

Bump version, add Italian to the natural languages
--use-wheel was deprecated, and its usage breaks the test.

Use a version of pytest-cov which supports python 3.3
pytest and pytest-cov do not support Python 3.3 anymore.
Since Python 3.3 is EOL, I think it's easier to just remove it
from test targets.
Stopwords list contained many words which are not actually stopwords
but are simply very frequent. Manually removed them.
@jacopofar
Copy link
Contributor Author

Applied the required changes, thanks for your time!

@miso-belica miso-belica merged commit 947178f into miso-belica:dev May 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants