Skip to content

Commit 706e0bd

Browse files
committed
hfst
1 parent 4061bfc commit 706e0bd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

devtools/noun_minip.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GTLANGS=$(echo $GTLANGS)
1717

1818
PATTERN=$1
1919
L_FILE="in.txt"
20-
cut -d '!' -f1 src/fst/stems/nouns.lexc | egrep $PATTERN | sed 's/% /%/g' | tr ' +' ':' | cut -d ':' -f1 | sed 's/%/% /g' | tr -d '%'>$L_FILE
20+
cut -d '!' -f1 src/fst/morphology/stems/nouns.lexc | egrep $PATTERN | sed 's/% /%/g' | tr ' +' ':' | cut -d ':' -f1 | sed 's/%/% /g' | tr -d '%'>$L_FILE
2121

2222

2323
P_FILE="test/data/testnounpradigm.txt"
@@ -26,8 +26,8 @@ for lemma in $(cat $L_FILE);
2626
do
2727
for form in $(cat $P_FILE);
2828
do
29-
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-olo/src/generator-gt-norm.xfst
30-
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-olo/src/generator-gt-norm.hfst
29+
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-olo/src/fst/generator-gt-norm.xfst
30+
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-olo/src/fst/generator-gt-norm.hfst
3131
done
3232
rm -f $L_FILE
3333
done

devtools/verb_minip.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ GTLANGS=$(echo $GTLANGS)
1313

1414
PATTERN=$1
1515
L_FILE="in.txt"
16-
cut -d '!' -f1 src/fst/stems/verbs.lexc | egrep $PATTERN | sed 's/% /%/g' | tr ' +' ':' | cut -d ':' -f1 | sed 's/%/% /g' | tr -d '%'>$L_FILE
16+
cut -d '!' -f1 src/fst/morphology/stems/verbs.lexc | egrep $PATTERN | sed 's/% /%/g' | tr ' +' ':' | cut -d ':' -f1 | sed 's/%/% /g' | tr -d '%'>$L_FILE
1717

1818

1919
P_FILE="test/data/testverbparadigm.txt"
@@ -22,8 +22,8 @@ for lemma in $(cat $L_FILE);
2222
do
2323
for form in $(cat $P_FILE);
2424
do
25-
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-olo/src/generator-gt-norm.xfst
26-
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-olo/src/generator-gt-norm.hfstol
25+
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-olo/src/fst/generator-gt-norm.xfst
26+
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-olo/src/fst/generator-gt-norm.hfstol
2727
done
2828
rm -f $L_FILE
2929
done

0 commit comments

Comments
 (0)