summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesFre.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-04-05 16:36:38 +0000
committeraarne <aarne@chalmers.se>2010-04-05 16:36:38 +0000
commit2ced613d81b1fb93e3e60c974eee73a8872d7093 (patch)
tree1cf145a675fc1e69210b41810cf50688493236a1 /examples/phrasebook/SentencesFre.gf
parentc87fe6f0f6e95b5e9c1eddc7b83de4ce36b6958e (diff)
generalized and extended Phrasebook in many ways
Diffstat (limited to 'examples/phrasebook/SentencesFre.gf')
-rw-r--r--examples/phrasebook/SentencesFre.gf20
1 files changed, 16 insertions, 4 deletions
diff --git a/examples/phrasebook/SentencesFre.gf b/examples/phrasebook/SentencesFre.gf
index c4bbc842f..201db3323 100644
--- a/examples/phrasebook/SentencesFre.gf
+++ b/examples/phrasebook/SentencesFre.gf
@@ -1,10 +1,22 @@
-concrete SentencesFre of Sentences = NumeralFre ** SentencesI - [WhetherIs, QAction]
+concrete SentencesFre of Sentences = NumeralFre ** SentencesI - [
+ QProp,
+ IFemale, YouFamFemale, YouPolFemale
+ ]
with
(DiffPhrasebook = DiffPhrasebookFre),
- (Syntax = SyntaxFre) ** open SyntaxFre, ExtraFre in {
+ (Syntax = SyntaxFre),
+ (Symbolic = SymbolicFre),
+ (Lexicon = LexiconFre) **
+ open SyntaxFre, ExtraFre, Prelude in {
lin
- WhetherIs item quality = lin QS {s = \\_ => (EstcequeS (mkS (mkCl item quality))).s} ;
- QAction a = lin QS {s = \\_ => (EstcequeS (mkS a)).s} ;
+ QProp a =
+ lin QS {s = \\_ => (EstcequeS (mkS a)).s} ;
+ IFemale =
+ {name = mkNP i8fem_Pron ; isPron = True ; poss = mkDet i_Pron} ;
+ YouFamFemale =
+ {name = mkNP youSg8fem_Pron ; isPron = True ; poss = mkDet youSg_Pron} ;
+ YouPolFemale =
+ {name = mkNP youPol8fem_Pron ; isPron = True ; poss = mkDet youPol_Pron};
}