mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
disambiguation in Phrasebook grammars, PGF server, and the GUI
This commit is contained in:
@@ -8,14 +8,6 @@ concrete PhrasebookEng of Phrasebook =
|
||||
Prelude in {
|
||||
|
||||
lin
|
||||
PSentence s = mkText s | lin Text (mkUtt s) ; -- optional .
|
||||
PQuestion s = mkText s | lin Text (mkUtt s) ; -- optional ?
|
||||
PGreeting g = lin Text (ss g.s) ;
|
||||
---- PGreeting p s h g = mkPhrase (g.s ++ p.s ++ s.s ++ h.s) ;
|
||||
|
||||
Male = {s = [] ; g = R.Male} ;
|
||||
Female = {s = [] ; g = R.Female} ;
|
||||
Polite = {s = [] ; p = R.Polite} ;
|
||||
Familiar = {s = [] ; p = R.Familiar} ;
|
||||
PGreeting p g = mkText (lin Text g) (lin Text (ss p.s)) ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user