summaryrefslogtreecommitdiff
path: root/grammars/resource/nabstract/Structural.gf
diff options
context:
space:
mode:
authoraarne <unknown>2003-11-21 15:28:25 +0000
committeraarne <unknown>2003-11-21 15:28:25 +0000
commit9cd2c273a273ded21c637908f2dfd3c07e785f36 (patch)
tree67fbc6ce2186eca4ce590f37de76c6aeb1227f96 /grammars/resource/nabstract/Structural.gf
parent6d99debdff614708454e899201cd6f14ec353049 (diff)
Working on with new resource API.
Diffstat (limited to 'grammars/resource/nabstract/Structural.gf')
-rw-r--r--grammars/resource/nabstract/Structural.gf67
1 files changed, 55 insertions, 12 deletions
diff --git a/grammars/resource/nabstract/Structural.gf b/grammars/resource/nabstract/Structural.gf
index 5ac998f96..e651afb5e 100644
--- a/grammars/resource/nabstract/Structural.gf
+++ b/grammars/resource/nabstract/Structural.gf
@@ -1,5 +1,7 @@
---2 Examples of structural words
+--1 GF Resource Grammar API for Structural Words
--
+-- AR 21/11/2003
+--
-- Here we have some words belonging to closed classes and appearing
-- in all languages we have considered.
-- Sometimes they are not really meaningful, e.g. $TheyNP$ in French
@@ -8,35 +10,67 @@
abstract Structural = Combinations ** {
fun
+
+--!
+--2 Determiners and noun phrases
+--
+-- Many plural determiners can take a numeral modifier. So can the plural
+-- pronouns "we" and "you".
+
EveryDet, WhichDet, AllDet, -- every, sg which, sg all
SomeDet, AnyDet, NoDet, -- sg some, any, no
MostDet, MostsDet, ManyDet, MuchDet : Det ; -- sg most, pl most, many, much
ThisDet, ThatDet : Det ; -- this, that
--- Many plural determiners can take a numeral modifier.
-
AllsDet, WhichsDet, -- pl all, which (86)
SomesDet, AnysDet, NosDet, -- pl some, any, no
TheseDet, ThoseDet : Num -> Det ; -- these, those (86)
+
ThisNP, ThatNP : NP ; -- this, that
TheseNP, ThoseNP : Num -> NP ; -- these, those (86)
INP, ThouNP, HeNP, SheNP, ItNP : NP ; -- personal pronouns in singular
WeNP, YeNP : Num -> NP ; -- these pronouns can take numeral
- TheyNP : NP ; -- personal pronouns in plural
- YouNP : NP ; -- the polite you
+ TheyNP : NP ; YouNP : NP ; -- they, the polite you
+
EverybodyNP, SomebodyNP, NobodyNP, -- everybody, somebody, nobody
EverythingNP, SomethingNP, NothingNP : NP ; -- everything, something, nothing
---- CanVV, CanKnowVV, MustVV : VV ; -- can (pouvoir/savoir), must
---- WantVV : VV ; -- want (to do)
+
+--!
+--2 Auxiliary verbs
+--
+-- Depending on language, all, some, or none of there verbs belong to
+-- a separate class of *auxiliary* verbs. The list is incomplete.
+
+ CanVV, CanKnowVV, MustVV : VV ; -- can (pouvoir/savoir), must
+ WantVV : VV ; -- want (to do)
+
+--!
+--2 Adverbials
+--
+
WhenIAdv,WhereIAdv,WhyIAdv,HowIAdv : IAdv ; -- when, where, why, how
- EverywhereNP, SomewhereNP, NowhereNP : AdV ;-- everywhere, somewhere, nowhere
- AndConj, OrConj : Conj ; -- and, or
- BothAnd, EitherOr, NeitherNor : ConjD ; -- both-and, either-or, neither-nor
- IfSubj, WhenSubj, AlthoughSubj : Subj ; -- if, when, although
- PhrYes, PhrNo : Phr ; -- yes, no
+ EverywhereNP, SomewhereNP,NowhereNP : AdV ; -- everywhere, somewhere, nowhere
VeryAdv, TooAdv : AdA ; -- very, too
AlmostAdv, QuiteAdv : AdA ; -- almost, quite
OtherwiseAdv, ThereforeAdv : AdS ; -- therefore, otherwise
+
+--!
+--2 Conjunctions and subjunctions
+--
+
+ AndConj, OrConj : Conj ; -- and, or
+ BothAnd, EitherOr, NeitherNor : ConjD ; -- both-and, either-or, neither-nor
+ IfSubj, WhenSubj, AlthoughSubj : Subj ; -- if, when, although
+
+--!
+--2 Prepositions
+--
+-- We have carefully chosen a set of semantic relations expressible
+-- by prepositions in some languages, by cases or postpositions in
+-- others. Complement uses of prepositions are not included, and
+-- should be treated by the use of many-place verbs, adjectives, and
+-- functions.
+
InPrep, OnPrep, ToPrep, FromPrep, -- spatial relations
ThroughPrep, AbovePrep, UnderPrep,
InFrontPrep, BehindPrep, BetweenPrep : Prep ;
@@ -44,4 +78,13 @@ fun
WithPrep, WithoutPrep, ByMeansPrep : Prep ; -- some other relations
PartPrep : Prep ; -- partitive "of" ("bottle of wine")
AgentPrep : Prep ; -- agent "by" in passive constructions
+
+
+--!
+--2 Affirmation and negation
+--
+-- The negative-positive (French "si", German "doch") is missing.
+
+ PhrYes, PhrNo : Phr ; -- yes, no
+
}