structure_assignment/README

13 lines
402 B
Plaintext

Pipeline for assigning (first creating, if necessary) superbaza
structure_ids to a file of arbitrary Slovene strings, line by line.
Example usage:
$ cd scripts
$ ./setup.sh
$ echo "velika miza" > ../tmp/strings.txt
$ echo "kdo ne more mimo česa" >> ../tmp/strings.txt
$ echo "pazi, avto!" >> ../tmp/strings.txt
$ source ../venv/bin/activate
$ python pipeline.py ../tmp/strings.txt ../tmp/output.xml