This is an old version; the new version has been integrated into the DPD exporter:
https://github.com/digitalpalidictionary/dpd-db/
Generate all inflections from scratch and write to CSV, HTML and text.
Run following commands from the root directory of the repo
Create and activate a Python environment:
python3 -m venv env
source env/bin/activatesource command should be run for every new shell.
Creating an environment is optional but recommended.
Install the package:
pip3 install -e .
-eflag makes installations editable, i.e. package may be edited in place without reinstallation.
Directory with the dictionary sources may be set with DPS_DIR environment
variable:
export DPS_DIR='/PATH/TO/DIR/'DPS_DIR directory expected to contain spreadsheets subdirectory with CSV
files.
Run generator with command:
inflection-generator --kind DPSOr in an old style:
python3 'inflection generator.py'