mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
restored the use of conjunctCase in romance
This commit is contained in:
@@ -50,9 +50,9 @@ oper
|
||||
_ => prepCase c ++ artDef g Sg (CPrep P_de)
|
||||
} ;
|
||||
|
||||
conjunctCase : NPForm -> NPForm = \c -> case c of {
|
||||
Ton Nom | Aton Nom => Ton Nom ;
|
||||
_ => Ton Acc
|
||||
conjunctCase : Case -> Case = \c -> case c of {
|
||||
Nom => Nom ;
|
||||
_ => Acc
|
||||
} ;
|
||||
|
||||
auxVerb : VType -> (VF => Str) = \_ -> haver_V.s ;
|
||||
|
||||
@@ -47,10 +47,7 @@ instance DiffFre of DiffRomance = open CommonRomance, PhonoFre, Prelude in {
|
||||
_ => prepCase c ++ artDef g Sg (CPrep P_de)
|
||||
} ;
|
||||
|
||||
conjunctCase : NPForm -> NPForm = \c -> case c of {
|
||||
Aton k => Ton k ;
|
||||
_ => c
|
||||
} ;
|
||||
conjunctCase : Case -> Case = \c -> c ;
|
||||
|
||||
auxVerb : VType -> (VF => Str) = \vtyp -> case vtyp of {
|
||||
VHabere => avoir_V.s ;
|
||||
|
||||
@@ -62,9 +62,9 @@ instance DiffIta of DiffRomance = open CommonRomance, PhonoIta, BeschIta, Prelud
|
||||
_ => prepCase c ++ artDef g Sg (CPrep P_di)
|
||||
} ;
|
||||
|
||||
conjunctCase : NPForm -> NPForm = \c -> case c of {
|
||||
Ton Nom | Aton Nom => Ton Nom ;
|
||||
_ => Ton Acc
|
||||
conjunctCase : Case -> Case = \c -> case c of {
|
||||
Nom => Nom ;
|
||||
_ => Acc
|
||||
} ;
|
||||
|
||||
auxVerb : VType -> (VF => Str) = \vtyp -> case vtyp of {
|
||||
|
||||
@@ -32,11 +32,11 @@ incomplete concrete ConjunctionRomance of Conjunction =
|
||||
ConsAdv = consrSS comma ;
|
||||
BaseNP x y = {
|
||||
s1 = \\c => (x.s ! c).ton ;
|
||||
s2 = \\c => (y.s ! c).ton ; ----e (conjunctCase c) ;
|
||||
s2 = \\c => (y.s ! conjunctCase c).ton ; ----e (conjunctCase c) ;
|
||||
a = conjAgr x.a y.a
|
||||
} ;
|
||||
ConsNP x xs = {
|
||||
s1 = \\c => (x.s ! c).ton ++ comma ++ xs.s1 ! c ; ----e (conjunctCase c) ;
|
||||
s1 = \\c => (x.s ! c).ton ++ comma ++ xs.s1 ! conjunctCase c ; ----e (conjunctCase c) ;
|
||||
s2 = \\c => xs.s2 ! c ; ----e (conjunctCase c) ;
|
||||
a = conjAgr x.a xs.a
|
||||
} ;
|
||||
|
||||
@@ -34,7 +34,7 @@ interface DiffRomance = open CommonRomance, Prelude in {
|
||||
-- Whether a preposition is repeated in conjunction
|
||||
-- (Fre "la somme de 3 et de 4", Ita "la somma di 3 e 4").
|
||||
|
||||
oper conjunctCase : NPForm -> NPForm ;
|
||||
oper conjunctCase : Case -> Case ;
|
||||
|
||||
-- How infinitives and clitics are placed relative to each other
|
||||
-- (Fre "la voir", Ita "vederla"). The $Bool$ is used for indicating
|
||||
|
||||
@@ -47,9 +47,9 @@ instance DiffSpa of DiffRomance = open CommonRomance, PhonoSpa, BeschSpa, Prelud
|
||||
} ;
|
||||
-}
|
||||
|
||||
conjunctCase : NPForm -> NPForm = \c -> case c of {
|
||||
Ton Nom | Aton Nom => Ton Nom ;
|
||||
_ => Ton Acc
|
||||
conjunctCase : Case -> Case = \c -> case c of {
|
||||
Nom => Nom ;
|
||||
_ => Acc
|
||||
} ;
|
||||
|
||||
auxVerb : VType -> (VF => Str) = \_ -> haber_V.s ;
|
||||
|
||||
Reference in New Issue
Block a user