mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-18 15:42:50 -06:00
disambiguation in Phrasebook grammars, PGF server, and the GUI
This commit is contained in:
@@ -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
|
||||
}
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user