summaryrefslogtreecommitdiff
path: root/examples/uusisuomi/Nominal.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-01-06 12:16:07 +0000
committeraarne <aarne@cs.chalmers.se>2008-01-06 12:16:07 +0000
commit330350325f79f8a229abe3ed460c814464d574e7 (patch)
tree1c960828187df2cdcb79858fd58ef0cfde638367 /examples/uusisuomi/Nominal.gf
parent238dba62642686b2d1354885cefa94088d4a3b2b (diff)
tests for verbs in uusisuomi
Diffstat (limited to 'examples/uusisuomi/Nominal.gf')
-rw-r--r--examples/uusisuomi/Nominal.gf13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/uusisuomi/Nominal.gf b/examples/uusisuomi/Nominal.gf
index 349c7dae2..e9973f95d 100644
--- a/examples/uusisuomi/Nominal.gf
+++ b/examples/uusisuomi/Nominal.gf
@@ -21,6 +21,19 @@ resource Nominal = ResFin ** open MorphoFin,Declensions,CatFin,Prelude in {
mkA : (hyva,parempi,paras : N) -> (hyvin,paremmin,parhaiten : Str) -> A ;
} ;
+ showN : N -> Utt = \talo ->
+ let t = talo.s in ss (
+ t ! NCase Sg Nom ++
+ t ! NCase Sg Gen ++
+ t ! NCase Sg Part ++
+ t ! NCase Sg Ess ++
+ t ! NCase Sg Illat ++
+ t ! NCase Pl Gen ++
+ t ! NCase Pl Part ++
+ t ! NCase Pl Ess ++
+ t ! NCase Pl Iness ++
+ t ! NCase Pl Illat
+ ) ** {lock_Utt = <>} ;
mkN = overload {
mkN : (talo : Str) -> N = mk1N ;