mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-02 07:42:50 -06:00
made articles and mass syntactic in exper
This commit is contained in:
@@ -24,10 +24,15 @@ fun
|
||||
OrdInt : Int -> Ord ; -- 51st (DEPRECATED)
|
||||
|
||||
-- 20/4
|
||||
DetSg : Art -> Ord -> Det ; -- the best man
|
||||
DetPl : Art -> Num -> Ord -> Det ; -- the five best men
|
||||
DetSg : Quant -> Ord -> Det ; -- the best man
|
||||
DetPl : Quant -> Num -> Ord -> Det ; -- the five best men
|
||||
NoNum : Num ;
|
||||
|
||||
-- 22/4
|
||||
DefArt : Quant ; -- the (house), the (houses)
|
||||
IndefArt : Quant ; -- a (house), (houses)
|
||||
MassDet : Quant ; -- (beer)
|
||||
|
||||
-- from Structural 19/4/2008
|
||||
|
||||
that_NP : NP ;
|
||||
|
||||
@@ -80,7 +80,6 @@ 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"
|
||||
|
||||
|
||||
@@ -36,28 +36,25 @@ abstract Noun = Cat ** {
|
||||
-- (This is modified from CLE by further dividing their $Num$ into
|
||||
-- cardinal and ordinal.)
|
||||
|
||||
DetArt : Art -> Num -> Ord -> Det ; -- the five best men
|
||||
DetQuant : Quant -> 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 can form noun phrases directly.
|
||||
|
||||
DetQuant : Quant -> Num -> Ord -> NP ; -- these five
|
||||
|
||||
-- Quantifiers can also be used in the same way as articles.
|
||||
|
||||
ArtQuant : Quant -> Art ;
|
||||
DetNP : Quant -> Num -> Ord -> NP ; -- these five
|
||||
|
||||
-- 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 -> Art ; -- my (house)
|
||||
PossPron : Pron -> Quant ; -- my (house)
|
||||
|
||||
-- All parts of the determiner can be empty, except $Quant$, which is
|
||||
-- the "kernel" of a determiner.
|
||||
-- the "kernel" of a determiner. It is, however, the $Num$ that determines
|
||||
-- the inherent numbers.
|
||||
|
||||
NumSg : Num ;
|
||||
NumPl : Num ;
|
||||
@@ -90,18 +87,18 @@ abstract Noun = Cat ** {
|
||||
OrdNumeralNP : Numeral -> NP ; -- the fiftieth
|
||||
NumNumeralNP : Numeral -> NP ; -- fifty
|
||||
|
||||
-- Definite and indefinite constructions are sometimes realized as
|
||||
-- Definite and indefinite noun phrases are sometimes realized as
|
||||
-- neatly distinct words (Spanish "un, unos ; el, los") but also without
|
||||
-- any particular word (Finnish; Swedish definites).
|
||||
|
||||
DefArt : Art ; -- the (house), the (houses)
|
||||
IndefArt : Art ; -- a (house), (houses)
|
||||
DefNP : Num -> Ord -> CN -> NP ; -- the (house), the (houses)
|
||||
IndefNP : Num -> Ord -> CN -> NP ; -- 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 : Art ; -- (beer)
|
||||
MassNP : CN -> NP ; -- (beer)
|
||||
|
||||
-- Other determiners are defined in [Structural Structural.html].
|
||||
|
||||
|
||||
Reference in New Issue
Block a user