blob: 96c56c00880d3c173fb4583198d394cce8e7b6c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#LEX=Duodecim
#LEX=Aino
#LEX=Omat
#LEX=NSSK
LEX=Swadesh
all: tests
gf-files:
runghc MkLex.hs 0 $(LEX) > $(LEX)Abs.gf
runghc MkLex.hs 1 $(LEX) > $(LEX)1.gf
runghc MkLex.hs 2 $(LEX) > $(LEX)2.gf
runghc MkLex.hs 3 $(LEX) > $(LEX)3.gf
runghc MkLex.hs 4 $(LEX) > $(LEX)4.gf
experiments: gf-files
echo "gt -cat=Utt | l | wf exper1-$(LEX).txt" | gf $(LEX)1.gf
echo "gt -cat=Utt | l | wf exper2-$(LEX).txt" | gf $(LEX)2.gf
echo "gt -cat=Utt | l | wf exper3-$(LEX).txt" | gf $(LEX)3.gf
echo "gt -cat=Utt | l | wf exper4-$(LEX).txt" | gf $(LEX)4.gf
tests: experiments
runghc MyDiff.hs correct-$(LEX).txt exper1-$(LEX).txt >diff1.txt
runghc MyDiff.hs correct-$(LEX).txt exper2-$(LEX).txt >diff2.txt
runghc MyDiff.hs correct-$(LEX).txt exper3-$(LEX).txt >diff3.txt
runghc MyDiff.hs correct-$(LEX).txt exper4-$(LEX).txt >diff4.txt
wc -l diff?.txt
|