mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
needed for Sevilla lights
This commit is contained in:
@@ -31,6 +31,9 @@ lin
|
||||
SymbCN cn s =
|
||||
{s = \\n => cn.s ! n ++ s.s ;
|
||||
g = cn.g} ;
|
||||
IntCN cn i =
|
||||
{s = \\n => cn.s ! n ++ i.s ;
|
||||
g = cn.g} ;
|
||||
|
||||
CNthatS = nounThatSentence ;
|
||||
|
||||
|
||||
@@ -407,6 +407,11 @@ oper
|
||||
VPF _ f => nombreVerb f
|
||||
} ;
|
||||
|
||||
isNotImperative : VPForm -> Bool = \v -> case v of {
|
||||
VPF _ (VImper _) => False ;
|
||||
_ => True
|
||||
} ;
|
||||
|
||||
-- Predication is language-dependent in the negative case.
|
||||
|
||||
predVerb : Verb -> VerbGroup = \aller ->
|
||||
@@ -520,7 +525,7 @@ oper
|
||||
Jean = jean.s ! (case2pformClit aime.c) ;
|
||||
AAime = formVerb2 aime g w ;
|
||||
A = AAime.verb ;
|
||||
clit = (andB (isNounPhraseClit jean) (isTransVerbClit aime)) ;
|
||||
clit = (andB (isNounPhraseClit jean) (andB (isTransVerbClit aime) (isNotImperative w))) ;
|
||||
Aime = if_then_Str clit
|
||||
(AAime.part ! pgen2gen jean.g ! jean.n)
|
||||
(AAime.part ! Masc ! Sg)
|
||||
|
||||
Reference in New Issue
Block a user