needed for Sevilla lights

This commit is contained in:
aarne
2004-12-10 11:24:42 +00:00
parent a3b75f842f
commit bb5c5066bd
20 changed files with 663 additions and 13 deletions

View File

@@ -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 ;

View File

@@ -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)