-
Notifications
You must be signed in to change notification settings - Fork 3
/
release.sh
executable file
·14 lines (11 loc) · 1.16 KB
/
release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# updating OpenWordnet-PT
python3 -m pyown.cli.update data/own-pt-* --wns dump/wn.jsonl --vts dump/votes.jsonl --sgs dump/suggestion-* -l pt -u arademaker vcvpaiva -o own-pt.nt -v
python3 -m pyown.cli.split own-pt.nt -l pt -e ttl -o data -v
# generating satistics.org
python3 -m pyown.cli.statistics --ownpt data/own-pt-* --ownen data/own-en-* -v
# generating LMFs
wget https://raw.githubusercontent.com/globalwordnet/cili/master/ili-map.ttl
python3 -m pyown.cli.lmf data/own-pt-* ili-map.ttl -li own-pt -lb OpenWordnet-PT -vr 1.0.0 -lg pt -cs 1.0 --email "[email protected]" --url "http://openwordnet-pt.org/" --status "checked" --licence "http://creativecommons.org/licenses/by/4.0/" --citation "http://arademaker.github.io/bibliography/coling2012.html" -o own-pt-lmf-10.xml -v
python3 -m pyown.cli.lmf data/own-en-* ili-map.ttl -li own-en -lb OpenWordnet-EN -vr 1.0.0 -lg en -cs 1.0 --email "[email protected]" --url "http://openwordnet-pt.org/" --status "checked" --licence "http://creativecommons.org/licenses/by/4.0/" --citation "http://arademaker.github.io/bibliography/coling2012.html" -o own-en-lmf-10.xml -v
# remove files
rm ili-map.ttl own-pt.nt log-update log-format