summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesBul.gf
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-05-30 13:16:35 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-05-30 13:16:35 +0000
commit51ae8bbce18d4af930f79d22293c9dc7614a9e3d (patch)
treeac9bc25ba7fe16554176871b73b1a4c841e6f2a0 /examples/phrasebook/SentencesBul.gf
parent0893473aaca085d2bfc12cd404940c27c2a0b64e (diff)
the Bulgarian phrasebook works again
Diffstat (limited to 'examples/phrasebook/SentencesBul.gf')
-rw-r--r--examples/phrasebook/SentencesBul.gf10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/phrasebook/SentencesBul.gf b/examples/phrasebook/SentencesBul.gf
index 4f6d6317f..1b5d453c7 100644
--- a/examples/phrasebook/SentencesBul.gf
+++ b/examples/phrasebook/SentencesBul.gf
@@ -29,8 +29,14 @@ lin YouFamMale = mkPerson youSg_Pron ;
lin ACitizen p cit =
let noun : N
= case p.name.a.gn of {
- R.GSg g => lin N {s = \\nf => cit.s1 ! g ! nf; g = case g of {R.Masc=>R.AMasc R.Human; R.Fem=>R.AFem; R.Neut=>R.ANeut}} ;
- R.GPl => lin N {s = \\nf => cit.s1 ! R.Masc ! nf; g = R.AMasc R.Human}
+ R.GSg g => lin N {s = \\nf => cit.s1 ! g ! nf;
+ rel = cit.s2.s;
+ g = case g of {R.Masc=>R.AMasc R.Human; R.Fem=>R.AFem; R.Neut=>R.ANeut}
+ } ;
+ R.GPl => lin N {s = \\nf => cit.s1 ! R.Masc ! nf;
+ rel = cit.s2.s;
+ g = R.AMasc R.Human
+ }
} ;
in mkCl p.name noun ;