disambiguation in Phrasebook grammars, PGF server, and the GUI

This commit is contained in:
aarne
2010-03-30 15:39:11 +00:00
parent 92d51c8ca3
commit 0e91a4d84d
23 changed files with 151 additions and 129 deletions

View File

@@ -2,15 +2,15 @@ resource Roles = {
param
Gender = Male | Female ;
Politeness = Polite | Familiar ;
Politeness = PPolite | PFamiliar ;
oper
RolePhrase : Type = {s : Politeness => Gender => Gender => Str} ;
politeDistinct : (_,_ : Str) -> RolePhrase = \pol,fam -> {
s = table {
Polite => \\_,_ => pol ;
Familiar => \\_,_ => fam
PPolite => \\_,_ => pol ;
PFamiliar => \\_,_ => fam
}
} ;