-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
files for generating verb paradigms. NOTE: verb paradigms taken from …
…crk, should be checked for possible differences in morphological paradigms cwd/crk.
- Loading branch information
Showing
4 changed files
with
705 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
# script to generate paradigms for generating word forms | ||
# command, when you are in smn: | ||
# sh devtools/verb_minip.sh 2SYLL_OD | less | ||
# sh devtools/verb_minip.sh kihlođ | ||
|
||
|
||
LOOKUP=$(echo $LOOKUP) | ||
LOOKUP=$(echo $LOOKUP) | ||
GTLANGS=$(echo $GTLANGS) | ||
|
||
|
||
PATTERN=$1 | ||
L_FILE="in.txt" | ||
cut -d '!' -f1 src/fst/morphology/stems/verb_stems.lexc | egrep $PATTERN | cut -d ':' -f1>$L_FILE | ||
|
||
P_FILE="test/data/testverbparadigmAITI.txt" | ||
|
||
for lemma in $(cat $L_FILE); | ||
do | ||
for form in $(cat $P_FILE); | ||
do | ||
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-cwd/src/fst/generator-gt-norm.xfst | ||
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-cwd/src/fst/generator-gt-norm.hfstol | ||
done | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
|
||
# script to generate paradigms for generating word forms | ||
# command, when you are in smn: | ||
# sh devtools/verb_minip.sh 2SYLL_OD | less | ||
# sh devtools/verb_minip.sh kihlođ | ||
|
||
|
||
LOOKUP=$(echo $LOOKUP) | ||
HLOOKUP=$(echo $HLOOKUP) | ||
GTLANGS=$(echo $GTLANGS) | ||
|
||
|
||
PATTERN=$1 | ||
L_FILE="in.txt" | ||
cut -d '!' -f1 src/fst/morphology/stems/verb_stems.lexc | egrep $PATTERN | cut -d ':' -f1>$L_FILE | ||
|
||
P_FILE="test/data/testverbparadigmTA.txt" | ||
|
||
for lemma in $(cat $L_FILE); | ||
do | ||
for form in $(cat $P_FILE); | ||
do | ||
# echo "${lemma}${form}" | $LOOKUP $GTLANGS/lang-cwd/src/fst/generator-gt-norm.xfst | ||
echo "${lemma}${form}" | $HLOOKUP $GTLANGS/lang-cwd/src/fst/generator-gt-norm.hfstol | ||
done | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
!!IMPERATIVE | ||
|
||
+V+AI+Imp+Imm+2Sg | ||
+V+AI+Imp+Imm+12Pl | ||
+V+AI+Imp+Imm+2Pl | ||
+V+AI+Imp+Del+2Sg | ||
+V+AI+Imp+Del+12Pl | ||
+V+AI+Imp+Del+2Pl | ||
|
||
|
||
!!IND-PRESENT-TENSE | ||
|
||
+V+AI+Ind+Prs+1Sg | ||
+V+AI+Ind+Prs+2Sg | ||
+V+AI+Ind+Prs+3Sg | ||
+V+AI+Ind+Prs+1Pl | ||
+V+AI+Ind+Prs+12Pl | ||
+V+AI+Ind+Prs+2Pl | ||
+V+AI+Ind+Prs+3Pl | ||
+V+AI+Ind+Prs+4Sg/Pl | ||
+V+AI+Ind+Prs+5Sg/Pl | ||
+V+AI+Ind+Prs+X | ||
|
||
|
||
!!IND-PAST-TENSE | ||
|
||
+V+AI+Ind+Prt+1Sg | ||
+V+AI+Ind+Prt+2Sg | ||
+V+AI+Ind+Prt+3Sg | ||
+V+AI+Ind+Prt+1Pl | ||
+V+AI+Ind+Prt+12Pl |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