Path to mystem binary by default. If not set, will use pymystem3.constants.MYSTEM_BIN.
Full path to mystem binary
Directory of mystem binary
Name of mystem binary
A Python wrapper of the Yandex Mystem 3.0 morphological analyzer.
Bases: object
Wrap mystem binary to be able it use from Python.
The two main methods you may use are the __init__() initializer, and the analyze() method to process your data and get mystem output results.
Parameters: |
---|
Note
Default value of mystem_bin can be overwritted by MYSTEM_BIN.
Make morphology analysis for a text.
Parameters: | text (str) – text to analyze |
---|---|
Returns: | result of morphology analysis. |
Return type: | dict |
Install mystem binary as MYSTEM_BIN. Do nothing if already installed.
Install mystem binary as MYSTEM_BIN. Overwrite if already installed.