nounless determiner NPs added; started Backward module - both in exper so far

This commit is contained in:
aarne
2008-04-19 14:34:52 +00:00
parent 45d2af0eb9
commit c4ae27bb53
12 changed files with 131 additions and 72 deletions

View File

@@ -0,0 +1,33 @@
--1 Obsolete constructs included for backward-compatibility
abstract Backward = Cat ** {
fun
-- from Verb 19/4/2008
ComplV2 : V2 -> NP -> VP ; -- use it
ComplV3 : V3 -> NP -> NP -> VP ; -- send a message to her
ComplV2V : V2V -> NP -> VP -> VP ; -- cause it to burn
ComplV2S : V2S -> NP -> S -> VP ; -- tell me that it rains
ComplV2Q : V2Q -> NP -> QS -> VP ; -- ask me who came
ComplV2A : V2A -> NP -> AP -> VP ; -- paint it red
-- from Sentence 19/4/2008
SlashV2 : NP -> V2 -> Slash ; -- (whom) he sees
SlashVVV2 : NP -> VV -> V2 -> Slash; -- (whom) he wants to see
-- from Noun 19/4/2008
NumInt : Int -> Num ; -- 51
OrdInt : Int -> Ord ; -- 51st (DEPRECATED)
-- from Structural 19/4/2008
that_NP : NP ;
these_NP : NP ;
this_NP : NP ;
those_NP : NP ;
}

View File

@@ -80,6 +80,7 @@ abstract Cat = Common ** {
Det ; -- determiner phrase e.g. "those seven"
Predet ; -- predeterminer (prefixed Quant) e.g. "all"
Quant ; -- quantifier ('nucleus' of Det) e.g. "this/these"
Art ; -- article (non-independent Quant) e.g. "the"
Num ; -- cardinal number (used with QuantPl) e.g. "seven"
Ord ; -- ordinal number (used in Det) e.g. "seventh"

View File

@@ -35,24 +35,27 @@ abstract Noun = Cat ** {
-- (This is modified from CLE by further dividing their $Num$ into
-- cardinal and ordinal.)
DetSg : Quant -> Ord -> Det ; -- this best man
DetPl : Quant -> Num -> Ord -> Det ; -- these five best men
DetSg : Art -> Ord -> Det ; -- the best man
DetPl : Art -> Num -> Ord -> Det ; -- the five best men
-- Notice that $DetPl$ can still result in a singular determiner, because
-- "one" is a numeral: "this one man".
-- Quantifiers that have both forms can be used in both ways.
-- Quantifiers can form noun phrases directly.
--- DEPRECATED: no longer needed
--- SgQuant : Quant -> QuantSg ; -- this
--- PlQuant : Quant -> QuantPl ; -- these
DetSgNP : Quant -> Ord -> NP ; -- this
DetPlNP : Quant -> Num -> Ord -> NP ; -- these five
-- Quantifiers can also be used in the same way as articles.
ArtQuant : Quant -> Art ;
-- Pronouns have possessive forms. Genitives of other kinds
-- of noun phrases are not given here, since they are not possible
-- in e.g. Romance languages. They can be found in
-- [``Extra`` ../abstract/Extra.gf].
PossPron : Pron -> Quant ; -- my (house)
PossPron : Pron -> Art ; -- my (house)
-- All parts of the determiner can be empty, except $Quant$, which is
-- the "kernel" of a determiner.
@@ -62,7 +65,6 @@ abstract Noun = Cat ** {
-- $Num$ consists of either digits or numeral words.
NumInt : Int -> Num ; -- 51 (DEPRECATED)
NumDigits : Digits -> Num ; -- 51
NumNumeral : Numeral -> Num ; -- fifty-one
@@ -74,27 +76,32 @@ abstract Noun = Cat ** {
-- $Ord$ consists of either digits or numeral words.
OrdInt : Int -> Ord ; -- 51st (DEPRECATED)
OrdDigits : Digits -> Ord ; -- 51st
OrdNumeral : Numeral -> Ord ; -- fifty-first
-- Superlative forms of adjectives behave syntactically in the same way as
-- ordinals.
OrdSuperl : A -> Ord ; -- largest
OrdSuperl : A -> Ord ; -- largest
-- Ordinals and cardinals can be used as noun phrases alone.
OrdSuperlNP : A -> NP ; -- the largest
OrdNumeralNP : Numeral -> NP ; -- the fiftieth
NumNumeralNP : Numeral -> NP ; -- fifty
-- Definite and indefinite constructions are sometimes realized as
-- neatly distinct words (Spanish "un, unos ; el, los") but also without
-- any particular word (Finnish; Swedish definites).
DefArt : Quant ; -- the (house), the (houses)
IndefArt : Quant ; -- a (house), (houses)
DefArt : Art ; -- the (house), the (houses)
IndefArt : Art ; -- a (house), (houses)
-- Nouns can be used without an article as mass nouns. The resource does
-- not distinguish mass nouns from other common nouns, which can result
-- in semantically odd expressions.
MassDet : Quant ; -- (beer)
MassDet : Art ; -- (beer)
-- Other determiners are defined in [Structural Structural.html].

View File

@@ -66,11 +66,6 @@ abstract Sentence = Cat ** {
AdvS : Adv -> S -> S ; -- today, I will go home
--- Obsolete
SlashV2 : NP -> V2 -> Slash ; -- (whom) he sees
SlashVVV2 : NP -> VV -> V2 -> Slash; -- (whom) he wants to see
}
--.

View File

@@ -75,16 +75,12 @@ abstract Structural = Cat ** {
something_NP : NP ;
somewhere_Adv : Adv ;
that_Quant : Quant ;
that_NP : NP ;
there_Adv : Adv ;
there7to_Adv : Adv ;
there7from_Adv : Adv ;
therefore_PConj : PConj ;
these_NP : NP ;
they_Pron : Pron ;
this_Quant : Quant ;
this_NP : NP ;
those_NP : NP ;
through_Prep : Prep ;
to_Prep : Prep ;
too_AdA : AdA ;

View File

@@ -77,13 +77,4 @@ abstract Verb = Cat ** {
UseVQ : VQ -> V2 ; -- ask (a question)
UseVS : VS -> V2 ; -- know (a secret)
--- Obsolete
ComplV2 : V2 -> NP -> VP ; -- use it
ComplV3 : V3 -> NP -> NP -> VP ; -- send a message to her
ComplV2V : V2V -> NP -> VP -> VP ; -- cause it to burn
ComplV2S : V2S -> NP -> S -> VP ; -- tell me that it rains
ComplV2Q : V2Q -> NP -> QS -> VP ; -- ask me who came
ComplV2A : V2A -> NP -> AP -> VP ; -- paint it red
}