-
Notifications
You must be signed in to change notification settings - Fork 41
Optional features and dependencies
The core of Annif can be installed from PyPI with a single command. It consists of pure Python code and the only requirement with native code dependencies is NumPy.
There are some optional features that depend on external native code libraries:
Assuming you are using Ubuntu, you fill first need to install the libvoikko1
and voikko-fi
packages:
sudo apt install libvoikko1 voikko-fi
Then install the optional feature:
pip install annif[voikko]
Using the fastText backend requires installing the fastText Python wrapper, which compiles into native code and is not included by default when installing Annif. We use the fasttextmirror package from PyPI. You can install the optional dependencies like this:
pip install annif[fasttext]
Alternatively (e.g. if you have installed Annif from GitHub), you can just install the required fasttextmirror
package directly:
pip install fasttextmirror
- Home
- Getting started
- System requirements
- Optional features and dependencies
- Usage with Docker
- Architecture
- Commands
- Web user interface
- REST API
- Corpus formats
- Project configuration
- Analyzers
- Transforms
- Language detection
- Hugging Face Hub integration
- Achieving good results
- Reusing preprocessed training data
- Running as a WSGI service
- Backward compatibility between Annif releases
- Backends
- Development flow, branches and tags
- Release process
- Creating a new backend