Skip to content

Commit

Permalink
hfst
Browse files Browse the repository at this point in the history
  • Loading branch information
Trondtr committed Feb 3, 2025
1 parent 548fa40 commit 7e96ff0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions devtools/verb_minip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GTLANGS=$(echo $GTLANGS)

PATTERN=$1
L_FILE="in.txt"
cut -d '!' -f1 src/fst/stems/verbs.lexc | egrep $PATTERN | cut -d ':' -f1>$L_FILE
cut -d '!' -f1 src/fst/morphology/stems/verbs.lexc | egrep $PATTERN | cut -d ':' -f1>$L_FILE

#P_FILE="test/data/testverbparadigm.txt"
P_FILE="test/data/testverbparadigm_kort.txt"
Expand All @@ -21,8 +21,8 @@ for lemma in $(cat $L_FILE);
do
for form in $(cat $P_FILE);
do
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-fao/src/generator-gt-norm.hfstol
# echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-fao/src/generator-gt-desc.hfstol
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-fao/src/fst/generator-gt-norm.hfstol
# echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-fao/src/fst/generator-gt-desc.hfstol
done
rm -f $L_FILE
done
Expand Down

0 comments on commit 7e96ff0

Please sign in to comment.