1
0
forked from GitHub/gf-rgl

API module titles, resource.txt corrections

This commit is contained in:
aarne
2006-06-14 21:16:06 +00:00
parent d15022b24b
commit 20db7bf224
14 changed files with 25 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
--1 Adjectives and adjectival phrases --1 Adjective: Adjectives and Adjectival Phrases
abstract Adjective = Cat ** { abstract Adjective = Cat ** {

View File

@@ -1,4 +1,4 @@
--1 Adverbs and adverbial phrases --1 Adverb: Adverbs and Adverbial Phrases
abstract Adverb = Cat ** { abstract Adverb = Cat ** {

View File

@@ -1,4 +1,4 @@
--1 The category system --1 Cat: the Category System
-- The category system is central to the library in the sense -- The category system is central to the library in the sense
-- that the other modules ($Adjective$, $Adverb$, $Noun$, $Verb$ etc) -- that the other modules ($Adjective$, $Adverb$, $Noun$, $Verb$ etc)

View File

@@ -1,4 +1,4 @@
--1 Infrastructure with common implementations. --1 Common: Structures with Common Implementations.
-- This module defines the categories that uniformly have the linearization -- This module defines the categories that uniformly have the linearization
-- ${s : Str}$ in all languages. -- ${s : Str}$ in all languages.

View File

@@ -1,4 +1,4 @@
--1 Coordination --1 Conjunction: Coordination
-- Coordination is defined for many different categories; here is -- Coordination is defined for many different categories; here is
-- a sample. The rules apply to *lists* of two or more elements, -- a sample. The rules apply to *lists* of two or more elements,

View File

@@ -1,4 +1,4 @@
--1 The Main Module of the Resource Grammar --1 Grammar: the Main Module of the Resource Grammar
-- This grammar a collection of the different grammar modules, -- This grammar a collection of the different grammar modules,
-- To test the resource, import [Lang Lang.html], which also contains -- To test the resource, import [Lang Lang.html], which also contains

View File

@@ -1,4 +1,4 @@
--1 Idiomatic expressions --1 Idiom: Idiomatic Expressions
abstract Idiom = Cat ** { abstract Idiom = Cat ** {

View File

@@ -1,8 +1,8 @@
--1 The Main Module of the Resource Grammar --1 Lang: a Test Module for the Resource Grammar
-- This grammar is just a collection of the different modules, -- This grammar is for testing the resource as included in the
-- and the one that can be imported when one wants to test the -- language-independent API, consisting of a grammar and a lexicon.
-- grammar. A module without a lexicon is [Grammar Grammar.html], -- The grammar without a lexicon is [Grammar Grammar.html],
-- which may be more suitable to open in applications. -- which may be more suitable to open in applications.
abstract Lang = abstract Lang =

View File

@@ -1,4 +1,4 @@
--1 The construction of nouns, noun phrases, and determiners --1 Noun: Nouns, noun phrases, and determiners
abstract Noun = Cat ** { abstract Noun = Cat ** {

View File

@@ -1,4 +1,4 @@
--1 Phrases and utterances --1 Phrase: Phrases and Utterances
abstract Phrase = Cat ** { abstract Phrase = Cat ** {

View File

@@ -1,4 +1,4 @@
--1 Questions and interrogative pronouns --1 Question: Questions and Interrogative Pronouns
abstract Question = Cat ** { abstract Question = Cat ** {

View File

@@ -1,4 +1,4 @@
--1 Sentences, clauses, imperatives, and sentential complements --1 Sentence: Sentences, Clauses, and Imperatives
abstract Sentence = Cat ** { abstract Sentence = Cat ** {

View File

@@ -1,6 +1,4 @@
--1 GF Resource Grammar API for Structural Words --1 Structural: Structural Words
--
-- AR 21/11/2003 -- 30/11/2005
-- --
-- Here we have some words belonging to closed classes and appearing -- Here we have some words belonging to closed classes and appearing
-- in all languages we have considered. -- in all languages we have considered.

View File

@@ -1,11 +1,15 @@
--1 Texts --1 Text: Texts
-- Texts are built from an empty text by adding $Phr$ases,
-- using as constructors the punctuation marks ".", "?", and "!".
-- Any punctuation mark can be attached to any kind of phrase.
abstract Text = Common ** { abstract Text = Common ** {
fun fun
TEmpty : Text ; TEmpty : Text ; --
TFullStop : Phr -> Text -> Text ; TFullStop : Phr -> Text -> Text ; -- John walks. ...
TQuestMark : Phr -> Text -> Text ; TQuestMark : Phr -> Text -> Text ; -- Are you OK? ...
TExclMark : Phr -> Text -> Text ; TExclMark : Phr -> Text -> Text ; -- John walks! ...
} }