SymbPN and SymbCN in resources

This commit is contained in:
aarne
2004-06-03 19:31:39 +00:00
parent ea15514395
commit 10976cb7f5
13 changed files with 49 additions and 8 deletions

View File

@@ -168,6 +168,9 @@ fun
UseFun : Fun -> CN ; -- "successor"
UseInt : Int -> Num ; -- "32" --- assumes i > 1
SymbPN : String -> PN ; -- "x"
SymbCN : CN -> String -> CN ; -- "number x"
ModAdj : AP -> CN -> CN ; -- "red car"
DetNP : Det -> CN -> NP ; -- "every car"
MassNP : CN -> NP ; -- "wine"

View File

@@ -104,6 +104,11 @@ lin
UseInt i = {s = table {Nom => i.s ; Gen => i.s ++ "'s"}} ; ---
NoNum = noNum ;
SymbPN i = {s = table {Nom => i.s ; Gen => i.s ++ "'s"}} ; ---
SymbCN cn s =
{s = \\n,c => cn.s ! n ! c ++ s.s ;
g = cn.g} ;
PredVP = predVerbPhrase ;
PosVG = predVerbGroup True ;
NegVG = predVerbGroup False ;

View File

@@ -81,6 +81,7 @@ oper
mkFunCN : CN -> Preposition -> Fun ;
funOfCN : CN -> Fun ;
--2 Adjectives
-- Non-comparison one-place adjectives just have one form.

View File

@@ -101,6 +101,11 @@ lin
NoNum = noNum ;
UseInt i = {s = \\_ => i.s ; isNum = True} ; --- case endings sometimes needed
SymbPN i = {s = \\_ => i.s} ; --- case endings often needed
SymbCN cn s =
{s = \\f,n,c => cn.s ! f ! n ! c ++ s.s ;
g = cn.g} ;
CNthatS = nounThatSentence ;
PredVP = predVerbPhrase ;

View File

@@ -109,6 +109,11 @@ lin
PosVG = predVerbGroup True ;
NegVG = predVerbGroup False ;
SymbPN i = {s = \\_ => i.s} ;
SymbCN cn s =
{s = \\a,n,c => cn.s ! a ! n ! c ++ s.s ;
g = cn.g} ;
PredV = predVerb ;
PredAP = predAdjective ;
PredCN = predCommNoun ;

View File

@@ -103,6 +103,11 @@ lin
UseInt i = {s = \\_ => i.s} ;
NoNum = noNum ;
SymbPN i = {s = i.s ; g = Masc} ; --- cannot know gender
SymbCN cn s =
{s = \\n => cn.s ! n ++ s.s ;
g = cn.g} ;
CNthatS = nounThatSentence ;
PredVP = predVerbPhrase ;

View File

@@ -132,6 +132,14 @@ lin
UseInt i = useInt i.s;
NoNum = noNum ;
--- these two by AR 3/6/2004
SymbPN i = {s = \\_ => i.s ; g = Neut ; anim = Inanimate} ; ---
SymbCN cn s =
{s = \\n,c => cn.s ! n ! c ++ s.s ;
g = cn.g ;
anim = cn.anim
} ;
DetNP = detNounPhrase ;
IndefOneNP = indefNounPhrase Sg ;

View File

@@ -103,6 +103,14 @@ lin
UseInt i = {s = table {Nom => i.s ; Gen => i.s ++ "s"}} ; ---
NoNum = noNum ;
SymbPN i = {s = \\_ => i.s ; g = Neutr ; x = NoMasc} ;
SymbCN cn s =
{s = \\a,n,c => cn.s ! a ! n ! c ++ s.s ;
g = cn.g ;
x = cn.x ;
p = cn.p
} ;
CNthatS = nounThatSentence ;
PredVP = predVerbPhrase ;