summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesIta.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-05-26 14:11:23 +0000
committeraarne <aarne@chalmers.se>2010-05-26 14:11:23 +0000
commit231c63aa419dfb442a9225126bca064b5287666f (patch)
treed21c9625f5de1ccfaa5a4debdd9087d4d36b7705 /examples/phrasebook/SentencesIta.gf
parent0f82695c310d571b5cce8e806581acd604508551 (diff)
Ita and Fre superlatives, Ita possessives, in Phrasebook
Diffstat (limited to 'examples/phrasebook/SentencesIta.gf')
-rw-r--r--examples/phrasebook/SentencesIta.gf22
1 files changed, 12 insertions, 10 deletions
diff --git a/examples/phrasebook/SentencesIta.gf b/examples/phrasebook/SentencesIta.gf
index 93b8355ff..d76107579 100644
--- a/examples/phrasebook/SentencesIta.gf
+++ b/examples/phrasebook/SentencesIta.gf
@@ -1,5 +1,6 @@
concrete SentencesIta of Sentences = NumeralIta ** SentencesI - [
- IFemale, YouFamFemale, YouPolFemale, IMale, YouFamMale, YouPolMale
+ IFemale, YouFamFemale, YouPolFemale, IMale, YouFamMale, YouPolMale,
+ mkPerson, Superlative
]
with
(Syntax = SyntaxIta),
@@ -9,21 +10,21 @@ concrete SentencesIta of Sentences = NumeralIta ** SentencesI - [
lincat
Place = NPPlace ; -- {name : NP ; at : Adv ; to : Adv ; } ;
-
-
+ Superlative = {s : A ; isPre : Bool} ;
+
lin
IFemale =
- {name = mkNP (ProDrop i8fem_Pron) ; isPron = True ; poss = mkQuant i_Pron} ;
+ {name = mkNP (ProDrop i8fem_Pron) ; isPron = True ; poss = PossFamQuant i_Pron} ;
YouFamFemale =
- {name = mkNP (ProDrop youSg8fem_Pron) ; isPron = True ; poss = mkQuant youSg_Pron} ;
+ {name = mkNP (ProDrop youSg8fem_Pron) ; isPron = True ; poss = PossFamQuant youSg_Pron} ;
YouPolFemale =
- {name = mkNP (ProDrop youPol8fem_Pron) ; isPron = True ; poss = mkQuant youPol_Pron};
+ {name = mkNP (ProDrop youPol8fem_Pron) ; isPron = True ; poss = PossFamQuant youPol_Pron};
IMale =
- {name = mkNP (ProDrop i_Pron) ; isPron = True ; poss = mkQuant i_Pron} ;
+ {name = mkNP (ProDrop i_Pron) ; isPron = True ; poss = PossFamQuant i_Pron} ;
YouFamMale =
- {name = mkNP (ProDrop youSg_Pron) ; isPron = True ; poss = mkQuant youSg_Pron} ;
+ {name = mkNP (ProDrop youSg_Pron) ; isPron = True ; poss = PossFamQuant youSg_Pron} ;
YouPolMale =
- {name = mkNP (ProDrop youPol_Pron) ; isPron = True ; poss = mkQuant youPol_Pron} ;
+ {name = mkNP (ProDrop youPol_Pron) ; isPron = True ; poss = PossFamQuant youPol_Pron} ;
oper
@@ -42,7 +43,8 @@ concrete SentencesIta of Sentences = NumeralIta ** SentencesI - [
to = mkAdv kind.to name
} ;
-
+ mkPerson : Pron -> {name : NP ; isPron : Bool ; poss : Quant} = \p ->
+ {name = mkNP p ; isPron = True ; poss = PossFamQuant p} ;
}