summaryrefslogtreecommitdiff
path: root/examples/uusisuomi/Makefile
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-01-02 16:54:22 +0000
committeraarne <aarne@cs.chalmers.se>2008-01-02 16:54:22 +0000
commitcbfb9d5e7d76616b5490083a9f4071fd977c2ec0 (patch)
treebdbd570e6615b2fe2aa0c6033472750d0f5b75fc /examples/uusisuomi/Makefile
parentb3da2791fdea27bd5061ad939e31915e36c03f1d (diff)
experiment with Finnish morphology
Diffstat (limited to 'examples/uusisuomi/Makefile')
-rw-r--r--examples/uusisuomi/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/uusisuomi/Makefile b/examples/uusisuomi/Makefile
new file mode 100644
index 000000000..d3a8d96c2
--- /dev/null
+++ b/examples/uusisuomi/Makefile
@@ -0,0 +1,23 @@
+LEX=Omat
+
+all: tests
+
+gf-files:
+ runghc MkLex.hs 0 > $(LEX)Abs.gf
+ runghc MkLex.hs 1 > $(LEX)1.gf
+ runghc MkLex.hs 2 > $(LEX)2.gf
+ runghc MkLex.hs 3 > $(LEX)3.gf
+ runghc MkLex.hs 4 > $(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