Installation

Currently we support the installation with pip and manually

Note

Prerequisites: python version ^3.7.1,<3.10

With PIP

You can simply install the package from PyPI by executing the following command:

pip install orkgnlp

Manually

You can also install the package manually by cloning the repository and building the package using Poetry and then installing it with pip.

Note

You need to replace x.x.x in the following command with the latest version mentioned in orkg-nlp-pypi/pyproject.toml

git clone https://gitlab.com/TIBHannover/orkg/nlp/orkg-nlp-pypi.git
cd orkg-nlp-pypi
poetry build
pip install dist/orkgnlp-x.x.x-py3-none-any.whl # consider replacing x.x.x with the latest version

Verify Installation

Now you can verify your installation with the following line:

import orkgnlp

If no error pops up, you are free to enjoy it! Check our basic usage or jump right away to our services.