diff options
| author | aarne <aarne@chalmers.se> | 2010-04-09 14:37:25 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-04-09 14:37:25 +0000 |
| commit | d505fa5b6737b6b78fb65161cea3c2ac175494ab (patch) | |
| tree | 316a778a7869c6d264e2cb4850f032a39cdbe16b /examples/phrasebook/SentencesI.gf | |
| parent | 1903fe8bf99cf6f567669a803f4b725478309ad3 (diff) | |
generalized the Person category in Phrasebook to plurals, added some new Words
Diffstat (limited to 'examples/phrasebook/SentencesI.gf')
| -rw-r--r-- | examples/phrasebook/SentencesI.gf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/phrasebook/SentencesI.gf b/examples/phrasebook/SentencesI.gf index 584c5cfbd..ba85af671 100644 --- a/examples/phrasebook/SentencesI.gf +++ b/examples/phrasebook/SentencesI.gf @@ -20,7 +20,7 @@ incomplete concrete SentencesI of Sentences = Numeral ** Currency = CN ; Price = NP ; Action = Cl ; - Person = {name : NP ; isPron : Bool ; poss : Det} ; + Person = {name : NP ; isPron : Bool ; poss : Quant} ; Nationality = {lang : NP ; prop : A ; country : NP} ; Language = NP ; Citizenship = A ; @@ -96,7 +96,7 @@ incomplete concrete SentencesI of Sentences = Numeral ** Today = today_Adv ; PersonName n = - {name = n ; isPron = False ; poss = mkDet he_Pron} ; -- poss not used + {name = n ; isPron = False ; poss = mkQuant he_Pron} ; -- poss not used ---- NameString s = symb s ; NameNN = symb "NN" ; @@ -107,7 +107,7 @@ incomplete concrete SentencesI of Sentences = Numeral ** oper mkPhrase : Utt -> Text = \u -> lin Text u ; -- no punctuation - mkPerson : Pron -> {name : NP ; isPron : Bool ; poss : Det} = \p -> - {name = mkNP p ; isPron = True ; poss = mkDet p} ; + mkPerson : Pron -> {name : NP ; isPron : Bool ; poss : Quant} = \p -> + {name = mkNP p ; isPron = True ; poss = mkQuant p} ; } |
