2019-01-25 11:03:28 +00:00
|
|
|
# Navodila
|
|
|
|
|
|
|
|
Potrebne datoteke:
|
|
|
|
|
|
|
|
* korpus v "ssj500k obliki"
|
|
|
|
* definicije struktur
|
|
|
|
* Python 3.5+
|
|
|
|
|
|
|
|
Priporocam: pypy3 paket za hitrejse poganjanje.
|
|
|
|
|
2020-07-20 13:52:01 +00:00
|
|
|
Primer uporabe: `python3 wani.py ssj500k.xml Kolokacije_strukture.xml izhod.csv`
|
|
|
|
|
|
|
|
## Instructions for running on GF
|
|
|
|
|
|
|
|
Suggested running with saved mysql file in tmpfs. Instructions:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo mkdir /mnt/tmp
|
|
|
|
sudo mount -t tmpfs tmpfs /mnt/tmp
|
2020-08-20 14:13:22 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
If running on big corpuses (ie. Gigafida have database in RAM):
|
|
|
|
```bash
|
|
|
|
sudo mount -t tmpfs tmpfs /mnt/tmp
|
|
|
|
sudo mount -o remount,size=110G,noexec,nosuid,nodev,noatime /mnt/tmp
|
2020-07-20 13:52:01 +00:00
|
|
|
```
|