diff options
| author | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2009-06-22 15:39:08 +0000 |
| commit | e89fdae2fa1626348d8025824a7469252fa85e42 (patch) | |
| tree | c7d46bbd0494043b4bd6f917a25a7687517d0547 /old-lib/resource/abstract/Common.gf | |
| parent | 3049b59b35b25381a7c6787444165c200d66e08b (diff) | |
next-lib renamed to lib, lib to old-lib
Diffstat (limited to 'old-lib/resource/abstract/Common.gf')
| -rw-r--r-- | old-lib/resource/abstract/Common.gf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/old-lib/resource/abstract/Common.gf b/old-lib/resource/abstract/Common.gf new file mode 100644 index 000000000..76bfd9cf4 --- /dev/null +++ b/old-lib/resource/abstract/Common.gf @@ -0,0 +1,61 @@ +--1 Common: Structures with Common Implementations. + +-- This module defines the categories that uniformly have the linearization +-- ${s : Str}$ in all languages. + +-- Moreover, this module defines the abstract parameters of tense, polarity, and +-- anteriority, which are used in [``Phrase`` Phrase.html] to generate different +-- forms of sentences. Together they give 4 x 2 x 2 = 16 sentence forms. + +-- These tenses are defined for all languages in the library. More tenses +-- can be defined in the language extensions, e.g. the "passé simple" of +-- Romance languages in [``ExtraRomance`` ../romance/ExtraRomance.gf]. + +abstract Common = { + + cat + +--2 Top-level units + +-- Constructed in [``Text`` Text.html]: $Text$. + + Text ; -- text consisting of several phrases e.g. "He is here. Why?" + +-- Constructed in [``Phrase`` Phrase.html]: + + Phr ; -- phrase in a text e.g. "but be quiet please" + Utt ; -- sentence, question, word... e.g. "be quiet" + Voc ; -- vocative or "please" e.g. "my darling" + PConj ; -- phrase-beginning conjunction e.g. "therefore" + +-- Constructed in [``Sentence`` Sentence.html]: + + SC ; -- embedded sentence or question e.g. "that it rains" + +--2 Adverbs + +-- Constructed in [``Adverb`` Adverb.html]. +-- Many adverbs are constructed in [``Structural`` Structural.html]. + + Adv ; -- verb-phrase-modifying adverb e.g. "in the house" + AdV ; -- adverb directly attached to verb e.g. "always" + AdA ; -- adjective-modifying adverb e.g. "very" + AdN ; -- numeral-modifying adverb e.g. "more than" + IAdv ; -- interrogative adverb e.g. "why" + CAdv ; -- comparative adverb e.g. "more" + +--2 Tense, polarity, and anteriority + + Tense ; -- tense e.g. present, past, future + Pol ; -- polarity e.g. positive, negative + Ant ; -- anteriority e.g. simultaneous, anterior + + fun + PPos, PNeg : Pol ; -- I sleep/don't sleep + + TPres : Tense ; + ASimul : Ant ; + TPast, TFut, TCond : Tense ; -- I slept/will sleep/would sleep --# notpresent + AAnter : Ant ; -- I have slept --# notpresent + +} |
