forked from GitHub/gf-rgl
mkTemp in api; Inf to aux in SentenceEng bug fix
This commit is contained in:
@@ -275,6 +275,14 @@ incomplete resource Constructors = open Grammar in { --%
|
|||||||
conditionalTense : Tense -- she would sleep --# notpresent --:
|
conditionalTense : Tense -- she would sleep --# notpresent --:
|
||||||
= TCond ; --# notpresent --%
|
= TCond ; --# notpresent --%
|
||||||
|
|
||||||
|
--3 Temp, temporal and aspectual features
|
||||||
|
|
||||||
|
-- Temp is a combination of Tense and Ant. In extra modules for some
|
||||||
|
-- languages, it can also involve aspect and other things.
|
||||||
|
|
||||||
|
mkTemp : Tense -> Ant -> Temp
|
||||||
|
= TTAnt ; --%
|
||||||
|
|
||||||
--3 ImpForm, imperative form
|
--3 ImpForm, imperative form
|
||||||
|
|
||||||
-- Imperative form is a parameter that sets the form of imperative
|
-- Imperative form is a parameter that sets the form of imperative
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ concrete SentenceEng of Sentence = CatEng ** open Prelude, ResEng in {
|
|||||||
s = \\pol,n =>
|
s = \\pol,n =>
|
||||||
let
|
let
|
||||||
agr = AgP2 (numImp n) ;
|
agr = AgP2 (numImp n) ;
|
||||||
verb = infVP VVInf vp agr ;
|
verb = infVP VVAux vp agr ;
|
||||||
dont = case pol of {
|
dont = case pol of {
|
||||||
CNeg True => "don't" ;
|
CNeg True => "don't" ;
|
||||||
CNeg False => "do" ++ "not" ;
|
CNeg False => "do" ++ "not" ;
|
||||||
|
|||||||
Reference in New Issue
Block a user