From 4fe70bc89ecfdfbe4b468805ca4d9f2aaa66b972 Mon Sep 17 00:00:00 2001
From: bringert Adjectives and adjectival phrases
-Last update: Sat Feb 25 22:35:53 2006
-% NOTE: this is a txt2tags file.
+Last update: 2006-03-03 17:06:08 CET
Adverbs and adverbial phrases
-Last update: Sat Feb 25 22:35:53 2006
-% NOTE: this is a txt2tags file.
+Last update: 2006-03-03 17:06:08 CET
The category system
-Author:
-Last update: Thu Apr 20 17:30:07 2006
+Last update: 2006-04-20 18:39:28 CEST
-
-
-
-
@@ -38,8 +34,6 @@ Produced by
gfdoc - a rudimentary GF document generator.
(c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
Some categories are inherited from Common.
@@ -49,7 +43,7 @@ Some categories are inherited from Common. cat - +
Constructed in Text: Text.
@@ -60,7 +54,7 @@ Constructed in Phrase: Phr and
Voc ; -- vocative or "please" e.g. "my darling"
Constructed in Sentence, and also in @@ -76,7 +70,7 @@ Constructed in Sentence, and also in SC ; -- embedded sentence or question e.g. "that it rains"
- +Constructed in Question. @@ -89,7 +83,7 @@ Constructed in Question. IDet ; -- interrogative determiner e.g. "which"
- +Constructed in Relative. @@ -99,7 +93,7 @@ Constructed in Relative. RP ; -- relative pronoun e.g. "in which"
- +Constructed in Verb. @@ -109,7 +103,7 @@ Constructed in Verb. Comp ; -- complement of copula, such as AP e.g. "very warm"
- +Constructed in Adjective. @@ -118,7 +112,7 @@ Constructed in Adjective. AP ; -- adjectival phrase e.g. "very warm"
- +Constructed in Noun. @@ -145,7 +139,7 @@ as defined in Noun. Ord ; -- ordinal number (used in Det) e.g. "seventh"
- +Constructed in Adverb. @@ -158,7 +152,7 @@ Many adverbs are constructed in Structural. AdN ; -- numeral-modifying adverb, e.g. "more than"
- +Constructed in Numeral. @@ -167,7 +161,7 @@ Constructed in Numeral. Numeral;-- cardinal or ordinal, e.g. "five/fifth"
- +Constructed in Structural. @@ -181,7 +175,7 @@ Constructed in Structural. Prep ; -- preposition, or just case e.g. "in"
- +These are constructed in Lexicon and in additional lexicon modules. diff --git a/lib/resource-1.0/doc/gfdoc/Common.html b/lib/resource-1.0/doc/gfdoc/Common.html index e8fbbba2e..3c0d6d83d 100644 --- a/lib/resource-1.0/doc/gfdoc/Common.html +++ b/lib/resource-1.0/doc/gfdoc/Common.html @@ -6,8 +6,7 @@
-Last update: Sat Feb 25 22:36:01 2006 +Last update: 2006-03-09 18:54:25 CET
Produced by @@ -140,6 +140,7 @@ For testing and example-based grammar writing.
point1, point2 : Point ;
+ x_MAdv, y_MAdv : MAdv ;
}
diff --git a/lib/resource-1.0/doc/gfdoc/Idiom.html b/lib/resource-1.0/doc/gfdoc/Idiom.html
index e453a0eac..39c060775 100644
--- a/lib/resource-1.0/doc/gfdoc/Idiom.html
+++ b/lib/resource-1.0/doc/gfdoc/Idiom.html
@@ -6,8 +6,7 @@
-Last update: Sat Feb 25 22:36:01 2006 +Last update: 2006-03-03 17:06:11 CET
Produced by diff --git a/lib/resource-1.0/doc/gfdoc/Noun.html b/lib/resource-1.0/doc/gfdoc/Noun.html index 9f2ddc808..a3a32a725 100644 --- a/lib/resource-1.0/doc/gfdoc/Noun.html +++ b/lib/resource-1.0/doc/gfdoc/Noun.html @@ -6,8 +6,7 @@
SentCN : CN -> SC -> CN ; -- fact that John smokes, question if he does
+
+
+
++This is certainly overgenerating. +
+
+ ApposCN : CN -> NP -> CN ; -- number x, numbers x and y
} ;
diff --git a/lib/resource-1.0/doc/gfdoc/Numeral.html b/lib/resource-1.0/doc/gfdoc/Numeral.html
index c2f040743..8ab153d8f 100644
--- a/lib/resource-1.0/doc/gfdoc/Numeral.html
+++ b/lib/resource-1.0/doc/gfdoc/Numeral.html
@@ -6,8 +6,7 @@
-Author: -Last update: Fri Apr 21 11:44:29 2006 -
-Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
-== -
--# -path=.:../abstract:../../prelude:../common -
- -Aarne Ranta 2003--2005
@@ -97,7 +85,7 @@ The following modules are presupposed: in {
- +To abstract over gender names, we define the following identifiers. @@ -138,7 +126,7 @@ Prepositions are used in many-argument functions for rection. Preposition : Type ;
- +Worst case: give all four forms and the semantic gender. @@ -172,7 +160,7 @@ function: genderN : Gender -> N -> N ;
- +A compound noun ia an uninflected string attached to an inflected noun, @@ -182,7 +170,7 @@ such as baby boom, chief executive officer. compoundN : Str -> N -> N ;
- +Relational nouns (daughter of x) need a preposition. @@ -210,7 +198,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -221,7 +209,7 @@ relational noun (e.g. the old town hall of).
cnN3 : CN -> Preposition -> Preposition -> N3 ;
Proper names, with a regular genitive, are formed as follows @@ -245,7 +233,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;
- +Non-comparison one-place adjectives need two forms: one for @@ -263,7 +251,7 @@ even for cases with the variation happy - happily. regA : Str -> A ;
- +
Two-place adjectives need a preposition for their second argument.
@@ -313,7 +301,7 @@ From a given ADeg, it is possible to get back to A.
adegA : ADeg -> A ;
Adverbs are not inflected. Most lexical ones have position @@ -331,7 +319,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +
A preposition as used for rection in the lexicon, as well as to
@@ -345,7 +333,7 @@ build PPs in the resource API, just requires a string.
(These two functions are synonyms.)
- +Except for be, the worst case needs five forms: the infinitive and @@ -384,7 +372,7 @@ duplication in the present participle. irregDuplV : (get, got, gotten : Str) -> V ;
- +The particle, such as in switch on, is given as a string. @@ -393,7 +381,7 @@ The particle, such as in switch on, is given as a string. partV : V -> Str -> V ;
- +By default, verbs are not reflexive; this function makes them that. @@ -402,7 +390,7 @@ By default, verbs are not reflexive; this function makes them that. reflV : V -> V ;
- +Two-place verbs need a preposition, except the special case with direct object. @@ -414,7 +402,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;
- +Three-place (ditransitive) verbs need two prepositions, of which @@ -426,7 +414,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- give,_,_
- +
Verbs and adjectives can take complements such as sentences,
@@ -460,7 +448,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsFin.html b/lib/resource-1.0/doc/gfdoc/ParadigmsFin.html index 5505af389..5112313bc 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsFin.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsFin.html @@ -2,44 +2,36 @@
+-Last update: Sat Feb 25 22:35:58 2006 -
-Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
-# -path=.:../abstract:../common:../../prelude -
- -Aarne Ranta 2003--2005
@@ -85,7 +77,7 @@ flags optimize=all ; flags optimize=noexpand ;
- +To abstract over gender, number, and (some) case names, @@ -123,10 +115,9 @@ just a case, or a pre/postposition and a case. postPrep : Case -> Str -> Prep ; -- takana, genitive postGenPrep : Str -> Prep ; -- takana casePrep : Case -> Prep ; -- adessive - accusative : Prep ;
- +The worst case gives ten forms and the semantic gender. @@ -326,7 +317,7 @@ The plural forms are filtered away by the compiler. mkNP : N -> Number -> NP ;
- +
Non-comparison one-place adjectives are just like nouns.
@@ -355,10 +346,10 @@ enough (except for the superlative paras of hyv
The regular adjectives are based on regN in the positive.
- regADeg : (punainen : Str) -> A ; + regA : (punainen : Str) -> A ;- +
The grammar does not cover the potential mood and some nominal
@@ -464,7 +455,7 @@ But this is taken care of by ClauseFin.
dirV2 : V -> V2 ;
Three-place (ditransitive) verbs need two prepositions, of which @@ -476,7 +467,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- acc, allat
- +Verbs and adjectives can take complements such as sentences, diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsFre.html b/lib/resource-1.0/doc/gfdoc/ParadigmsFre.html index e105bb8e6..f8d9b2b6d 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsFre.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsFre.html @@ -2,57 +2,49 @@
+-Last update: Sat Feb 25 22:35:58 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 -
- -Aarne Ranta 2003
@@ -92,7 +84,7 @@ words. flags optimize=all ;
- +To abstract over gender names, we define the following identifiers. @@ -131,7 +123,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;
- +Worst case: give both two forms and the gender. @@ -141,17 +133,27 @@ Worst case: give both two forms and the gender.
-The regular function takes the singular form and the gender,
-and computes the plural by a heuristic. The heuristic currently
+The regular function takes the singular form,
+and computes the plural and the gender by a heuristic. The plural
+heuristic currently
covers the cases pas-pas, prix-prix, nez-nez,
bijou-bijoux, cheveu-cheveux, plateau-plateaux, cheval-chevaux.
+The gender heuristic is less reliable: it treats as feminine all
+nouns ending with e and ion, all others as masculine.
If in doubt, use the cc command to test!
- regN : Str -> Gender -> N ; + regN : Str -> N ;- +
+Adding gender information widens the scope of the foregoing function. +
++ regGenN : Str -> Gender -> N ; ++ +
Some nouns are ones where the first part is inflected as a noun but @@ -163,7 +165,7 @@ they are frequent in lexica. compN : N -> Str -> N ;
- +Relational nouns (fille de x) need a case and a preposition. @@ -188,7 +190,7 @@ Three-place relational nouns (la connection de x mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -196,7 +198,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 need a string and a gender. @@ -213,7 +215,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;
- +Non-comparison one-place adjectives need four forms in the worst @@ -244,7 +246,7 @@ provided. prefA : A -> A ;
- +Two-place adjectives need a preposition for their second argument. @@ -253,7 +255,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;
- +Comparison adjectives are in the worst case put up from two @@ -279,7 +281,7 @@ provided. prefA : A -> A ;
- +Adverbs are not inflected. Most lexical ones have position @@ -303,7 +305,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +
Irregular verbs are given in the module VerbsFre.
@@ -340,7 +342,7 @@ To change it to
reflV : V -> V ;
Two-place verbs need a preposition, except the special case with direct object.
@@ -359,7 +361,7 @@ You can reuse a V2 verb in V.
v2V : V2 -> V ;
Three-place (ditransitive) verbs need two prepositions, of which @@ -371,7 +373,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_
- +
Verbs and adjectives can take complements such as sentences,
@@ -407,7 +409,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsGer.html b/lib/resource-1.0/doc/gfdoc/ParadigmsGer.html index 6a6a6141b..ac146cee8 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsGer.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsGer.html @@ -34,16 +34,13 @@
-Last update: Sat Feb 25 22:35:59 2006 +Last update: 2006-03-03 17:06:09 CET
Produced by gfdoc - a rudimentary GF document generator. (c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
--# -path=.:../common:../abstract:../../prelude -
diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsIta.html b/lib/resource-1.0/doc/gfdoc/ParadigmsIta.html index d6c861c9a..12c06e6cf 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsIta.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsIta.html @@ -2,57 +2,49 @@
+-Last update: Sat Feb 25 22:35:59 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 -
- -Aarne Ranta 2003
@@ -93,7 +85,7 @@ words. flags optimize=all ;
- +To abstract over gender names, we define the following identifiers. @@ -132,7 +124,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;
- +Worst case: give both two forms and the gender. @@ -159,7 +151,7 @@ To force a different gender, use one of the following functions. femN : N -> N ;
- +Some nouns are ones where the first part is inflected as a noun but @@ -171,7 +163,7 @@ they are frequent in lexica. compN : N -> Str -> N ;
- +Relational nouns (figlio di x) need a case and a preposition. @@ -196,7 +188,7 @@ Three-place relational nouns (la connessione di x a y) need two prepositi mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -204,7 +196,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 need a string and a gender. @@ -221,7 +213,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;
- +Non-comparison one-place adjectives need five forms in the worst @@ -249,7 +241,7 @@ provided. prefA : A -> A ;
- +Two-place adjectives need a preposition for their second argument. @@ -258,7 +250,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;
- +Comparison adjectives are in the worst case put up from two @@ -284,7 +276,7 @@ with comparison by plus. regADeg : Str -> A ;
- +Adverbs are not inflected. Most lexical ones have position @@ -308,7 +300,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +Regular verbs are ones with the infinitive er or ir, the @@ -339,7 +331,7 @@ Reflexive implies essere. reflV : V -> V ;
- +
Two-place verbs need a preposition, except the special case with direct object.
@@ -358,7 +350,7 @@ You can reuse a V2 verb in V.
v2V : V2 -> V ;
Three-place (ditransitive) verbs need two prepositions, of which @@ -370,7 +362,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_
- +
Verbs and adjectives can take complements such as sentences,
@@ -406,7 +398,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsNor.html b/lib/resource-1.0/doc/gfdoc/ParadigmsNor.html index 89126eea0..46cb425f1 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsNor.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsNor.html @@ -2,59 +2,51 @@
+-Last update: Sat Feb 25 22:35:59 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 -
- -Aarne Ranta 2003
@@ -92,7 +84,7 @@ words. CatNor in {
- +To abstract over gender names, we define the following identifiers. @@ -133,7 +125,7 @@ Prepositions used in many-argument functions are just strings. Preposition : Type = Str ;
- +
Worst case: give all four forms. The gender is computed from the
@@ -144,12 +136,21 @@ last letter of the second form (if n, then utrum, otherwise
-The regular function takes the singular indefinite form and the gender,
-and computes the other forms by a heuristic.
+The regular function takes the singular indefinite form
+and computes the other forms and the gender by a heuristic.
+The heuristic is that nouns ending e are feminine like kvinne,
+all others are masculine like bil.
If in doubt, use the cc command to test!
- regN : Str -> Gender -> N ; + regN : Str -> N ; ++ +
+Giving gender manually makes the heuristic more reliable. +
++ regGenN : Str -> Gender -> N ;
@@ -160,13 +161,13 @@ gender is computed from the definite form. mk2N : (bil,bilen : Str) -> N ;
- +All the functions above work quite as well to form compound nouns, such as fotboll.
- +Relational nouns (daughter of x) need a preposition. @@ -194,7 +195,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -202,7 +203,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, with a regular genitive, are formed as follows @@ -226,7 +227,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;
- +Non-comparison one-place adjectives need three forms: @@ -249,7 +250,7 @@ In most cases, two forms are enough. mk2A : (stor,stort : Str) -> A ;
- +Two-place adjectives need a preposition for their second argument. @@ -296,7 +297,7 @@ long adjective, the following pattern is used: compoundADeg : A -> A ; -- -/mer/mest norsk
- +Adverbs are not inflected. Most lexical ones have position @@ -314,7 +315,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +A preposition is just a string. @@ -323,7 +324,7 @@ A preposition is just a string. mkPreposition : Str -> Preposition ;
- +The worst case needs six forms. @@ -354,7 +355,7 @@ In practice, it is enough to give three forms, as in school books. irregV : (drikke, drakk, drukket : Str) -> V ;
- +The particle, such as in switch on, is given as a string. @@ -363,18 +364,18 @@ The particle, such as in switch on, is given as a string. partV : V -> Str -> V ;
- +Some words are used in passive forms only, e.g. hoppas, some as -reflexive e.g. Ã¥ngra sig. +reflexive e.g. ångra sig.
depV : V -> V ;
reflV : V -> V ;
-
+
Two-place verbs need a preposition, except the special case with direct object. @@ -386,7 +387,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;
- +Three-place (ditransitive) verbs need two prepositions, of which @@ -398,7 +399,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- give,_,_
- +
Verbs and adjectives can take complements such as sentences,
@@ -432,7 +433,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsSpa.html b/lib/resource-1.0/doc/gfdoc/ParadigmsSpa.html index 2b05da664..eaa196ca4 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsSpa.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsSpa.html @@ -2,57 +2,49 @@
+-Last update: Sat Feb 25 22:35:59 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 -
- -Aarne Ranta 2003
@@ -90,7 +82,7 @@ escape to construct the most irregular words of type C.
flags optimize=all ;
To abstract over gender names, we define the following identifiers. @@ -129,7 +121,7 @@ amalgamate with the following word (the 'genitive' de and the mkPreposition : Str -> Preposition ;
- +Worst case: two forms (singular + plural), @@ -160,7 +152,7 @@ To force a different gender, use one of the following functions. femN : N -> N ;
- +Some nouns are ones where the first part is inflected as a noun but @@ -172,7 +164,7 @@ they are frequent in lexica. compN : N -> Str -> N ;
- +Relational nouns (fille de x) need a case and a preposition. @@ -197,7 +189,7 @@ Three-place relational nouns (la connessione di x a y) need two prepositi mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -205,7 +197,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 need a string and a gender. @@ -222,7 +214,7 @@ you can use the worst-case function. mkNP : Str -> Gender -> Number -> NP ;
- +Non-comparison one-place adjectives need five forms in the worst @@ -251,7 +243,7 @@ provided. prefA : A -> A ;
- +Two-place adjectives need a preposition for their second argument. @@ -260,7 +252,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;
- +Comparison adjectives are in the worst case put up from two @@ -286,7 +278,7 @@ with comparison by mas. regADeg : Str -> A ;
- +Adverbs are not inflected. Most lexical ones have position @@ -310,7 +302,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +Regular verbs are ones inflected like cortar, deber, or vivir. @@ -346,7 +338,7 @@ in masculine singular form as second argument. special_ppV : V -> Str -> V ;
- +
Two-place verbs need a preposition, except the special case with direct object.
@@ -365,7 +357,7 @@ You can reuse a V2 verb in V.
v2V : V2 -> V ;
Three-place (ditransitive) verbs need two prepositions, of which @@ -377,7 +369,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- donner,_,_
- +
Verbs and adjectives can take complements such as sentences,
@@ -413,7 +405,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/ParadigmsSwe.html b/lib/resource-1.0/doc/gfdoc/ParadigmsSwe.html index 40954d378..1dff2f14e 100644 --- a/lib/resource-1.0/doc/gfdoc/ParadigmsSwe.html +++ b/lib/resource-1.0/doc/gfdoc/ParadigmsSwe.html @@ -2,59 +2,51 @@
+-Last update: Sat Feb 25 22:36:00 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 -
- -Aarne Ranta 2003
@@ -92,7 +84,7 @@ words. CatSwe in {
- +To abstract over gender names, we define the following identifiers. @@ -132,7 +124,7 @@ Prepositions used in many-argument functions are just strings. Preposition : Type = Str ;
- +
Worst case: give all four forms. The gender is computed from the
@@ -143,12 +135,21 @@ last letter of the second form (if n, then utrum, otherwise
-The regular function takes the singular indefinite form and the gender,
-and computes the other forms by a heuristic.
+The regular function takes the singular indefinite form and computes the other
+forms and the gender by a heuristic. The heuristic is currently
+to treat all words ending with a like flicka, with e like rike,
+and otherwise like bil.
If in doubt, use the cc command to test!
- regN : Str -> Gender -> N ; + regN : Str -> N ; ++ +
+Adding the gender manually greatly improves the correction of regN.
+
+ regGenN : Str -> Gender -> N ;
@@ -166,13 +167,13 @@ It does not work if there are changes in the stem. mk1N : (bilarna : Str) -> N ;
- +All the functions above work quite as well to form compound nouns, such as fotboll.
- +Relational nouns (daughter of x) need a preposition. @@ -200,7 +201,7 @@ Three-place relational nouns (the connection from x to y) need two prepos mkN3 : N -> Preposition -> Preposition -> N3 ;
- +
In some cases, you may want to make a complex CN into a
@@ -208,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, with a regular genitive, are formed as follows @@ -232,7 +233,7 @@ genitive, you can use the worst-case function. mkNP : Str -> Str -> Number -> Gender -> NP ;
- +Adjectives may need as many as seven forms. @@ -264,7 +265,7 @@ Sometimes just the positive forms are irregular. mk2A : (bred,brett : Str) -> A ;
- +Two-place adjectives need a preposition for their second argument. @@ -273,7 +274,7 @@ Two-place adjectives need a preposition for their second argument. mkA2 : A -> Preposition -> A2 ;
- +Adverbs are not inflected. Most lexical ones have position @@ -291,7 +292,7 @@ Adverbs modifying adjectives and sentences can also be formed. mkAdA : Str -> AdA ;
- +A preposition is just a string. @@ -300,7 +301,7 @@ A preposition is just a string. mkPreposition : Str -> Preposition ;
- +The worst case needs five forms. @@ -338,7 +339,7 @@ In practice, it is enough to give three forms, as in school books. irregV : (dricka, drack, druckit : Str) -> V ;
- +The particle, such as in passa på, is given as a string. @@ -347,7 +348,7 @@ The particle, such as in passa p partV : V -> Str -> V ;
- +Some words are used in passive forms only, e.g. hoppas, some as @@ -358,7 +359,7 @@ reflexive e.g. reflV : V -> V ;
- +Two-place verbs need a preposition, except the special case with direct object. @@ -370,7 +371,7 @@ Two-place verbs need a preposition, except the special case with direct object. dirV2 : V -> V2 ;
- +Three-place (ditransitive) verbs need two prepositions, of which @@ -382,7 +383,7 @@ the first one or both can be absent. dirdirV3 : V -> V3 ; -- ge _ _
- +
Verbs and adjectives can take complements such as sentences,
@@ -416,7 +417,7 @@ as an adverb. Likewise AS, A2S, AV, A2V are just A.
AS, A2S, AV, A2V : Type ;
The definitions should not bother the user of the API. So they are diff --git a/lib/resource-1.0/doc/gfdoc/Phrase.html b/lib/resource-1.0/doc/gfdoc/Phrase.html index 21bd1bf05..8b35fe883 100644 --- a/lib/resource-1.0/doc/gfdoc/Phrase.html +++ b/lib/resource-1.0/doc/gfdoc/Phrase.html @@ -6,8 +6,7 @@
-Last update: Sat Feb 25 22:36:02 2006 +Last update: 2006-03-03 17:05:26 CET
Produced by diff --git a/lib/resource-1.0/doc/gfdoc/Predef.html b/lib/resource-1.0/doc/gfdoc/Predef.html index e9b87e237..a88fedbef 100644 --- a/lib/resource-1.0/doc/gfdoc/Predef.html +++ b/lib/resource-1.0/doc/gfdoc/Predef.html @@ -6,8 +6,7 @@
-Last update: Sat Feb 25 22:36:02 2006 +Last update: 2006-03-03 17:05:26 CET
Produced by diff --git a/lib/resource-1.0/doc/gfdoc/Predication.html b/lib/resource-1.0/doc/gfdoc/Predication.html index 60aa778d1..d289111e0 100644 --- a/lib/resource-1.0/doc/gfdoc/Predication.html +++ b/lib/resource-1.0/doc/gfdoc/Predication.html @@ -6,8 +6,7 @@
+ impV2 : V2 -> NP -> Phr ; -- imperative: "solve the equation E" + infV2 : V2 -> NP -> Phr ; -- infinitive: "to solve the equation E" ++ +
appN2 : N2 -> NP -> NP ; -- one-place function: "the successor of x"
@@ -78,7 +85,7 @@ tenses.
appColl : N2 -> NP -> NP -> NP ; -- collective function: "the sum of x and y"
-
+
These are expressed by relational nouns applied to arguments. @@ -89,7 +96,7 @@ These are expressed by relational nouns applied to arguments. famColl : N2 -> NP -> NP -> CN ; -- collective family: "path between x and y"
- +This is similar to a family except that the argument is a type. diff --git a/lib/resource-1.0/doc/gfdoc/Prelude.html b/lib/resource-1.0/doc/gfdoc/Prelude.html index 70e558fcc..6c228cdb5 100644 --- a/lib/resource-1.0/doc/gfdoc/Prelude.html +++ b/lib/resource-1.0/doc/gfdoc/Prelude.html @@ -6,8 +6,7 @@
abstract Question = Cat ** {
diff --git a/lib/resource-1.0/doc/gfdoc/Relative.html b/lib/resource-1.0/doc/gfdoc/Relative.html
index afc87c751..4bc55064c 100644
--- a/lib/resource-1.0/doc/gfdoc/Relative.html
+++ b/lib/resource-1.0/doc/gfdoc/Relative.html
@@ -6,8 +6,7 @@
+ SymbS : Symb -> S ; -- A ++ +
A symbol list has at least two elements. The last two are separated diff --git a/lib/resource-1.0/doc/gfdoc/Tense.html b/lib/resource-1.0/doc/gfdoc/Tense.html index 140db9575..9646d86a4 100644 --- a/lib/resource-1.0/doc/gfdoc/Tense.html +++ b/lib/resource-1.0/doc/gfdoc/Tense.html @@ -6,8 +6,7 @@
diff --git a/lib/resource-1.0/doc/gfdoc/Text.html b/lib/resource-1.0/doc/gfdoc/Text.html index 10b8d2c13..7f9b1c023 100644 --- a/lib/resource-1.0/doc/gfdoc/Text.html +++ b/lib/resource-1.0/doc/gfdoc/Text.html @@ -6,8 +6,7 @@diff --git a/lib/resource-1.0/doc/gfdoc/Verb.html b/lib/resource-1.0/doc/gfdoc/Verb.html index 126d98505..116f9d5b7 100644 --- a/lib/resource-1.0/doc/gfdoc/Verb.html +++ b/lib/resource-1.0/doc/gfdoc/Verb.html @@ -6,8 +6,7 @@ Texts
-Last update: Sat Feb 25 22:35:57 2006
-% NOTE: this is a txt2tags file. +Last update: 2006-03-03 17:06:10 CET
@@ -68,8 +67,8 @@ Passivization of two-place verbs is another way to use them. In many languages, the result is a participle that is used as complement to a copula (is used), but other auxiliary verbs are possible (Ger. wird angewendet, It. -viene usato), as well as special verb forms (Fin. käytetään, -Swe. används). +viene usato), as well as special verb forms (Fin. käytetään, +Swe. används). The construction of verb phrases
-Last update: Sat Feb 25 22:35:57 2006
-% NOTE: this is a txt2tags file. +Last update: 2006-03-03 17:06:11 CET
Note. the rule can be overgenerating, since the
V2need not