From f36db42ddcc8784bd8e3120875f11cc706165cb3 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 13 Jun 2006 10:07:16 +0000 Subject: [PATCH] complete resource document --- resource-1.0/doc/gfdoc/Adjective.html | 9 ++- resource-1.0/doc/gfdoc/Adverb.html | 9 ++- resource-1.0/doc/gfdoc/Cat.html | 44 +++++++----- resource-1.0/doc/gfdoc/Common.html | 30 +++++--- resource-1.0/doc/gfdoc/Conjunction.html | 20 ++++-- resource-1.0/doc/gfdoc/Grammar.html | 9 ++- resource-1.0/doc/gfdoc/Idiom.html | 9 ++- resource-1.0/doc/gfdoc/Lang.html | 9 ++- resource-1.0/doc/gfdoc/Mathematical.html | 9 ++- resource-1.0/doc/gfdoc/Multi.html | 9 ++- resource-1.0/doc/gfdoc/Noun.html | 24 ++++--- resource-1.0/doc/gfdoc/Numeral.html | 9 ++- resource-1.0/doc/gfdoc/ParadigmsDan.html | 90 ++++++++++++++---------- resource-1.0/doc/gfdoc/ParadigmsEng.html | 86 ++++++++++++---------- resource-1.0/doc/gfdoc/ParadigmsFin.html | 42 +++++++---- resource-1.0/doc/gfdoc/ParadigmsFre.html | 78 +++++++++++--------- resource-1.0/doc/gfdoc/ParadigmsGer.html | 9 ++- resource-1.0/doc/gfdoc/ParadigmsIta.html | 78 +++++++++++--------- resource-1.0/doc/gfdoc/ParadigmsNor.html | 90 ++++++++++++++---------- resource-1.0/doc/gfdoc/ParadigmsRus.html | 62 +++++++++++----- resource-1.0/doc/gfdoc/ParadigmsSpa.html | 78 +++++++++++--------- resource-1.0/doc/gfdoc/ParadigmsSwe.html | 86 ++++++++++++---------- resource-1.0/doc/gfdoc/Phrase.html | 9 ++- resource-1.0/doc/gfdoc/Precedence.html | 6 +- resource-1.0/doc/gfdoc/Predef.html | 9 ++- resource-1.0/doc/gfdoc/PredefAbs.html | 6 +- resource-1.0/doc/gfdoc/Predication.html | 32 +++++---- resource-1.0/doc/gfdoc/Prelude.html | 36 ++++++---- resource-1.0/doc/gfdoc/Question.html | 9 ++- resource-1.0/doc/gfdoc/Relative.html | 9 ++- resource-1.0/doc/gfdoc/Sentence.html | 28 +++++--- resource-1.0/doc/gfdoc/Structural.html | 9 ++- resource-1.0/doc/gfdoc/Symbol.html | 20 ++++-- resource-1.0/doc/gfdoc/Tense.html | 9 ++- resource-1.0/doc/gfdoc/Text.html | 9 ++- resource-1.0/doc/gfdoc/Verb.html | 24 ++++--- 36 files changed, 704 insertions(+), 400 deletions(-) diff --git a/resource-1.0/doc/gfdoc/Adjective.html b/resource-1.0/doc/gfdoc/Adjective.html index 0ffaf0608..fb54a7e14 100644 --- a/resource-1.0/doc/gfdoc/Adjective.html +++ b/resource-1.0/doc/gfdoc/Adjective.html @@ -6,12 +6,17 @@

Adjectives and adjectival phrases

-Last update: 2006-01-10 20:56:21 CET
+Author:
+Last update: Tue Jun 13 11:42:38 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Adjectives and adjectival phrases

     abstract Adjective = Cat ** {
     
diff --git a/resource-1.0/doc/gfdoc/Adverb.html b/resource-1.0/doc/gfdoc/Adverb.html
index 517e2207f..2dd71c976 100644
--- a/resource-1.0/doc/gfdoc/Adverb.html
+++ b/resource-1.0/doc/gfdoc/Adverb.html
@@ -6,12 +6,17 @@
 
 

Adverbs and adverbial phrases

-Last update: 2006-05-23 22:22:34 CEST
+Author:
+Last update: Tue Jun 13 11:42:38 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Adverbs and adverbial phrases

     abstract Adverb = Cat ** {
     
diff --git a/resource-1.0/doc/gfdoc/Cat.html b/resource-1.0/doc/gfdoc/Cat.html
index 08eb6b3ee..f047efd47 100644
--- a/resource-1.0/doc/gfdoc/Cat.html
+++ b/resource-1.0/doc/gfdoc/Cat.html
@@ -6,23 +6,27 @@
 
 

The category system

-Last update: 2006-05-28 19:11:48 CEST
+Author:
+Last update: Tue Jun 13 11:42:38 2006


+


@@ -32,6 +36,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The category system

The category system is central to the library in the sense that the other modules (Adjective, Adverb, Noun, Verb etc) @@ -58,7 +64,7 @@ are defined on Conjunction and only used locally there. cat

- +

Sentences and clauses

Constructed in Sentence, and also in @@ -73,7 +79,7 @@ Constructed in Sentence, and also in Imp ; -- imperative e.g. "look at this"

- +

Questions and interrogatives

Constructed in Question. @@ -85,7 +91,7 @@ Constructed in Question. IDet ; -- interrogative determiner e.g. "which"

- +

Relative clauses and pronouns

Constructed in Relative. @@ -95,7 +101,7 @@ Constructed in Relative. RP ; -- relative pronoun e.g. "in which"

- +

Verb phrases

Constructed in Verb. @@ -105,7 +111,7 @@ Constructed in Verb. Comp ; -- complement of copula, such as AP e.g. "very warm"

- +

Adjectival phrases

Constructed in Adjective. @@ -114,7 +120,7 @@ Constructed in Adjective. AP ; -- adjectival phrase e.g. "very warm"

- +

Nouns and noun phrases

Constructed in Noun. @@ -141,7 +147,7 @@ as defined in Noun. Ord ; -- ordinal number (used in Det) e.g. "seventh"

- +

Numerals

Constructed in Numeral. @@ -150,7 +156,7 @@ Constructed in Numeral. Numeral;-- cardinal or ordinal, e.g. "five/fifth"

- +

Structural words

Constructed in Structural. @@ -162,7 +168,7 @@ Constructed in Structural. Prep ; -- preposition, or just case e.g. "in"

- +

Words of open classes

These are constructed in Lexicon and in diff --git a/resource-1.0/doc/gfdoc/Common.html b/resource-1.0/doc/gfdoc/Common.html index 584fdff50..c6a9669a4 100644 --- a/resource-1.0/doc/gfdoc/Common.html +++ b/resource-1.0/doc/gfdoc/Common.html @@ -6,17 +6,21 @@

Infrastructure with common implementations.

-Last update: 2006-05-28 19:11:48 CEST
+Author:
+Last update: Tue Jun 13 11:42:38 2006


+


@@ -26,6 +30,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Infrastructure with common implementations.

This module defines the categories that uniformly have the linearization {s : Str} in all languages. @@ -42,27 +48,33 @@ Romance languages. cat

- +

Top-level units

Constructed in Text: Text.

         Text ;  -- text consisting of several phrases  e.g. "He is here. Why?"
-        Phr ;   -- phrase in a text                    e.g. "But get out please."
 

-Constructed in Phrase: Phr and +Constructed in Phrase:

+        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 conj.              e.g. "therefore"
+
+

+

+Constructed in Sentence: +

+
         SC ;    -- embedded sentence or question       e.g. "that it rains"
 

- +

Adverbs

Constructed in Adverb. @@ -77,7 +89,7 @@ Many adverbs are constructed in Structural. CAdv ; -- comparative adverb e.g. "more"

- +

Tense, polarity, and anteriority

         Tense ; -- tense: present, past, future, conditional
diff --git a/resource-1.0/doc/gfdoc/Conjunction.html b/resource-1.0/doc/gfdoc/Conjunction.html
index 54a3da95a..48f5b2b35 100644
--- a/resource-1.0/doc/gfdoc/Conjunction.html
+++ b/resource-1.0/doc/gfdoc/Conjunction.html
@@ -6,17 +6,21 @@
 
 

Coordination

-Last update: 2006-01-20 22:04:10 CET
+Author:
+Last update: Tue Jun 13 11:42:39 2006


+


@@ -26,6 +30,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Coordination

Coordination is defined for many different categories; here is a sample. The rules apply to lists of two or more elements, @@ -45,7 +51,7 @@ compatibility with API 0.9 is needed, use abstract Conjunction = Cat ** {

- +

Rules

       fun
@@ -60,7 +66,7 @@ compatibility with API 0.9 is needed, use
         DConjAdv : DConj -> [Adv] -> Adv; -- "both badly and slowly"
 

- +

Categories

These categories are only used in this module. @@ -73,7 +79,7 @@ These categories are only used in this module. [AP]{2} ;

- +

List constructors

The list constructors are derived from the list notation and therefore diff --git a/resource-1.0/doc/gfdoc/Grammar.html b/resource-1.0/doc/gfdoc/Grammar.html index b0bbc69d6..f68e408bd 100644 --- a/resource-1.0/doc/gfdoc/Grammar.html +++ b/resource-1.0/doc/gfdoc/Grammar.html @@ -6,12 +6,17 @@

The Main Module of the Resource Grammar

-Last update: 2006-06-01 22:30:20 CEST
+Author:
+Last update: Tue Jun 13 11:42:39 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The Main Module of the Resource Grammar

This grammar a collection of the different grammar modules, To test the resource, import Lang, which also contains diff --git a/resource-1.0/doc/gfdoc/Idiom.html b/resource-1.0/doc/gfdoc/Idiom.html index 417c63e92..665fb7645 100644 --- a/resource-1.0/doc/gfdoc/Idiom.html +++ b/resource-1.0/doc/gfdoc/Idiom.html @@ -6,12 +6,17 @@

Idiomatic expressions

-Last update: 2006-06-01 22:30:20 CEST
+Author:
+Last update: Tue Jun 13 11:42:39 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Idiomatic expressions

     abstract Idiom = Cat ** {
 
diff --git a/resource-1.0/doc/gfdoc/Lang.html b/resource-1.0/doc/gfdoc/Lang.html index b12ee728b..751aa89e8 100644 --- a/resource-1.0/doc/gfdoc/Lang.html +++ b/resource-1.0/doc/gfdoc/Lang.html @@ -6,12 +6,17 @@

The Main Module of the Resource Grammar

-Last update: 2006-06-07 18:26:44 CEST
+Author:
+Last update: Tue Jun 13 11:42:40 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The Main Module of the Resource Grammar

This grammar is just a collection of the different modules, and the one that can be imported when one wants to test the diff --git a/resource-1.0/doc/gfdoc/Mathematical.html b/resource-1.0/doc/gfdoc/Mathematical.html index d0d812f52..83e6bf82f 100644 --- a/resource-1.0/doc/gfdoc/Mathematical.html +++ b/resource-1.0/doc/gfdoc/Mathematical.html @@ -6,12 +6,17 @@

The Mathematics API to the Resource Grammar

-Last update: 2006-02-25 21:36:45 CET
+Author:
+Last update: Tue Jun 13 11:42:44 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The Mathematics API to the Resource Grammar

This grammar is a collection of the different modules. It differs from Lang in two main ways: diff --git a/resource-1.0/doc/gfdoc/Multi.html b/resource-1.0/doc/gfdoc/Multi.html index 65eb56347..4b1e2b9a4 100644 --- a/resource-1.0/doc/gfdoc/Multi.html +++ b/resource-1.0/doc/gfdoc/Multi.html @@ -6,12 +6,17 @@

Multimodal additions to the resource grammar library

-Last update: 2006-05-23 23:36:59 CEST
+Author:
+Last update: Tue Jun 13 11:42:44 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Multimodal additions to the resource grammar library

     abstract Multi = Lang ** {
     
diff --git a/resource-1.0/doc/gfdoc/Noun.html b/resource-1.0/doc/gfdoc/Noun.html
index fe9b326cf..87c0d9e89 100644
--- a/resource-1.0/doc/gfdoc/Noun.html
+++ b/resource-1.0/doc/gfdoc/Noun.html
@@ -6,18 +6,22 @@
 
 

The construction of nouns, noun phrases, and determiners

-Last update: 2006-05-23 23:27:56 CEST
+Author:
+Last update: Tue Jun 13 11:42:40 2006


+


@@ -27,11 +31,13 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The construction of nouns, noun phrases, and determiners

     abstract Noun = Cat ** {
 

- +

Noun phrases

The three main types of noun phrases are @@ -66,7 +72,7 @@ verb or by an adverb. AdvNP : NP -> Adv -> NP ; -- Paris at midnight

- +

Determiners

The determiner has a fine-grained structure, in which a 'nucleus' @@ -160,7 +166,7 @@ in semantically odd expressions.

Other determiners are defined in Structural.

- +

Common nouns

Simple nouns can be used as nouns outright. @@ -206,7 +212,7 @@ to decide. Sentential complements are defined in Verb. SentCN : CN -> SC -> CN ; -- fact that John smokes, question if he does

- +

Apposition

This is certainly overgenerating. diff --git a/resource-1.0/doc/gfdoc/Numeral.html b/resource-1.0/doc/gfdoc/Numeral.html index 7464685c8..2139cd31e 100644 --- a/resource-1.0/doc/gfdoc/Numeral.html +++ b/resource-1.0/doc/gfdoc/Numeral.html @@ -6,12 +6,17 @@

Numerals

-Last update: 2006-01-17 17:56:17 CET
+Author:
+Last update: Tue Jun 13 11:42:40 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Numerals

This grammar defines numerals from 1 to 999999. The implementations are adapted from the diff --git a/resource-1.0/doc/gfdoc/ParadigmsDan.html b/resource-1.0/doc/gfdoc/ParadigmsDan.html index b6762915a..72b0a5bcd 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsDan.html +++ b/resource-1.0/doc/gfdoc/ParadigmsDan.html @@ -2,52 +2,64 @@ - Danish Lexical Paradigms -

Danish Lexical Paradigms

-Last update: 2006-06-01 22:30:20 CEST


+


+Author: +Last update: Tue Jun 13 11:42:42 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../scandinavian:../common:../abstract:../../prelude +

+ +

Danish Lexical Paradigms

+

Aarne Ranta 2003

@@ -85,7 +97,7 @@ words. CatDan in {

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -125,7 +137,7 @@ Prepositions used in many-argument functions are just strings. Preposition : Type = Str ;

- +

Nouns

Worst case: give all four forms. The gender is computed from the @@ -168,13 +180,13 @@ indefinite mk3N : (bil,bilen,biler : Str) -> N ;

- +

Compound nouns

All the functions above work quite as well to form compound nouns, such as fotboll.

- +

Relational nouns

Relational nouns (daughter of x) need a preposition. @@ -202,7 +214,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -210,7 +222,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names, with a regular genitive, are formed as follows @@ -234,7 +246,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need three forms: @@ -257,7 +269,7 @@ In most cases, two forms are enough. mk2A : (stor,stort : Str) -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -304,7 +316,7 @@ long adjective, the following pattern is used: compoundA : A -> A ; -- -/mer/mest norsk

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -322,7 +334,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Prepositions

A preposition is just a string. @@ -331,7 +343,7 @@ A preposition is just a string. mkPreposition : Str -> Preposition ;

- +

Verbs

The worst case needs six forms. @@ -362,7 +374,7 @@ In practice, it is enough to give three forms, as in school books. irregV : (drikke, drakk, drukket : Str) -> V ;

- +

Verbs with //vre// as auxiliary

By default, the auxiliary is have. This function changes it to vre. @@ -371,7 +383,7 @@ By default, the auxiliary is have. This function changes it to v vaereV : V -> V ;

- +

Verbs with a particle

The particle, such as in switch on, is given as a string. @@ -380,7 +392,7 @@ The particle, such as in switch on, is given as a string. partV : V -> Str -> V ;

- +

Deponent verbs

Some words are used in passive forms only, e.g. hoppas, some as @@ -391,7 +403,7 @@ reflexive e.g. reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -403,7 +415,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -415,7 +427,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- give,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -449,7 +461,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

Definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsEng.html b/resource-1.0/doc/gfdoc/ParadigmsEng.html index 79a8eb18d..8d3ba8d24 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsEng.html +++ b/resource-1.0/doc/gfdoc/ParadigmsEng.html @@ -2,51 +2,63 @@ - English Lexical Paradigms -

English Lexical Paradigms

-Last update: 2006-04-21 16:38:25 CEST


+


+Author: +Last update: Tue Jun 13 11:42:42 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../abstract:../../prelude:../common +

+ +

English Lexical Paradigms

+

Aarne Ranta 2003--2005

@@ -85,7 +97,7 @@ The following modules are presupposed: in {

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -126,7 +138,7 @@ Prepositions are used in many-argument functions for rection. Preposition : Type ;

- +

Nouns

Worst case: give all four forms and the semantic gender. @@ -160,7 +172,7 @@ function: genderN : Gender -> N -> N ;

- +

Compound nouns

A compound noun ia an uninflected string attached to an inflected noun, @@ -170,7 +182,7 @@ such as baby boom, chief executive officer. compoundN : Str -> N -> N ;

- +

Relational nouns

Relational nouns (daughter of x) need a preposition. @@ -198,7 +210,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -209,7 +221,7 @@ relational noun (e.g. the old town hall of). cnN3 : CN -> Preposition -> Preposition -> N3 ;

- +

Proper names and noun phrases

Proper names, with a regular genitive, are formed as follows @@ -233,7 +245,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need two forms: one for @@ -251,7 +263,7 @@ even for cases with the variation happy - happily. regA : Str -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -301,7 +313,7 @@ From a given ADeg, it is possible to get back to A. adegA : ADeg -> A ;

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -319,7 +331,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Prepositions

A preposition as used for rection in the lexicon, as well as to @@ -333,7 +345,7 @@ build PPs in the resource API, just requires a string.

(These two functions are synonyms.)

- +

Verbs

Except for be, the worst case needs five forms: the infinitive and @@ -372,7 +384,7 @@ duplication in the present participle. irregDuplV : (get, got, gotten : Str) -> V ;

- +

Verbs with a particle.

The particle, such as in switch on, is given as a string. @@ -381,7 +393,7 @@ The particle, such as in switch on, is given as a string. partV : V -> Str -> V ;

- +

Reflexive verbs

By default, verbs are not reflexive; this function makes them that. @@ -390,7 +402,7 @@ By default, verbs are not reflexive; this function makes them that. reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -402,7 +414,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -414,7 +426,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- give,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -448,7 +460,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

Definitions of paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsFin.html b/resource-1.0/doc/gfdoc/ParadigmsFin.html index fb0f03a79..f7922bc5a 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsFin.html +++ b/resource-1.0/doc/gfdoc/ParadigmsFin.html @@ -2,36 +2,48 @@ - Finnish Lexical Paradigms -

Finnish Lexical Paradigms

-Last update: 2006-03-07 21:08:18 CET


+


+Author: +Last update: Tue Jun 13 11:42:42 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../abstract:../common:../../prelude +

+ +

Finnish Lexical Paradigms

+

Aarne Ranta 2003--2005

@@ -77,7 +89,7 @@ flags optimize=all ; flags optimize=noexpand ;

- +

Parameters

To abstract over gender, number, and (some) case names, @@ -117,7 +129,7 @@ just a case, or a pre/postposition and a case. casePrep : Case -> Prep ; -- adessive

- +

Nouns

The worst case gives ten forms and the semantic gender. @@ -317,7 +329,7 @@ The plural forms are filtered away by the compiler. mkNP : N -> Number -> NP ;

- +

Adjectives

Non-comparison one-place adjectives are just like nouns. @@ -349,7 +361,7 @@ The regular adjectives are based on regN in the positive. regA : (punainen : Str) -> A ;

- +

Verbs

The grammar does not cover the potential mood and some nominal @@ -455,7 +467,7 @@ But this is taken care of by ClauseFin. dirV2 : V -> V2 ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -467,7 +479,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- acc, allat

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, diff --git a/resource-1.0/doc/gfdoc/ParadigmsFre.html b/resource-1.0/doc/gfdoc/ParadigmsFre.html index aa106d67c..51c1b1fc6 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsFre.html +++ b/resource-1.0/doc/gfdoc/ParadigmsFre.html @@ -2,49 +2,61 @@ - French Lexical Paradigms -

French Lexical Paradigms

-Last update: 2006-03-07 21:08:17 CET


+


+Author: +Last update: Tue Jun 13 11:42:43 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../romance:../common:../abstract:../../prelude +

+ +

French Lexical Paradigms

+

Aarne Ranta 2003

@@ -84,7 +96,7 @@ words. flags optimize=all ;

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -123,7 +135,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;

- +

Nouns

Worst case: give both two forms and the gender. @@ -153,7 +165,7 @@ Adding gender information widens the scope of the foregoing function. regGenN : Str -> Gender -> N ;

- +

Compound nouns

Some nouns are ones where the first part is inflected as a noun but @@ -165,7 +177,7 @@ they are frequent in lexica. compN : N -> Str -> N ;

- +

Relational nouns

Relational nouns (fille de x) need a case and a preposition. @@ -190,7 +202,7 @@ Three-place relational nouns (la connection de x mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -198,7 +210,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names need a string and a gender. @@ -215,7 +227,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need four forms in the worst @@ -246,7 +258,7 @@ provided. prefA : A -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -255,7 +267,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;

- +

Comparison adjectives

Comparison adjectives are in the worst case put up from two @@ -281,7 +293,7 @@ provided. prefA : A -> A ;

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -305,7 +317,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Verbs

Irregular verbs are given in the module VerbsFre. @@ -342,7 +354,7 @@ To change it to reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -361,7 +373,7 @@ You can reuse a V2 verb in V. v2V : V2 -> V ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -373,7 +385,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -409,7 +421,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

Definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsGer.html b/resource-1.0/doc/gfdoc/ParadigmsGer.html index 682c4895e..ef042f885 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsGer.html +++ b/resource-1.0/doc/gfdoc/ParadigmsGer.html @@ -34,13 +34,20 @@


-Last update: 2006-01-20 22:04:10 CET +Author: +Last update: Tue Jun 13 11:42:43 2006

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+

+== +

+

+# -path=.:../common:../abstract:../../prelude +

German Lexical Paradigms

diff --git a/resource-1.0/doc/gfdoc/ParadigmsIta.html b/resource-1.0/doc/gfdoc/ParadigmsIta.html index f7da3a65d..a81f78bc2 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsIta.html +++ b/resource-1.0/doc/gfdoc/ParadigmsIta.html @@ -2,49 +2,61 @@ - Italian Lexical Paradigms -

Italian Lexical Paradigms

-Last update: 2006-02-22 19:06:50 CET


+


+Author: +Last update: Tue Jun 13 11:42:43 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../romance:../common:../abstract:../../prelude +

+ +

Italian Lexical Paradigms

+

Aarne Ranta 2003

@@ -85,7 +97,7 @@ words. flags optimize=all ;

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -124,7 +136,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;

- +

Nouns

Worst case: give both two forms and the gender. @@ -151,7 +163,7 @@ To force a different gender, use one of the following functions. femN : N -> N ;

- +

Compound nouns

Some nouns are ones where the first part is inflected as a noun but @@ -163,7 +175,7 @@ they are frequent in lexica. compN : N -> Str -> N ;

- +

Relational nouns

Relational nouns (figlio di x) need a case and a preposition. @@ -188,7 +200,7 @@ Three-place relational nouns (la connessione di x a y) need two prepositi mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -196,7 +208,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names need a string and a gender. @@ -213,7 +225,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need five forms in the worst @@ -241,7 +253,7 @@ provided. prefA : A -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -250,7 +262,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;

- +

Comparison adjectives

Comparison adjectives are in the worst case put up from two @@ -276,7 +288,7 @@ with comparison by plus. regADeg : Str -> A ;

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -300,7 +312,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Verbs

Regular verbs are ones with the infinitive er or ir, the @@ -331,7 +343,7 @@ Reflexive implies essere. reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -350,7 +362,7 @@ You can reuse a V2 verb in V. v2V : V2 -> V ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -362,7 +374,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -398,7 +410,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

The definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsNor.html b/resource-1.0/doc/gfdoc/ParadigmsNor.html index 3afa0ae47..9608ffdb5 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsNor.html +++ b/resource-1.0/doc/gfdoc/ParadigmsNor.html @@ -2,52 +2,64 @@ - Norwegian Lexical Paradigms -

Norwegian Lexical Paradigms

-Last update: 2006-06-01 22:30:20 CEST


+


+Author: +Last update: Tue Jun 13 11:42:43 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../scandinavian:../common:../abstract:../../prelude +

+ +

Norwegian Lexical Paradigms

+

Aarne Ranta 2003

@@ -85,7 +97,7 @@ words. CatNor in {

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -126,7 +138,7 @@ Prepositions used in many-argument functions are just strings. Preposition : Type = Str ;

- +

Nouns

Worst case: give all four forms. The gender is computed from the @@ -162,13 +174,13 @@ gender is computed from the definite form. mk2N : (bil,bilen : Str) -> N ;

- +

Compound nouns

All the functions above work quite as well to form compound nouns, such as fotboll.

- +

Relational nouns

Relational nouns (daughter of x) need a preposition. @@ -196,7 +208,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -204,7 +216,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names, with a regular genitive, are formed as follows @@ -228,7 +240,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need three forms: @@ -251,7 +263,7 @@ In most cases, two forms are enough. mk2A : (stor,stort : Str) -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -298,7 +310,7 @@ long adjective, the following pattern is used: compoundA : A -> A ; -- -/mer/mest norsk

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -316,7 +328,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Prepositions

A preposition is just a string. @@ -325,7 +337,7 @@ A preposition is just a string. mkPreposition : Str -> Preposition ;

- +

Verbs

The worst case needs six forms. @@ -356,7 +368,7 @@ In practice, it is enough to give three forms, as in school books. irregV : (drikke, drakk, drukket : Str) -> V ;

- +

Verbs with //vre// as auxiliary

By default, the auxiliary is have. This function changes it to vre. @@ -365,7 +377,7 @@ By default, the auxiliary is have. This function changes it to v vaereV : V -> V ;

- +

Verbs with a particle.

The particle, such as in switch on, is given as a string. @@ -374,7 +386,7 @@ The particle, such as in switch on, is given as a string. partV : V -> Str -> V ;

- +

Deponent verbs.

Some words are used in passive forms only, e.g. hoppas, some as @@ -385,7 +397,7 @@ reflexive e.g. reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -397,7 +409,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -409,7 +421,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- give,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -443,7 +455,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

Definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsRus.html b/resource-1.0/doc/gfdoc/ParadigmsRus.html index 87064669c..97d85fbfa 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsRus.html +++ b/resource-1.0/doc/gfdoc/ParadigmsRus.html @@ -2,33 +2,45 @@ - Russian Lexical Paradigms -

Russian Lexical Paradigms

-Last update: 2006-05-20 11:51:24 CEST


+


+Author: +Last update: Tue Jun 13 11:42:43 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../abstract:../../prelude:../common +

+ +

Russian Lexical Paradigms

+

Janna Khegai 2003--2005

@@ -70,7 +82,7 @@ The following modules are presupposed: flags coding=utf8 ;

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -110,7 +122,7 @@ To abstract over number names, we define the following. plural : Number ;

- +

Nouns

Best case: indeclinabe nouns: кофе, пальто, ВУЗ. @@ -142,6 +154,14 @@ since there are a lot of exceptions and the gain is just one form less.

+The regular function captures the variants for some popular nouns +endings below: +

+
+      regN : Str -> N ;
+
+

+

Here are some common patterns. The list is far from complete. Feminine patterns.

@@ -213,7 +233,7 @@ On the top level, it is maybe CN that is used rather than N

- +

Adjectives

Non-comparison (only positive degree) one-place adjectives need 28 (4 by 7) @@ -230,6 +250,14 @@ Notice that 4 short forms, which exist for some adjectives are not included in the current description, otherwise there would be 32 forms for positive degree. mkA : ( : Str) -> A ; +The regular function captures the variants for some popular adjective +endings below: +

+
+       regA : Str -> Str -> A ;
+
+

+

Invariable adjective is a special case.

@@ -269,7 +297,7 @@ On top level, there are adjectival phrases. The most common case is
 just to use a one-place adjective. 
 ap : A  -> IsPostfixAdj -> AP ;
 

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -279,7 +307,7 @@ after the verb. Some can be preverbal (e.g. always). mkAdv : Str -> Adv ;

- +

Verbs

In our lexicon description (Verbum) there are 62 forms: @@ -342,10 +370,10 @@ between stem and ending lies it is sufficient to compare first person from with second person form: я люб-лю, ты люб-ишь. Stems shoud be the same. So the definition for verb любить looks like: -mkRegVerb Imperfective Second люб лю любил люби любить; +regV Imperfective Second люб лю любил люби любить;

-       mkRegVerb :Aspect -> Conjugation -> (_,_,_,_,_ : Str) -> V ; 
+       regV :Aspect -> Conjugation -> (_,_,_,_,_ : Str) -> V ; 
 

@@ -361,9 +389,9 @@ Two-place verbs, and the special case with direct object. Notice that a particle can be included in a V.

-       mkTV     : V   -> Str -> Case -> V2 ;   -- "войти в дом"; "в", accusative
+       mkV2     : V   -> Str -> Case -> V2 ;   -- "войти в дом"; "в", accusative
        mkV3  : V -> Str -> Str -> Case -> Case -> V3 ; -- "сложить письмо в конверт"
-       tvDir    : V -> V2 ;                    -- "видеть", "любить"
+       dirV2    : V -> V2 ;                    -- "видеть", "любить"
        tvDirDir : V -> V3 ; 
 

diff --git a/resource-1.0/doc/gfdoc/ParadigmsSpa.html b/resource-1.0/doc/gfdoc/ParadigmsSpa.html index 6cc039bb7..f4ea81d39 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsSpa.html +++ b/resource-1.0/doc/gfdoc/ParadigmsSpa.html @@ -2,49 +2,61 @@ - Spanish Lexical Paradigms -

Spanish Lexical Paradigms

-Last update: 2006-03-14 11:21:47 CET


+


+Author: +Last update: Tue Jun 13 11:42:43 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../romance:../common:../abstract:../../prelude +

+ +

Spanish Lexical Paradigms

+

Aarne Ranta 2003

@@ -82,7 +94,7 @@ escape to construct the most irregular words of type C. flags optimize=all ;

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -121,7 +133,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;

- +

Nouns

Worst case: two forms (singular + plural), @@ -152,7 +164,7 @@ To force a different gender, use one of the following functions. femN : N -> N ;

- +

Compound nouns

Some nouns are ones where the first part is inflected as a noun but @@ -164,7 +176,7 @@ they are frequent in lexica. compN : N -> Str -> N ;

- +

Relational nouns

Relational nouns (fille de x) need a case and a preposition. @@ -189,7 +201,7 @@ Three-place relational nouns (la connessione di x a y) need two prepositi mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -197,7 +209,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names need a string and a gender. @@ -214,7 +226,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;

- +

Adjectives

Non-comparison one-place adjectives need five forms in the worst @@ -243,7 +255,7 @@ provided. prefA : A -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -252,7 +264,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;

- +

Comparison adjectives

Comparison adjectives are in the worst case put up from two @@ -278,7 +290,7 @@ with comparison by mas. regADeg : Str -> A ;

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -302,7 +314,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Verbs

Regular verbs are ones inflected like cortar, deber, or vivir. @@ -338,7 +350,7 @@ in masculine singular form as second argument. special_ppV : V -> Str -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -357,7 +369,7 @@ You can reuse a V2 verb in V. v2V : V2 -> V ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -369,7 +381,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -405,7 +417,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

The definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/ParadigmsSwe.html b/resource-1.0/doc/gfdoc/ParadigmsSwe.html index 5203e8833..662e80424 100644 --- a/resource-1.0/doc/gfdoc/ParadigmsSwe.html +++ b/resource-1.0/doc/gfdoc/ParadigmsSwe.html @@ -2,51 +2,63 @@ - Swedish Lexical Paradigms -

Swedish Lexical Paradigms

-Last update: 2006-06-01 22:30:20 CEST


+


+Author: +Last update: Tue Jun 13 11:42:44 2006 +

+

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

+# -path=.:../scandinavian:../common:../abstract:../../prelude +

+ +

Swedish Lexical Paradigms

+

Aarne Ranta 2003

@@ -84,7 +96,7 @@ words. CatSwe in {

- +

Parameters

To abstract over gender names, we define the following identifiers. @@ -124,7 +136,7 @@ Prepositions used in many-argument functions are just strings. Preposition : Type = Str ;

- +

Nouns

Worst case: give all four forms. The gender is computed from the @@ -167,13 +179,13 @@ It does not work if there are changes in the stem. mk1N : (bilarna : Str) -> N ;

- +

Compound nouns

All the functions above work quite as well to form compound nouns, such as fotboll.

- +

Relational nouns

Relational nouns (daughter of x) need a preposition. @@ -201,7 +213,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;

- +

Relational common noun phrases

In some cases, you may want to make a complex CN into a @@ -209,7 +221,7 @@ relational noun (e.g. the old town hall of). However, N2 and N3 are purely lexical categories. But you can use the AdvCN and PrepNP constructions to build phrases like this.

- +

Proper names and noun phrases

Proper names, with a regular genitive, are formed as follows @@ -233,7 +245,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;

- +

Adjectives

Adjectives may need as many as seven forms. @@ -272,7 +284,7 @@ Comparison forms may be compound (mera svensk - mest svensk). compoundA : A -> A ;

- +

Two-place adjectives

Two-place adjectives need a preposition for their second argument. @@ -281,7 +293,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;

- +

Adverbs

Adverbs are not inflected. Most lexical ones have position @@ -299,7 +311,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;

- +

Prepositions

A preposition is just a string. @@ -308,7 +320,7 @@ A preposition is just a string. mkPreposition : Str -> Preposition ;

- +

Verbs

The worst case needs five forms. @@ -346,7 +358,7 @@ In practice, it is enough to give three forms, as in school books. irregV : (dricka, drack, druckit : Str) -> V ;

- +

Verbs with a particle.

The particle, such as in passa p, is given as a string. @@ -355,7 +367,7 @@ The particle, such as in passa p partV : V -> Str -> V ;

- +

Deponent verbs.

Some words are used in passive forms only, e.g. hoppas, some as @@ -366,7 +378,7 @@ reflexive e.g. reflV : V -> V ;

- +

Two-place verbs

Two-place verbs need a preposition, except the special case with direct object. @@ -378,7 +390,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;

- +

Three-place verbs

Three-place (ditransitive) verbs need two prepositions, of which @@ -390,7 +402,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- ge _ _

- +

Other complement patterns

Verbs and adjectives can take complements such as sentences, @@ -424,7 +436,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A. AS, A2S, AV, A2V : Type ;

- +

Definitions of the paradigms

The definitions should not bother the user of the API. So they are diff --git a/resource-1.0/doc/gfdoc/Phrase.html b/resource-1.0/doc/gfdoc/Phrase.html index 68a07e65d..7102c652d 100644 --- a/resource-1.0/doc/gfdoc/Phrase.html +++ b/resource-1.0/doc/gfdoc/Phrase.html @@ -6,12 +6,17 @@

Phrases and utterances

-Last update: 2006-01-25 20:10:39 CET
+Author:
+Last update: Tue Jun 13 11:42:40 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Phrases and utterances

     abstract Phrase = Cat ** {
 
diff --git a/resource-1.0/doc/gfdoc/Precedence.html b/resource-1.0/doc/gfdoc/Precedence.html index b60db3700..378255b77 100644 --- a/resource-1.0/doc/gfdoc/Precedence.html +++ b/resource-1.0/doc/gfdoc/Precedence.html @@ -13,7 +13,8 @@

-Last update: 2005-11-17 17:36:49 CET +Author: +Last update: Tue Jun 13 11:42:45 2006

Produced by @@ -21,6 +22,9 @@ gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+== +

+

operations for precedence-dependent strings. five levels: p4 (constants), p3 (applications), p2 (products), p1 (sums), p0 (arrows) diff --git a/resource-1.0/doc/gfdoc/Predef.html b/resource-1.0/doc/gfdoc/Predef.html index a8703dd28..3256d722b 100644 --- a/resource-1.0/doc/gfdoc/Predef.html +++ b/resource-1.0/doc/gfdoc/Predef.html @@ -6,12 +6,17 @@

Predefined functions for concrete syntax

-Last update: 2006-02-25 22:19:20 CET
+Author:
+Last update: Tue Jun 13 11:42:45 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Predefined functions for concrete syntax

The definitions of these constants are hard-coded in GF, and defined in AppPredefined.hs. Applying diff --git a/resource-1.0/doc/gfdoc/PredefAbs.html b/resource-1.0/doc/gfdoc/PredefAbs.html index 8277d65d6..393042e4c 100644 --- a/resource-1.0/doc/gfdoc/PredefAbs.html +++ b/resource-1.0/doc/gfdoc/PredefAbs.html @@ -13,13 +13,17 @@


-Last update: 2006-06-03 10:54:51 CEST +Author: +Last update: Tue Jun 13 11:42:45 2006

Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+

+== +

     abstract PredefAbs = {
       cat Int ; String ; Float ; 
diff --git a/resource-1.0/doc/gfdoc/Predication.html b/resource-1.0/doc/gfdoc/Predication.html
index e8ef2e02b..a1c9022b7 100644
--- a/resource-1.0/doc/gfdoc/Predication.html
+++ b/resource-1.0/doc/gfdoc/Predication.html
@@ -6,20 +6,24 @@
 
 

A Small Predication Library

-Last update: 2006-02-25 23:46:32 CET
+Author:
+Last update: Tue Jun 13 11:42:44 2006


+


@@ -29,6 +33,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

A Small Predication Library

(c) Aarne Ranta 2003-2006 under Gnu GPL.

@@ -40,7 +46,7 @@ API of resource grammars. abstract Predication = Cat ** {

- +

The category of atomic sentences

We want to use sentences in positive and negative forms but do not care about @@ -52,7 +58,7 @@ tenses. NegCl : Cl -> S ; -- negative sentence: "x doesn't intersect y"

- +

Predication patterns.

       predV     : V  -> NP -> Cl ;         -- one-place verb:      "x converges"
@@ -70,14 +76,14 @@ tenses.
       predPrep  : Prep -> NP -> NP -> Cl ; -- preposition:         "x is outside y"
 

- +

Imperatives and infinitives.

       impV2     : V2 -> NP -> Phr ;        -- imperative:          "solve the equation E"
       infV2     : V2 -> NP -> Phr ;        -- infinitive:          "to solve the equation E"
 

- +

Individual-valued function applications

       appN2     : N2 -> NP -> NP ;         -- one-place function:  "the successor of x"
@@ -85,7 +91,7 @@ tenses.
       appColl   : N2 -> NP -> NP -> NP ;   -- collective function: "the sum of x and y"
 

- +

Families of types

These are expressed by relational nouns applied to arguments. @@ -96,7 +102,7 @@ These are expressed by relational nouns applied to arguments. famColl : N2 -> NP -> NP -> CN ; -- collective family: "path between x and y"

- +

Type constructor

This is similar to a family except that the argument is a type. diff --git a/resource-1.0/doc/gfdoc/Prelude.html b/resource-1.0/doc/gfdoc/Prelude.html index 9874ebde7..f354cecbf 100644 --- a/resource-1.0/doc/gfdoc/Prelude.html +++ b/resource-1.0/doc/gfdoc/Prelude.html @@ -6,21 +6,25 @@

The GF Prelude

-Last update: 2006-02-25 22:31:06 CET
+Author:
+Last update: Tue Jun 13 11:42:46 2006


+


@@ -30,6 +34,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The GF Prelude

This file defines some prelude facilities usable in all grammars.

@@ -39,7 +45,7 @@ This file defines some prelude facilities usable in all grammars. oper

- +

Strings, records, and tables

       SS  : Type = {s : Str} ;
@@ -68,7 +74,7 @@ Discontinuous constituents.
       sd2 : (_,_ : Str) -> SD2 = \x,y -> {s1 = x ; s2 = y} ;
 

- +

Optional elements

Missing form. @@ -100,7 +106,7 @@ Parametric order between two strings. if_then_Str pr (x ++ y) (y ++ x) ;

- +

Infixes. prefixes, and postfixes

Fixes with precedences are defined in Precedence. @@ -112,7 +118,7 @@ Fixes with precedences are defined in Precedence. embedSS : Str -> Str -> SS -> SS = \f,g,x -> ss (f ++ x.s ++ g) ;

- +

Booleans

      param Bool = True | False ;
@@ -148,7 +154,7 @@ Interface to internal booleans
       last : Tok -> Tok = Predef.dp 1 ;
 

- +

High-level acces to Predef operations

       isNil : Tok -> Bool = \b -> pbool2bool (Predef.eqStr [] b) ;
@@ -157,7 +163,7 @@ Interface to internal booleans
         case Predef.eqStr t u of {Predef.PTrue => a ; Predef.PFalse => b} ;
 

- +

Lexer-related operations

Bind together two tokens in some lexers, either obligatorily or optionally @@ -185,7 +191,7 @@ These should be hidden, and never changed since they are hardcoded in (un)lexers CAPIT : Str = "&|" ;

- +

Miscellaneous

Identity function diff --git a/resource-1.0/doc/gfdoc/Question.html b/resource-1.0/doc/gfdoc/Question.html index ff5e3ece1..2949564f7 100644 --- a/resource-1.0/doc/gfdoc/Question.html +++ b/resource-1.0/doc/gfdoc/Question.html @@ -6,12 +6,17 @@

Questions and interrogative pronouns

-Last update: 2006-04-20 21:45:11 CEST
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Questions and interrogative pronouns

     abstract Question = Cat ** {
 
diff --git a/resource-1.0/doc/gfdoc/Relative.html b/resource-1.0/doc/gfdoc/Relative.html index 235b9e2e9..0b200ef37 100644 --- a/resource-1.0/doc/gfdoc/Relative.html +++ b/resource-1.0/doc/gfdoc/Relative.html @@ -6,12 +6,17 @@

Relative clauses and pronouns

-Last update: 2006-01-17 17:56:17 CET
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Relative clauses and pronouns

     abstract Relative = Cat ** {
     
diff --git a/resource-1.0/doc/gfdoc/Sentence.html b/resource-1.0/doc/gfdoc/Sentence.html
index d8a59fc45..1faac79e3 100644
--- a/resource-1.0/doc/gfdoc/Sentence.html
+++ b/resource-1.0/doc/gfdoc/Sentence.html
@@ -6,19 +6,23 @@
 
 

Sentences, clauses, imperatives, and sentential complements

-Last update: 2006-01-25 20:10:39 CET
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+


@@ -28,11 +32,13 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Sentences, clauses, imperatives, and sentential complements

     abstract Sentence = Cat ** {
 

- +

Clauses

The NP VP predication rule form a clause whose linearization @@ -53,7 +59,7 @@ is only meaningful for some verb phrases. PredSCVP : SC -> VP -> Cl ; -- that you go makes me happy

- +

Clauses missing object noun phrases

This category is a variant of the 'slash category' S/NP of @@ -71,7 +77,7 @@ the style of CCG. SlashPrep : Cl -> Prep -> Slash ; -- (with whom) he walks

- +

Imperatives

An imperative is straightforwardly formed from a verb phrase. @@ -82,7 +88,7 @@ To fix these parameters, see Phrase. ImpVP : VP -> Imp ; -- go

- +

Embedded sentences

Sentences, questions, and infinitival phrases can be used as @@ -94,7 +100,7 @@ subjects and (adverbial) complements. EmbedVP : VP -> SC ; -- to go

- +

Sentences

These are the 2 x 4 x 4 = 16 forms generated by different diff --git a/resource-1.0/doc/gfdoc/Structural.html b/resource-1.0/doc/gfdoc/Structural.html index f7e5dca23..32650aece 100644 --- a/resource-1.0/doc/gfdoc/Structural.html +++ b/resource-1.0/doc/gfdoc/Structural.html @@ -6,12 +6,17 @@

GF Resource Grammar API for Structural Words

-Last update: 2006-05-23 23:38:09 CEST
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

GF Resource Grammar API for Structural Words

AR 21/11/2003 -- 30/11/2005

diff --git a/resource-1.0/doc/gfdoc/Symbol.html b/resource-1.0/doc/gfdoc/Symbol.html index 80ab280b2..7e071431c 100644 --- a/resource-1.0/doc/gfdoc/Symbol.html +++ b/resource-1.0/doc/gfdoc/Symbol.html @@ -6,17 +6,21 @@

Symbolic expressions

-Last update: 2006-03-17 12:02:40 CET
+Author:
+Last update: Tue Jun 13 11:42:44 2006


+


@@ -26,6 +30,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Symbolic expressions

Note. This module is not automatically included in the main grammar Lang. @@ -34,7 +40,7 @@ grammar Lang. abstract Symbol = Cat, PredefAbs ** {

- +

Noun phrases with symbols and numbers

     fun
@@ -46,13 +52,13 @@ grammar Lang.
       CNSymbNP : Det -> CN -> [Symb] -> NP ; -- (the) (2) numbers x and y
 

- +

Sentence consisting of a formula

       SymbS    : Symb -> S ;                 -- A
 

- +

Symbol lists

A symbol list has at least two elements. The last two are separated diff --git a/resource-1.0/doc/gfdoc/Tense.html b/resource-1.0/doc/gfdoc/Tense.html index 621e17a4a..511cb96e1 100644 --- a/resource-1.0/doc/gfdoc/Tense.html +++ b/resource-1.0/doc/gfdoc/Tense.html @@ -6,12 +6,17 @@

Tense, Polarity, and Anteriority

-Last update: 2006-02-26 18:06:25 CET
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Tense, Polarity, and Anteriority

This module defines the abstract parameters of tense, polarity, and anteriority, which are used in Tensed to generate different diff --git a/resource-1.0/doc/gfdoc/Text.html b/resource-1.0/doc/gfdoc/Text.html index 9ab111940..021306b6c 100644 --- a/resource-1.0/doc/gfdoc/Text.html +++ b/resource-1.0/doc/gfdoc/Text.html @@ -6,12 +6,17 @@

Texts

-Last update: 2006-05-23 18:27:29 CEST
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+ +


@@ -20,6 +25,8 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

Texts

     abstract Text = Common ** {
     
diff --git a/resource-1.0/doc/gfdoc/Verb.html b/resource-1.0/doc/gfdoc/Verb.html
index 5d47cd62b..fcd773876 100644
--- a/resource-1.0/doc/gfdoc/Verb.html
+++ b/resource-1.0/doc/gfdoc/Verb.html
@@ -6,18 +6,22 @@
 
 

The construction of verb phrases

-Last update: 2006-02-26 18:02:58 CET
+Author:
+Last update: Tue Jun 13 11:42:41 2006


+


@@ -27,11 +31,13 @@ Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.

+ +

The construction of verb phrases

     abstract Verb = Cat ** {
 

- +

Complementization rules

Verb phrases are constructed from verbs by providing their @@ -51,7 +57,7 @@ complements. There is one rule for each verb category. ComplV2A : V2A -> NP -> AP -> VP ; -- paint the house red

- +

Other ways of forming verb phrases

Verb phrases can also be constructed reflexively and from @@ -92,7 +98,7 @@ vs. next to (or before) the verb. Agents of passives are constructed as adverbs with the preposition Structural.8agent_Prep.

- +

Complements to copula

Adjectival phrases, noun phrases, and adverbs can be used. @@ -103,7 +109,7 @@ Adjectival phrases, noun phrases, and adverbs can be used. CompAdv : Adv -> Comp ; -- (be) here

- +

Coercions

Verbs can change subcategorization patterns in systematic ways,