Install KLPT

KLPT is implemented in Python and requires basic knowledge on programming and particularly the Python language. Find out more about Python at https://www.python.org/.

Requirements

pip

Using pip, KLPT releases are available as source packages and binary wheels. Please make sure that a compatible Python version is installed:

pip install klpt

All the data files including lexicons and morphological rules are also installed with the package.

Although KLPT is not dependent on any NLP toolkit, there is one important requirement, particularly for the stem module. That is cyhunspell which should be installed with a version >= 2.0.1.

Import klpt

Once the package is installed, you can import the toolkit as follows:

import klpt

As a principle, the following parameters are widely used in the toolkit: