structure_assignment/README

13 lines
402 B
Plaintext
Raw Normal View History

2020-09-30 17:50:00 +00:00
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