mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
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 --:
|
||||
= 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
|
||||
|
||||
-- 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 =>
|
||||
let
|
||||
agr = AgP2 (numImp n) ;
|
||||
verb = infVP VVInf vp agr ;
|
||||
verb = infVP VVAux vp agr ;
|
||||
dont = case pol of {
|
||||
CNeg True => "don't" ;
|
||||
CNeg False => "do" ++ "not" ;
|
||||
|
||||
Reference in New Issue
Block a user