summaryrefslogtreecommitdiff
path: root/next-lib/src/finnish/PhraseFin.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-09-22 11:49:15 +0000
committeraarne <aarne@cs.chalmers.se>2008-09-22 11:49:15 +0000
commit98665df78b8018af30051cb4a9a31f845e0ba19d (patch)
tree67ba30b09e2b9590a00a4b193bf7611caa935af8 /next-lib/src/finnish/PhraseFin.gf
parent4862018f140a1bdcc7961d445ed9aa92facd742f (diff)
moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH
Diffstat (limited to 'next-lib/src/finnish/PhraseFin.gf')
-rw-r--r--next-lib/src/finnish/PhraseFin.gf24
1 files changed, 24 insertions, 0 deletions
diff --git a/next-lib/src/finnish/PhraseFin.gf b/next-lib/src/finnish/PhraseFin.gf
new file mode 100644
index 000000000..1b8e55b08
--- /dev/null
+++ b/next-lib/src/finnish/PhraseFin.gf
@@ -0,0 +1,24 @@
+concrete PhraseFin of Phrase = CatFin ** open ResFin in {
+
+ lin
+ PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
+
+ UttS s = s ;
+ UttQS qs = {s = qs.s} ;
+ UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! Sg} ;
+ UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! Pl} ;
+ UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! Pl} ;
+
+ UttIP ip = {s = ip.s ! NPCase Nom} ;
+ UttIAdv iadv = iadv ;
+ UttNP np = {s = np.s ! NPCase Nom} ;
+ UttVP vp = {s = infVP (NPCase Nom) Pos (agrP3 Sg) vp Inf1} ;
+ UttAdv adv = adv ;
+
+ NoPConj = {s = []} ;
+ PConjConj conj = {s = conj.s2} ;
+
+ NoVoc = {s = []} ;
+ VocNP np = {s = "," ++ np.s ! NPCase Nom} ;
+
+}