Skip to content

To python3#4

Open
hdvos wants to merge 8 commits intogiodegas:masterfrom
hdvos:toPython3
Open

To python3#4
hdvos wants to merge 8 commits intogiodegas:masterfrom
hdvos:toPython3

Conversation

@hdvos
Copy link
Copy Markdown

@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