summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesLav.gf
diff options
context:
space:
mode:
authorNormunds Gruzitis <normundsg@gmail.com>2012-08-18 05:07:10 +0000
committerNormunds Gruzitis <normundsg@gmail.com>2012-08-18 05:07:10 +0000
commit59c97c72b08d5c1fcdcf392c4eda90fcc2a2e2fa (patch)
treeb365dbc4ab243527ac003bfc54bd2e4354ff076c /examples/phrasebook/SentencesLav.gf
parent06c9e4999f8d6ab25ce4c533df45060806ca80ed (diff)
First (public) version of PhrasebookLav
Tested on Actions: - Temp: AHasName, ALike. - ToDo: AHasAge, AHasChildren, AHasRoom, AHasTable. - FixMe (in the resource grammar): + YouPolMale/YouPolFemale agreement (AHungry, AIll, AMarried, AReady, AScared, AThirsty, ATired); + Missing commas in multiple ObjAndObj constructions (AWant); + Use (the currently missing) Irreg_Give (AWantGo).
Diffstat (limited to 'examples/phrasebook/SentencesLav.gf')
-rw-r--r--examples/phrasebook/SentencesLav.gf33
1 files changed, 33 insertions, 0 deletions
diff --git a/examples/phrasebook/SentencesLav.gf b/examples/phrasebook/SentencesLav.gf
new file mode 100644
index 000000000..34e732762
--- /dev/null
+++ b/examples/phrasebook/SentencesLav.gf
@@ -0,0 +1,33 @@
+concrete SentencesLav of Sentences = NumeralLav ** SentencesI - [
+ NameNN,
+ IFemale,
+ YouFamFemale,
+ YouPolFemale,
+ WeFemale,
+ YouPlurFamFemale,
+ YouPlurPolFemale,
+ TheyFemale
+]
+with
+ (Syntax = SyntaxLav),
+ (Symbolic = SymbolicLav),
+ (Lexicon = LexiconLav) **
+open
+ Prelude,
+ SyntaxLav,
+ (P = ParadigmsLav),
+ ExtraLav
+in {
+ lin
+ NameNN = mkNP (P.mkN "NN") ;
+
+ IFemale = mkPerson i8fem_Pron ;
+ YouFamFemale = mkPerson youSg8fem_Pron ;
+ YouPolFemale = mkPerson youPol8fem_Pron ;
+ WeFemale = mkPerson we8fem_Pron ;
+ YouPlurFamFemale, YouPlurPolFemale = mkPerson youPl8fem_Pron ;
+ TheyFemale = mkPerson they8fem_Pron ;
+
+ --AHaveCurr p curr = mkCl p.name have_V2 (mkNP aPl_Det curr) ;
+ --AHaveCurr p curr = mkCl (mkVP have_V3 (mkNP aPl_Det curr) p.name) ;
+}