E
E
Elena Stepanova2016-01-27 03:06:00
PHP
Elena Stepanova, 2016-01-27 03:06:00

Which is better pymorphy2 vs phpMorphy for processing Russian words?

pymorphy2 works with the OpenCorpora
phpMorphy dictionary with AOT
tasks - to lemmatize words, determine parts of speech,
which tool will be of better quality (which base is cooler, where is the "predictor" better)? (speed is less important)
the fact that it is on different EPs is understandable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kazmiruk, 2016-01-27
@Insolita

I would take pymorphy (I didn’t even choose in principle, since I don’t accept php, but that’s not the point), since phpmorphy is no longer supported by the developer (last modified 4 years ago) and you will be left with all the questions and bugs one on one.
Which tool has a better predictor - roll a test on the formation of frequency relations of lemmas and set it on habr, for example. And then look at the result (I think it will not even differ) On pymorphy, this is about 20 lines of code. On phpmorphy I think not much more. The result of pymorphy's work on determining the part of speech and pulling out lemmas more than satisfied me.
On speed - the developer of pymorphy states that one of the tasks for him was optimization, so there is a chance that it will work faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question