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

To python3 #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

To python3 #4

wants to merge 8 commits into from

Conversation

hdvos
Copy link

@hdvos hdvos commented Jun 12, 2017

I changed your code to work with python 3.6.
I also made some changes to make the code more readable (in my opinion, feel free to disagree)
Furthermore, I converted it to a class (pymorphit_cls.py), as this better suited my personal needs.
As a small example of my personal need, I added process_italianprep.py (not a useful script, but serves well as example).

Finally, I added some comments to make the code clear.

hdvos added 8 commits June 12, 2017 11:48
A class version of pymorphit.py. So the models have only to be initialized once per session.
Just added as an example of possible use of pymorphit_cls.py
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.

1 participant