Strix uses virtuals envs for python version and virtual environment management. To get running:
- Create the virtual environment using
python -m venv .venv
. (Python 3 needed) - Activate the virtual environment with
source .venv/bin/activate
.
pip install --upgrade pip
pip install -e .
cd ..
git clone [email protected]:spraakbanken/strix-config-reader.git
git clone [email protected]:spraakbanken/strix-settings-sb.git
- cd strix-pipeline
- Update
settings_dir
inconfig.yml
- pip install -e ../strix-config-configurer
Copy config.yml.example to config.yml and make your changes. This file will be picked up by
default, but it is also possible to run script with --config path/to/config.yml
.
Make sure that the text and settings directories are properly configured:
texts_dir: /home/strix/texts
settings_dir: /home/strix/settings
Clone and build plugin, add to ES plugin folder before starting ES.