Installation#
Perke is a Python package, which means you need to download and install Python from python.org if you haven’t already. Once you have Python installed, follow bellow steps:
The easiest way to install is from PyPI:
pip install perke
Alternatively, you can install directly from GitHub:
pip install git+https://github.com/alirezatheh/perke.git
Perke also requires a trained POS tagger model. We use hazm’s tagger model. You can download this model using the following command:
python -m perke download
Alternatively, you can use another model with same tag names and structure, and put it in the resources directory.