Commit 514fff3c authored by Neeme Kahusk's avatar Neeme Kahusk
Browse files

finnish

parent 1e2395eb
......@@ -12,4 +12,5 @@ __email__ = "neeme.kahusk@ut.ee"
import os
# PWN_PATH = '{}/WordNet-3.0/dict'.format(os.environ['HOME'])
PWN_PATH = '%s/Wordnet/WordNet-3.0/dict' % (os.environ['HOME'])
# PWN_PATH = '%s/Wordnet/WordNet-3.0/dict' % (os.environ['HOME'])
PWN_PATH = '%s/Wordnet/FinWN/fiwn-2.0/dict' % (os.environ['HOME'])
......@@ -3,8 +3,9 @@
"""
__author__ = 'Neeme Kahusk <neeme.kahusk@ut.ee>'
__version__ = '0.8'
__date__ = 'R veebr 6 15:48:40 EET 2015'
__version__ = '0.9'
__date__ = 'K veebr 18 14:18:29 EET 2015'
__maintainer__ = "Neeme Kahusk"
__email__ = "neeme.kahusk@ut.ee"
......
......@@ -2,12 +2,11 @@
# usage: vistnoun.sh <start> <pos>
# ulimit will come from data file
i=$1
wnpath=$HOME/Wordnet/WordNet-3.0/dict/
# wnpath=$HOME/Wordnet/WordNet-3.0/dict/
wnpath=$HOME/Wordnet/FinWN/fiwn-2.0/dict
ulimit=$[$(cat $wnpath/data.$2|egrep -v '^ '|wc -l)-1]
echo $ulimit
# ulimit="82115"
while [ $i -lt $ulimit ]
do
j=$[$i+200]
......@@ -15,6 +14,6 @@ do
then j=$[$ulimit+1]
fi
echo $i $j
python visdic.py -p $2 -r 'pwn-30' -s $i -e $j
python visdic.py -p $2 -r 'fin-20' -s $i -e $j
i=$[$i+200]
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment