forked from GitHub/gf-core
updated gfdoc
This commit is contained in:
BIN
doc/resource.pdf
BIN
doc/resource.pdf
Binary file not shown.
@@ -12,7 +12,7 @@ TODO in Resource 1.0 implementation
|
|||||||
|
|
||||||
%Ita: clitic order and changes
|
%Ita: clitic order and changes
|
||||||
|
|
||||||
Ita: infinitive contractions
|
%Ita: infinitive contractions
|
||||||
|
|
||||||
%Ita: articles in possessives
|
%Ita: articles in possessives
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1>Resource grammar writing HOWTO</H1>
|
<P ALIGN="center"><CENTER><H1>Resource grammar writing HOWTO</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
||||||
Last update: Fri Jun 16 00:59:52 2006
|
Last update: Fri Jun 23 00:13:11 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -67,7 +67,7 @@ will give some hints how to extend the API.
|
|||||||
A manual for using the resource grammar is found in
|
A manual for using the resource grammar is found in
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
<A HREF="../../../doc/resource.pdf"><CODE>http://www.cs.chalmers.se/~aarne/GF/doc/resource.pdf</CODE></A>.
|
<A HREF="http://www.cs.chalmers.se/~aarne/GF/doc/resource.pdf"><CODE>http://www.cs.chalmers.se/~aarne/GF/doc/resource.pdf</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
A tutorial on GF, also introducing the idea of resource grammars, is found in
|
A tutorial on GF, also introducing the idea of resource grammars, is found in
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Adjective: Adjectives and Adjectival Phrases</H1>
|
<P ALIGN="center"><CENTER><H1> Adjective: Adjectives and Adjectival Phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:14:36 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -42,7 +42,7 @@ elliptic-relational.
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Sentence and question complements defined for all adjectival
|
Sentence and question complements defined for all adjectival
|
||||||
phrases, although the semantics is only clear for some adjective.
|
phrases, although the semantics is only clear for some adjectives.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
SentAP : AP -> SC -> AP ; -- great that she won, uncertain if she did
|
SentAP : AP -> SC -> AP ; -- great that she won, uncertain if she did
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Adverb: Adverbs and Adverbial Phrases</H1>
|
<P ALIGN="center"><CENTER><H1> Adverb: Adverbs and Adverbial Phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-14 22:56:30 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Cat: the Category System</H1>
|
<P ALIGN="center"><CENTER><H1> Cat: the Category System</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:10:58 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -41,7 +41,7 @@ it is enough that both <CODE>Verb</CODE> and <CODE>Noun</CODE> use the same type
|
|||||||
which is given here in <CODE>Cat</CODE>.
|
which is given here in <CODE>Cat</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Some categories are inherited from <A HREF="Common.html">Common</A>.
|
Some categories are inherited from <A HREF="Common.html"><CODE>Common</CODE></A>.
|
||||||
The reason they are defined there is that they have the same
|
The reason they are defined there is that they have the same
|
||||||
implementation in all languages in the resource (typically,
|
implementation in all languages in the resource (typically,
|
||||||
just a string). These categories are
|
just a string). These categories are
|
||||||
@@ -132,7 +132,7 @@ as defined in <A HREF="Noun.html">Noun</A>.
|
|||||||
CN ; -- common noun (without determiner) e.g. "red house"
|
CN ; -- common noun (without determiner) e.g. "red house"
|
||||||
NP ; -- noun phrase (subject or object) e.g. "the red house"
|
NP ; -- noun phrase (subject or object) e.g. "the red house"
|
||||||
Pron ; -- personal pronoun e.g. "she"
|
Pron ; -- personal pronoun e.g. "she"
|
||||||
Det ; -- determiner phrase e.g. "all the seven"
|
Det ; -- determiner phrase e.g. "those seven"
|
||||||
Predet; -- predeterminer (prefixed Quant) e.g. "all"
|
Predet; -- predeterminer (prefixed Quant) e.g. "all"
|
||||||
QuantSg;-- quantifier ('nucleus' of sing. Det) e.g. "every"
|
QuantSg;-- quantifier ('nucleus' of sing. Det) e.g. "every"
|
||||||
QuantPl;-- quantifier ('nucleus' of plur. Det) e.g. "many"
|
QuantPl;-- quantifier ('nucleus' of plur. Det) e.g. "many"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Common: Structures with Common Implementations.</H1>
|
<P ALIGN="center"><CENTER><H1> Common: Structures with Common Implementations.</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:13:55 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -30,11 +30,11 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
This module defines the categories that uniformly have the linearization
|
This module defines the categories that uniformly have the linearization
|
||||||
<CODE>{s : Str}</CODE> in all languages.
|
<CODE>{s : Str}</CODE> in all languages.
|
||||||
Moreover, this module defines the abstract parameters of tense, polarity, and
|
Moreover, this module defines the abstract parameters of tense, polarity, and
|
||||||
anteriority, which are used in <A HREF="Phrase.html">Phrase</A> to generate different
|
anteriority, which are used in <A HREF="Phrase.html"><CODE>Phrase</CODE></A> to generate different
|
||||||
forms of sentences. Together they give 2 x 4 x 4 = 16 sentence forms.
|
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
|
These tenses are defined for all languages in the library. More tenses
|
||||||
can be defined in the language extensions, e.g. the <I>passé simple</I> of
|
can be defined in the language extensions, e.g. the <I>passé simple</I> of
|
||||||
Romance languages.
|
Romance languages in <A HREF="../romance/ExtraRomance.gf"><CODE>ExtraRomance</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Common = {
|
abstract Common = {
|
||||||
@@ -45,14 +45,14 @@ Romance languages.
|
|||||||
<A NAME="toc1"></A>
|
<A NAME="toc1"></A>
|
||||||
<H2>Top-level units</H2>
|
<H2>Top-level units</H2>
|
||||||
<P>
|
<P>
|
||||||
Constructed in <A HREF="Text.html">Text</A>: <CODE>Text</CODE>.
|
Constructed in <A HREF="Text.html"><CODE>Text</CODE></A>: <CODE>Text</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Text ; -- text consisting of several phrases e.g. "He is here. Why?"
|
Text ; -- text consisting of several phrases e.g. "He is here. Why?"
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Constructed in <A HREF="Phrase.html">Phrase</A>:
|
Constructed in <A HREF="Phrase.html"><CODE>Phrase</CODE></A>:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Phr ; -- phrase in a text e.g. "but be quiet please"
|
Phr ; -- phrase in a text e.g. "but be quiet please"
|
||||||
@@ -62,7 +62,7 @@ Constructed in <A HREF="Phrase.html">Phrase</A>:
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Constructed in <A HREF="Sentence.html">Sentence</A>:
|
Constructed in <A HREF="Sentence.html"><CODE>Sentence</CODE></A>:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
SC ; -- embedded sentence or question e.g. "that it rains"
|
SC ; -- embedded sentence or question e.g. "that it rains"
|
||||||
@@ -71,8 +71,8 @@ Constructed in <A HREF="Sentence.html">Sentence</A>:
|
|||||||
<A NAME="toc2"></A>
|
<A NAME="toc2"></A>
|
||||||
<H2>Adverbs</H2>
|
<H2>Adverbs</H2>
|
||||||
<P>
|
<P>
|
||||||
Constructed in <A HREF="Adverb.html">Adverb</A>.
|
Constructed in <A HREF="Adverb.html"><CODE>Adverb</CODE></A>.
|
||||||
Many adverbs are constructed in <A HREF="Structural.html">Structural</A>.
|
Many adverbs are constructed in <A HREF="Structural.html"><CODE>Structural</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Adv ; -- verb-phrase-modifying adverb, e.g. "in the house"
|
Adv ; -- verb-phrase-modifying adverb, e.g. "in the house"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Conjunction: Coordination</H1>
|
<P ALIGN="center"><CENTER><H1> Conjunction: Coordination</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:17:31 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -37,9 +37,9 @@ and define two general patterns:
|
|||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
<B>Note</B>. This module uses right-recursive lists. If backward
|
<CODE>VP</CODE> conjunctions are not covered here, because their applicability
|
||||||
compatibility with API 0.9 is needed, use
|
depends on language. Some special cases are defined in
|
||||||
<A HREF="SeqConjunction.html">SeqConjunction</A>.
|
<A HREF="../abstract/Extra.gf"><CODE>Extra</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Conjunction = Cat ** {
|
abstract Conjunction = Cat ** {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Grammar: the Main Module of the Resource Grammar</H1>
|
<P ALIGN="center"><CENTER><H1> Grammar: the Main Module of the Resource Grammar</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:08:55 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -21,8 +21,8 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This grammar a collection of the different grammar modules,
|
This grammar is a collection of the different grammar modules,
|
||||||
To test the resource, import <A HREF="Lang.html">Lang</A>, which also contains
|
To test the resource, import <A HREF="Lang.html"><CODE>Lang</CODE></A>, which also contains
|
||||||
a lexicon.
|
a lexicon.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Idiom: Idiomatic Expressions</H1>
|
<P ALIGN="center"><CENTER><H1> Idiom: Idiomatic Expressions</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-14 22:57:19 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ flags optimize=values ;
|
|||||||
freeze_V = irregV "freeze" "froze" "frozen" ;
|
freeze_V = irregV "freeze" "froze" "frozen" ;
|
||||||
get_V = irregDuplV "get" "got" "gotten" ;
|
get_V = irregDuplV "get" "got" "gotten" ;
|
||||||
give_V = irregV "give" "gave" "given" ;
|
give_V = irregV "give" "gave" "given" ;
|
||||||
go_V = irregV "go" "went" "gone" ;
|
go_V = mkV "go" "goes" "went" "gone" "going" ;
|
||||||
grind_V = irregV "grind" "ground" "ground" ;
|
grind_V = irregV "grind" "ground" "ground" ;
|
||||||
grow_V = irregV "grow" "grew" "grown" ;
|
grow_V = irregV "grow" "grew" "grown" ;
|
||||||
hang_V = irregV "hang" "hung" "hung" ;
|
hang_V = irregV "hang" "hung" "hung" ;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Lang: a Test Module for the Resource Grammar</H1>
|
<P ALIGN="center"><CENTER><H1> Lang: a Test Module for the Resource Grammar</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:09:20 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -23,7 +23,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
<P>
|
<P>
|
||||||
This grammar is for testing the resource as included in the
|
This grammar is for testing the resource as included in the
|
||||||
language-independent API, consisting of a grammar and a lexicon.
|
language-independent API, consisting of a grammar and a lexicon.
|
||||||
The grammar without a lexicon is <A HREF="Grammar.html">Grammar</A>,
|
The grammar without a lexicon is <A HREF="Grammar.html"><CODE>Grammar</CODE></A>,
|
||||||
which may be more suitable to open in applications.
|
which may be more suitable to open in applications.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
|
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-02-28 09:26:58 CET</I><BR>
|
<I>Last update: 2006-02-25 21:36:45 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1>
|
<P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-05-24 15:08:56 CEST</I><BR>
|
<I>Last update: 2006-05-23 23:36:59 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Noun: Nouns, noun phrases, and determiners</H1>
|
<P ALIGN="center"><CENTER><H1> Noun: Nouns, noun phrases, and determiners</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:19:41 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -50,7 +50,7 @@ The three main types of noun phrases are
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Pronouns are defined in the module <A HREF="Structural.html">Structural</A>.
|
Pronouns are defined in the module <A HREF="Structural.html"><CODE>Structural</CODE></A>.
|
||||||
A noun phrase already formed can be modified by a <CODE>Predet</CODE>erminer.
|
A noun phrase already formed can be modified by a <CODE>Predet</CODE>erminer.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -91,7 +91,8 @@ Quantifiers that have both forms can be used in both ways.
|
|||||||
<P>
|
<P>
|
||||||
Pronouns have possessive forms. Genitives of other kinds
|
Pronouns have possessive forms. Genitives of other kinds
|
||||||
of noun phrases are not given here, since they are not possible
|
of noun phrases are not given here, since they are not possible
|
||||||
in e.g. Romance languages.
|
in e.g. Romance languages. They can be found in
|
||||||
|
<A HREF="../abstract/Extra.gf"><CODE>Extra</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
PossPron : Pron -> Quant ; -- my (house)
|
PossPron : Pron -> Quant ; -- my (house)
|
||||||
@@ -188,7 +189,7 @@ The semantics is typically derivative of the relational meaning.
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Nouns can be modified by adjectives, relative clauses, and adverbs
|
Nouns can be modified by adjectives, relative clauses, and adverbs
|
||||||
(the last rule will give rise to many 'PP attachement' ambiguities
|
(the last rule will give rise to many 'PP attachment' ambiguities
|
||||||
when used in connection with verb phrases).
|
when used in connection with verb phrases).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-01-25 12:10:58 CET</I><BR>
|
<I>Last update: 2006-06-22 19:22:05 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -27,12 +27,19 @@ The implementations are adapted from the
|
|||||||
which defines numerals for 88 languages.
|
which defines numerals for 88 languages.
|
||||||
The resource grammar implementations add to this inflection (if needed)
|
The resource grammar implementations add to this inflection (if needed)
|
||||||
and ordinal numbers.
|
and ordinal numbers.
|
||||||
<B>Note</B>. Number 1 as defined
|
</P>
|
||||||
|
<P>
|
||||||
|
<B>Note</B> 1. Number 1 as defined
|
||||||
in the category <CODE>Numeral</CODE> here should not be used in the formation of
|
in the category <CODE>Numeral</CODE> here should not be used in the formation of
|
||||||
noun phrases, and should therefore be removed. Instead, one should use
|
noun phrases, and should therefore be removed. Instead, one should use
|
||||||
<A HREF="Structural.html">Structural</A><CODE>.one_Quant</CODE>. This makes the grammar simpler
|
<A HREF="Structural.html">Structural</A><CODE>.one_Quant</CODE>. This makes the grammar simpler
|
||||||
because we can assume that numbers form plural noun phrases.
|
because we can assume that numbers form plural noun phrases.
|
||||||
</P>
|
</P>
|
||||||
|
<P>
|
||||||
|
<B>Note</B> 2. The implementations introduce spaces between
|
||||||
|
parts of a numeral, which is often incorrect - more work on
|
||||||
|
(un)lexing is needed to solve this problem.
|
||||||
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Numeral = Cat ** {
|
abstract Numeral = Cat ** {
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Danish Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Danish Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 14:44:29 CEST</I><BR>
|
<I>Last update: 2006-06-22 20:53:41 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<LI><A HREF="#toc9">Adverbs</A>
|
<LI><A HREF="#toc9">Adverbs</A>
|
||||||
<LI><A HREF="#toc10">Verbs</A>
|
<LI><A HREF="#toc10">Verbs</A>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="#toc11">Verbs with //være// as auxiliary</A>
|
<LI><A HREF="#toc11">Verbs with 'være' as auxiliary</A>
|
||||||
<LI><A HREF="#toc12">Verbs with a particle</A>
|
<LI><A HREF="#toc12">Verbs with a particle</A>
|
||||||
<LI><A HREF="#toc13">Deponent verbs</A>
|
<LI><A HREF="#toc13">Deponent verbs</A>
|
||||||
<LI><A HREF="#toc14">Two-place verbs</A>
|
<LI><A HREF="#toc14">Two-place verbs</A>
|
||||||
@@ -46,10 +46,10 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Aarne Ranta 2003
|
Aarne Ranta 2005 - 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -69,8 +69,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../danish/IrregDan.gf"><CODE>IrregDan</CODE></A>,
|
||||||
words.
|
which haves a list of irregular verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsDan =
|
resource ParadigmsDan =
|
||||||
@@ -131,14 +131,14 @@ Worst case: give all four forms. The gender is computed from the
|
|||||||
last letter of the second form (if <I>n</I>, then <CODE>utrum</CODE>, otherwise <CODE>neutrum</CODE>).
|
last letter of the second form (if <I>n</I>, then <CODE>utrum</CODE>, otherwise <CODE>neutrum</CODE>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (dreng,drengen,drenger,drengene : Str) -> N ;
|
mkN : (dreng,drengen,drenge,drengene : Str) -> N ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The regular function takes the singular indefinite form
|
The regular function takes the singular indefinite form
|
||||||
and computes the other forms and the gender by a heuristic.
|
and computes the other forms and the gender by a heuristic.
|
||||||
The heuristic is that all nouns are <CODE>utrum</CODE> with the
|
The heuristic is that all nouns are <CODE>utrum</CODE> with the
|
||||||
plural ending <I>er///</I>r//.
|
plural ending <I>er</I> or <I>r</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
regN : Str -> N ;
|
regN : Str -> N ;
|
||||||
@@ -171,20 +171,20 @@ indefinite
|
|||||||
<H3>Compound nouns</H3>
|
<H3>Compound nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
All the functions above work quite as well to form compound nouns,
|
All the functions above work quite as well to form compound nouns,
|
||||||
such as <I>fotboll</I>.
|
such as <I>fodbold</I>.
|
||||||
</P>
|
</P>
|
||||||
<A NAME="toc4"></A>
|
<A NAME="toc4"></A>
|
||||||
<H3>Relational nouns</H3>
|
<H3>Relational nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
Relational nouns (<I>daughter of x</I>) need a preposition.
|
Relational nouns (<I>datter til x</I>) need a preposition.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN2 : N -> Prep -> N2 ;
|
mkN2 : N -> Prep -> N2 ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The most common preposition is <I>av</I>, and the following is a
|
The most common preposition is <I>af</I>, and the following is a
|
||||||
shortcut for regular, <CODE>nonhuman</CODE> relational nouns with <I>av</I>.
|
shortcut for regular relational nouns with <I>af</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
regN2 : Str -> Gender -> N2 ;
|
regN2 : Str -> Gender -> N2 ;
|
||||||
@@ -195,7 +195,7 @@ Use the function <CODE>mkPrep</CODE> or see the section on prepositions below to
|
|||||||
form other prepositions.
|
form other prepositions.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Three-place relational nouns (<I>the connection from x to y</I>)
|
Three-place relational nouns (<I>forbindelse fra x til y</I>)
|
||||||
need two prepositions.
|
need two prepositions.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -206,7 +206,7 @@ need two prepositions.
|
|||||||
<H3>Relational common noun phrases</H3>
|
<H3>Relational common noun phrases</H3>
|
||||||
<P>
|
<P>
|
||||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||||
relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
relational noun (e.g. <I>tidligere kone til</I>). However, <CODE>N2</CODE> and
|
||||||
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
||||||
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
||||||
</P>
|
</P>
|
||||||
@@ -298,7 +298,7 @@ Sometimes just the positive forms are irregular.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
If comparison is formed by <I>mer, //mest</I>, as in general for//
|
If comparison is formed by <I>mer</I>, <I>mest</I>, as in general for
|
||||||
long adjective, the following pattern is used:
|
long adjective, the following pattern is used:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -309,7 +309,8 @@ long adjective, the following pattern is used:
|
|||||||
<H2>Adverbs</H2>
|
<H2>Adverbs</H2>
|
||||||
<P>
|
<P>
|
||||||
Adverbs are not inflected. Most lexical ones have position
|
Adverbs are not inflected. Most lexical ones have position
|
||||||
after the verb. Some can be preverbal (e.g. <I>always</I>).
|
after the verb. Some can be close to the verb like the negation
|
||||||
|
<I>ikke</I> (e.g. <I>altid</I>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkAdv : Str -> Adv ;
|
mkAdv : Str -> Adv ;
|
||||||
@@ -351,11 +352,11 @@ There is an extensive list of irregular verbs in the module <CODE>IrregDan</CODE
|
|||||||
In practice, it is enough to give three forms, as in school books.
|
In practice, it is enough to give three forms, as in school books.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
irregV : (drikke, drakk, drukket : Str) -> V ;
|
irregV : (drikke, drak, drukket : Str) -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc11"></A>
|
<A NAME="toc11"></A>
|
||||||
<H3>Verbs with //være// as auxiliary</H3>
|
<H3>Verbs with 'være' as auxiliary</H3>
|
||||||
<P>
|
<P>
|
||||||
By default, the auxiliary is <I>have</I>. This function changes it to <I>være</I>.
|
By default, the auxiliary is <I>have</I>. This function changes it to <I>være</I>.
|
||||||
</P>
|
</P>
|
||||||
@@ -366,7 +367,7 @@ By default, the auxiliary is <I>have</I>. This function changes it to <I>v
|
|||||||
<A NAME="toc12"></A>
|
<A NAME="toc12"></A>
|
||||||
<H3>Verbs with a particle</H3>
|
<H3>Verbs with a particle</H3>
|
||||||
<P>
|
<P>
|
||||||
The particle, such as in <I>switch on</I>, is given as a string.
|
The particle, such as in <I>passe på</I>, is given as a string.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
partV : V -> Str -> V ;
|
partV : V -> Str -> V ;
|
||||||
@@ -375,8 +376,8 @@ The particle, such as in <I>switch on</I>, is given as a string.
|
|||||||
<A NAME="toc13"></A>
|
<A NAME="toc13"></A>
|
||||||
<H3>Deponent verbs</H3>
|
<H3>Deponent verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Some words are used in passive forms only, e.g. <I>hoppas</I>, some as
|
Some words are used in passive forms only, e.g. <I>undres</I>, some as
|
||||||
reflexive e.g. <I>ångra sig</I>.
|
reflexive e.g. <I>forestille sig</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
depV : V -> V ;
|
depV : V -> V ;
|
||||||
@@ -402,8 +403,8 @@ Three-place (ditransitive) verbs need two prepositions, of which
|
|||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- speak, with, about
|
mkV3 : V -> Prep -> Prep -> V3 ; -- snakke, med, om
|
||||||
dirV3 : V -> Prep -> V3 ; -- give,_,to
|
dirV3 : V -> Prep -> V3 ; -- give,_,til
|
||||||
dirdirV3 : V -> V3 ; -- give,_,_
|
dirdirV3 : V -> V3 ; -- give,_,_
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> English Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> English Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 16:21:43 CEST</I><BR>
|
<I>Last update: 2006-06-22 20:54:15 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -49,7 +49,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Aarne Ranta 2003--2005
|
Aarne Ranta 2003--2005
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -69,11 +69,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../english/IrregEng.gf"><CODE>IrregEng</CODE></A>,
|
||||||
words.
|
which covers irregular verbss.
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
The following modules are presupposed:
|
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsEng = open
|
resource ParadigmsEng = open
|
||||||
@@ -125,7 +122,7 @@ The resource category <CODE>Prep</CODE> is used.
|
|||||||
<A NAME="toc2"></A>
|
<A NAME="toc2"></A>
|
||||||
<H2>Nouns</H2>
|
<H2>Nouns</H2>
|
||||||
<P>
|
<P>
|
||||||
Worst case: give all four forms and the semantic gender.
|
Worst case: give all four forms.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (man,men,man's,men's : Str) -> N ;
|
mkN : (man,men,man's,men's : Str) -> N ;
|
||||||
@@ -284,7 +281,7 @@ but a separate pattern is used:
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
If comparison is formed by <I>more, //most</I>, as in general for//
|
If comparison is formed by <I>more</I>, <I>most</I>, as in general for
|
||||||
long adjective, the following pattern is used:
|
long adjective, the following pattern is used:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Finnish Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Finnish Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 15:06:49 CEST</I><BR>
|
<I>Last update: 2006-06-22 20:46:07 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -18,8 +18,9 @@
|
|||||||
<LI><A HREF="#toc3">Adjectives</A>
|
<LI><A HREF="#toc3">Adjectives</A>
|
||||||
<LI><A HREF="#toc4">Verbs</A>
|
<LI><A HREF="#toc4">Verbs</A>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="#toc5">Three-place verbs</A>
|
<LI><A HREF="#toc5">Two-place verbs</A>
|
||||||
<LI><A HREF="#toc6">Other complement patterns</A>
|
<LI><A HREF="#toc6">Three-place verbs</A>
|
||||||
|
<LI><A HREF="#toc7">Other complement patterns</A>
|
||||||
</UL>
|
</UL>
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
@@ -54,12 +55,7 @@ The structure of functions for each word class <CODE>C</CODE> is the following:
|
|||||||
first we give a handful of patterns that aim to cover all
|
first we give a handful of patterns that aim to cover all
|
||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed.
|
||||||
separate module <CODE>IrregularFin</CODE>, which covers all irregularly inflected
|
|
||||||
words.
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
The following modules are presupposed:
|
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsFin = open
|
resource ParadigmsFin = open
|
||||||
@@ -68,12 +64,7 @@ The following modules are presupposed:
|
|||||||
MorphoFin,
|
MorphoFin,
|
||||||
CatFin
|
CatFin
|
||||||
in {
|
in {
|
||||||
</PRE>
|
|
||||||
<P></P>
|
|
||||||
<P>
|
|
||||||
flags optimize=all ;
|
|
||||||
</P>
|
|
||||||
<PRE>
|
|
||||||
flags optimize=noexpand ;
|
flags optimize=noexpand ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -82,8 +73,8 @@ flags optimize=all ;
|
|||||||
<P>
|
<P>
|
||||||
To abstract over gender, number, and (some) case names,
|
To abstract over gender, number, and (some) case names,
|
||||||
we define the following identifiers. The application programmer
|
we define the following identifiers. The application programmer
|
||||||
should always use these constants instead of their definitions
|
should always use these constants instead of the constructors
|
||||||
in <CODE>TypesInf</CODE>.
|
defined in <CODE>ResFin</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
oper
|
oper
|
||||||
@@ -120,8 +111,8 @@ just a case, or a pre/postposition and a case.
|
|||||||
<A NAME="toc2"></A>
|
<A NAME="toc2"></A>
|
||||||
<H2>Nouns</H2>
|
<H2>Nouns</H2>
|
||||||
<P>
|
<P>
|
||||||
The worst case gives ten forms and the semantic gender.
|
The worst case gives ten forms.
|
||||||
In practice just a couple of forms are needed, to define the different
|
In practice just a couple of forms are needed to define the different
|
||||||
stems, vowel alternation, and vowel harmony.
|
stems, vowel alternation, and vowel harmony.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -167,7 +158,7 @@ The rest of the noun paradigms are mostly covered by the three
|
|||||||
heuristics.
|
heuristics.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Nouns with partitive <I>a///</I>ä// are a large group.
|
Nouns with partitive <I>a</I>,<I>ä</I> are a large group.
|
||||||
To determine for grade and vowel alternation, three forms are usually needed:
|
To determine for grade and vowel alternation, three forms are usually needed:
|
||||||
singular nominative and genitive, and plural partitive.
|
singular nominative and genitive, and plural partitive.
|
||||||
Examples: <I>talo</I>, <I>kukko</I>, <I>huippu</I>, <I>koira</I>, <I>kukka</I>, <I>syylä</I>, <I>särki</I>...
|
Examples: <I>talo</I>, <I>kukko</I>, <I>huippu</I>, <I>koira</I>, <I>kukka</I>, <I>syylä</I>, <I>särki</I>...
|
||||||
@@ -205,11 +196,12 @@ undergo regular weak-grade alternation:
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Foreign words ending in consonants are actually similar to words like
|
Foreign words ending in consonants are actually similar to words like
|
||||||
<I>malli///</I>mallin<I>/</I>malleja<I>, with the exception that the //i</I> is not attached
|
<I>malli</I>-<I>mallin</I>-<I>malleja</I>, with the exception that the <I>i</I> is not attached
|
||||||
to the singular nominative. Examples: <I>linux</I>, <I>savett</I>, <I>screen</I>.
|
to the singular nominative. Examples: <I>linux</I>, <I>savett</I>, <I>screen</I>.
|
||||||
The singular partitive form is used to get the vowel harmony. (N.B. more than
|
The singular partitive form is used to get the vowel harmony.
|
||||||
1-syllabic words ending in <I>n</I> would have variant plural genitive and
|
(N.B. more than 1-syllabic words ending in <I>n</I> would have variant
|
||||||
partitive forms, like <I>sultanien///</I>sultaneiden//, which are not covered.)
|
plural genitive and partitive forms, like
|
||||||
|
<I>sultanien</I>, <I>sultaneiden</I>, which are not covered.)
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
nLinux : (linuxia : Str) -> N ;
|
nLinux : (linuxia : Str) -> N ;
|
||||||
@@ -233,7 +225,7 @@ The following paradigm covers both nouns ending in an aspirated <I>e</I>, such a
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The following covers nouns with partitive <I>ta///</I>tä//, such as
|
The following covers nouns with partitive <I>ta</I>,<I>tä</I>, such as
|
||||||
<I>susi</I>, <I>vesi</I>, <I>pieni</I>. To get all stems and the vowel harmony, it takes
|
<I>susi</I>, <I>vesi</I>, <I>pieni</I>. To get all stems and the vowel harmony, it takes
|
||||||
the singular nominative, genitive, and essive.
|
the singular nominative, genitive, and essive.
|
||||||
</P>
|
</P>
|
||||||
@@ -433,6 +425,8 @@ The verbs <I>be</I> is special.
|
|||||||
vOlla : V ;
|
vOlla : V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<A NAME="toc5"></A>
|
||||||
|
<H3>Two-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Two-place verbs need a case, and can have a pre- or postposition.
|
Two-place verbs need a case, and can have a pre- or postposition.
|
||||||
</P>
|
</P>
|
||||||
@@ -450,25 +444,25 @@ If the complement needs just a case, the following special function can be used.
|
|||||||
<P>
|
<P>
|
||||||
Verbs with a direct (accusative) object
|
Verbs with a direct (accusative) object
|
||||||
are special, since their complement case is finally decided in syntax.
|
are special, since their complement case is finally decided in syntax.
|
||||||
But this is taken care of by <CODE>ClauseFin</CODE>.
|
But this is taken care of in <CODE>VerbFin</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
dirV2 : V -> V2 ;
|
dirV2 : V -> V2 ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc5"></A>
|
<A NAME="toc6"></A>
|
||||||
<H3>Three-place verbs</H3>
|
<H3>Three-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Three-place (ditransitive) verbs need two prepositions, of which
|
Three-place (ditransitive) verbs need two prepositions, of which
|
||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- speak, with, about
|
mkV3 : V -> Prep -> Prep -> V3 ; -- puhua, allative, elative
|
||||||
dirV3 : V -> Case -> V3 ; -- give,_,to
|
dirV3 : V -> Case -> V3 ; -- siirtää, (accusative), illative
|
||||||
dirdirV3 : V -> V3 ; -- acc, allat
|
dirdirV3 : V -> V3 ; -- antaa, (accusative), (allative)
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc6"></A>
|
<A NAME="toc7"></A>
|
||||||
<H3>Other complement patterns</H3>
|
<H3>Other complement patterns</H3>
|
||||||
<P>
|
<P>
|
||||||
Verbs and adjectives can take complements such as sentences,
|
Verbs and adjectives can take complements such as sentences,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> French Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> French Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 15:08:18 CEST</I><BR>
|
<I>Last update: 2006-06-22 21:02:44 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -44,10 +44,10 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Aarne Ranta 2003
|
Aarne Ranta 2001 - 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -67,8 +67,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../french/IrregFre.gf"><CODE>IrregFre</CODE></A>,
|
||||||
words.
|
which covers all irregularly inflected verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsFre =
|
resource ParadigmsFre =
|
||||||
@@ -191,7 +191,7 @@ Three-place relational nouns (<I>la connection de x
|
|||||||
<H3>Relational common noun phrases</H3>
|
<H3>Relational common noun phrases</H3>
|
||||||
<P>
|
<P>
|
||||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||||
relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
relational noun (e.g. <I>la vieille église de</I>). However, <CODE>N2</CODE> and
|
||||||
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
||||||
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
||||||
</P>
|
</P>
|
||||||
@@ -201,9 +201,9 @@ and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
|||||||
Proper names need a string and a gender.
|
Proper names need a string and a gender.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkPN : Str -> Gender -> PN ; -- Jean
|
mkPN : Str -> Gender -> PN ; -- Jean
|
||||||
|
|
||||||
regPN : Str -> PN ; -- masculine
|
regPN : Str -> PN ; -- feminine if "-e", masculine otherwise
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -345,7 +345,7 @@ To change it to <I>
|
|||||||
<H3>Two-place verbs</H3>
|
<H3>Two-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
Two-place verbs need a preposition, except the special case with direct object.
|
Two-place verbs need a preposition, except the special case with direct object.
|
||||||
(transitive verbs). Notice that a particle comes from the <CODE>V</CODE>.
|
(transitive verbs).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV2 : V -> Prep -> V2 ;
|
mkV2 : V -> Prep -> V2 ;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> German Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> German Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 14:53:14 CEST</I><BR>
|
<I>Last update: 2006-06-22 20:58:18 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -41,7 +41,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Aarne Ranta & Harald Hammarström 2003--2006
|
Aarne Ranta & Harald Hammarström 2003--2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -61,8 +61,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularGer</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../german/IrregGer.gf"><CODE>IrregGer</CODE></A>
|
||||||
words.
|
which covers irregularly inflected verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsGer = open
|
resource ParadigmsGer = open
|
||||||
@@ -117,7 +117,7 @@ and the gender.
|
|||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (x1,_,_,_,_,x6 : Str) -> Gender -> N ;
|
mkN : (x1,_,_,_,_,x6 : Str) -> Gender -> N ;
|
||||||
-- mann, mann, manne, mannes, männer, männern
|
-- mann, mann, manne, mannes, männer, männern
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -167,7 +167,8 @@ The regular genitive is <I>s</I>, omitted after <I>s</I>.
|
|||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkPN : (karolus, karoli : Str) -> PN ; -- karolus, karoli
|
mkPN : (karolus, karoli : Str) -> PN ; -- karolus, karoli
|
||||||
regPN : (Johann : Str) -> PN ; -- Johann, Johanns ; Johannes, Johannes
|
regPN : (Johann : Str) -> PN ;
|
||||||
|
-- Johann, Johanns ; Johannes, Johannes
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc4"></A>
|
<A NAME="toc4"></A>
|
||||||
@@ -319,9 +320,9 @@ Three-place (ditransitive) verbs need two prepositions, of which
|
|||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- speak, with, about
|
mkV3 : V -> Prep -> Prep -> V3 ; -- sprechen, mit, über
|
||||||
dirV3 : V -> Prep -> V3 ; -- give,_,to
|
dirV3 : V -> Prep -> V3 ; -- senden,(accusative),nach
|
||||||
accdatV3 : V -> V3 ; -- give,_,_
|
accdatV3 : V -> V3 ; -- give,accusative,dative
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc10"></A>
|
<A NAME="toc10"></A>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Italian Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Italian Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 16:38:46 CEST</I><BR>
|
<I>Last update: 2006-06-22 21:07:00 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -47,7 +47,7 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Aarne Ranta 2003
|
Aarne Ranta 2003
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -66,9 +66,9 @@ The structure of functions for each word class <CODE>C</CODE> is the following:
|
|||||||
first we give a handful of patterns that aim to cover all
|
first we give a handful of patterns that aim to cover all
|
||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed. For verbs, we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../italian/BeschIta.gf"><CODE>BeschIta</CODE></A>,
|
||||||
words.
|
which covers the <I>Bescherelle</I> verb conjugations.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsIta =
|
resource ParadigmsIta =
|
||||||
@@ -110,8 +110,8 @@ To abstract over number names, we define the following.
|
|||||||
<P>
|
<P>
|
||||||
Prepositions used in many-argument functions are either strings
|
Prepositions used in many-argument functions are either strings
|
||||||
(including the 'accusative' empty string) or strings that
|
(including the 'accusative' empty string) or strings that
|
||||||
amalgamate with the following word (the 'genitive' <I>de</I> and the
|
amalgamate with the following word (the 'genitive' <I>di</I> and the
|
||||||
'dative' <I>à</I>).
|
'dative' <I>a</I>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Prep : Type ;
|
Prep : Type ;
|
||||||
@@ -129,7 +129,7 @@ amalgamate with the following word (the 'genitive' <I>de</I> and the
|
|||||||
Worst case: give both two forms and the gender.
|
Worst case: give both two forms and the gender.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (uomi,uomini : Str) -> Gender -> N ;
|
mkN : (uomo,uomini : Str) -> Gender -> N ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -154,7 +154,7 @@ To force a different gender, use one of the following functions.
|
|||||||
<H3>Compound nouns</H3>
|
<H3>Compound nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
Some nouns are ones where the first part is inflected as a noun but
|
Some nouns are ones where the first part is inflected as a noun but
|
||||||
the second part is not inflected. e.g. <I>numéro de téléphone</I>.
|
the second part is not inflected. e.g. <I>numero di telefono</I>.
|
||||||
They could be formed in syntax, but we give a shortcut here since
|
They could be formed in syntax, but we give a shortcut here since
|
||||||
they are frequent in lexica.
|
they are frequent in lexica.
|
||||||
</P>
|
</P>
|
||||||
@@ -191,7 +191,7 @@ Three-place relational nouns (<I>la connessione di x a y</I>) need two prepositi
|
|||||||
<H3>Relational common noun phrases</H3>
|
<H3>Relational common noun phrases</H3>
|
||||||
<P>
|
<P>
|
||||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||||
relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
relational noun (e.g. <I>la vecchia chiesa di</I>). However, <CODE>N2</CODE> and
|
||||||
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
||||||
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
||||||
</P>
|
</P>
|
||||||
@@ -202,7 +202,7 @@ Proper names need a string and a gender.
|
|||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkPN : Str -> Gender -> PN ;
|
mkPN : Str -> Gender -> PN ;
|
||||||
regPN : Str -> PN ; -- masculine
|
regPN : Str -> PN ; -- feminine if "-a", otherwise masculine
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -234,7 +234,7 @@ masculine singular.
|
|||||||
<P>
|
<P>
|
||||||
These functions create postfix adjectives. To switch
|
These functions create postfix adjectives. To switch
|
||||||
them to prefix ones (i.e. ones placed before the noun in
|
them to prefix ones (i.e. ones placed before the noun in
|
||||||
modification, as in <I>petite maison</I>), the following function is
|
modification, as in <I>vecchia chiesa</I>), the following function is
|
||||||
provided.
|
provided.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -270,7 +270,7 @@ the following pattern is used:
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The regular pattern is the same as <CODE>regA</CODE> for plain adjectives,
|
The regular pattern is the same as <CODE>regA</CODE> for plain adjectives,
|
||||||
with comparison by <I>plus</I>.
|
with comparison by <I>più</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
regADeg : Str -> A ;
|
regADeg : Str -> A ;
|
||||||
@@ -303,18 +303,18 @@ Adverbs modifying adjectives and sentences can also be formed.
|
|||||||
<A NAME="toc11"></A>
|
<A NAME="toc11"></A>
|
||||||
<H2>Verbs</H2>
|
<H2>Verbs</H2>
|
||||||
<P>
|
<P>
|
||||||
Regular verbs are ones with the infinitive <I>er</I> or <I>ir</I>, the
|
Regular verbs are ones with the infinitive <I>are</I> or <I>ire</I>, the
|
||||||
latter with plural present indicative forms as <I>finissons</I>.
|
latter with singular present indicative forms as <I>finisco</I>.
|
||||||
The regular verb function is the first conjugation recognizes
|
The regular verb function is the first conjugation recognizes
|
||||||
these endings, as well as the variations among
|
these endings, as well as the variations among
|
||||||
<I>aimer, céder, placer, peser, jeter, placer, manger, assiéger, payer</I>.
|
<I>amare, cominciare, mangiare, legare, cercare</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
regV : Str -> V ;
|
regV : Str -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The module <CODE>BeschIta</CODE> gives all the patterns of the <I>Bescherelle</I>
|
The module <CODE>BeschIta</CODE> gives (almost) all the patterns of the <I>Bescherelle</I>
|
||||||
book. To use them in the category <CODE>V</CODE>, wrap them with the function
|
book. To use them in the category <CODE>V</CODE>, wrap them with the function
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -331,6 +331,16 @@ Reflexive implies <I>essere</I>.
|
|||||||
reflV : V -> V ;
|
reflV : V -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
|
<P>
|
||||||
|
If <CODE>BeschIta</CODE> does not give the desired result or feels difficult
|
||||||
|
to consult, here is a worst-case function for <I>-ire</I> and <I>-ere</I> verbs,
|
||||||
|
taking 11 arguments.
|
||||||
|
</P>
|
||||||
|
<PRE>
|
||||||
|
mkV :
|
||||||
|
(udire,odo,ode,udiamo,udiro,udii,udisti,udi,udirono,odi,udito : Str) -> V ;
|
||||||
|
</PRE>
|
||||||
|
<P></P>
|
||||||
<A NAME="toc12"></A>
|
<A NAME="toc12"></A>
|
||||||
<H3>Two-place verbs</H3>
|
<H3>Two-place verbs</H3>
|
||||||
<P>
|
<P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Norwegian Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Norwegian Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 15:58:53 CEST</I><BR>
|
<I>Last update: 2006-06-22 21:16:02 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<LI><A HREF="#toc9">Adverbs</A>
|
<LI><A HREF="#toc9">Adverbs</A>
|
||||||
<LI><A HREF="#toc10">Verbs</A>
|
<LI><A HREF="#toc10">Verbs</A>
|
||||||
<UL>
|
<UL>
|
||||||
<LI><A HREF="#toc11">Verbs with //være// as auxiliary</A>
|
<LI><A HREF="#toc11">Verbs with 'være' as auxiliary</A>
|
||||||
<LI><A HREF="#toc12">Verbs with a particle.</A>
|
<LI><A HREF="#toc12">Verbs with a particle.</A>
|
||||||
<LI><A HREF="#toc13">Deponent verbs.</A>
|
<LI><A HREF="#toc13">Deponent verbs.</A>
|
||||||
<LI><A HREF="#toc14">Two-place verbs</A>
|
<LI><A HREF="#toc14">Two-place verbs</A>
|
||||||
@@ -49,13 +49,14 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
Aarne Ranta 2003
|
Aarne Ranta 2003
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
|
It covers the <I>bokmål</I> variant of Norwegian.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Closed categories (determiners, pronouns, conjunctions) are
|
Closed categories (determiners, pronouns, conjunctions) are
|
||||||
accessed through the resource syntax API, <CODE>Structural.gf</CODE>.
|
accessed through the resource syntax API, <CODE>Structural</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
The main difference with <CODE>MorphoNor.gf</CODE> is that the types
|
The main difference with <CODE>MorphoNor.gf</CODE> is that the types
|
||||||
@@ -69,8 +70,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../norwegian/IrregNor"><CODE>IrregNor</CODE></A>,
|
||||||
words.
|
which covers irregularly inflected verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsNor =
|
resource ParadigmsNor =
|
||||||
@@ -170,7 +171,7 @@ such as <I>fotboll</I>.
|
|||||||
<A NAME="toc4"></A>
|
<A NAME="toc4"></A>
|
||||||
<H3>Relational nouns</H3>
|
<H3>Relational nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
Relational nouns (<I>daughter of x</I>) need a preposition.
|
Relational nouns (<I>datter til x</I>) need a preposition.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN2 : N -> Prep -> N2 ;
|
mkN2 : N -> Prep -> N2 ;
|
||||||
@@ -189,7 +190,8 @@ Use the function <CODE>mkPrep</CODE> or see the section on prepositions below to
|
|||||||
form other prepositions.
|
form other prepositions.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Three-place relational nouns (<I>the connection from x to y</I>) need two prepositions.
|
Three-place relational nouns (<I>forbindelse fra x til y</I>)
|
||||||
|
need two prepositions.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN3 : N -> Prep -> Prep -> N3 ;
|
mkN3 : N -> Prep -> Prep -> N3 ;
|
||||||
@@ -199,7 +201,7 @@ Three-place relational nouns (<I>the connection from x to y</I>) need two prepos
|
|||||||
<H3>Relational common noun phrases</H3>
|
<H3>Relational common noun phrases</H3>
|
||||||
<P>
|
<P>
|
||||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||||
relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
relational noun (e.g. <I>den gamle kongen av</I>). However, <CODE>N2</CODE> and
|
||||||
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
||||||
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
||||||
</P>
|
</P>
|
||||||
@@ -286,12 +288,12 @@ Just the comparison forms can be irregular.
|
|||||||
Sometimes just the positive forms are irregular.
|
Sometimes just the positive forms are irregular.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mk3ADeg : (galen,galet,galna : Str) -> A ;
|
mk3ADeg : (galen,galet,galne : Str) -> A ;
|
||||||
mk2ADeg : (bred,bredt : Str) -> A ;
|
mk2ADeg : (bred,bredt : Str) -> A ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
If comparison is formed by <I>mer, //mest</I>, as in general for//
|
If comparison is formed by <I>mer</I>, <I>mest</I>, as in general for
|
||||||
long adjective, the following pattern is used:
|
long adjective, the following pattern is used:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -302,11 +304,11 @@ long adjective, the following pattern is used:
|
|||||||
<H2>Adverbs</H2>
|
<H2>Adverbs</H2>
|
||||||
<P>
|
<P>
|
||||||
Adverbs are not inflected. Most lexical ones have position
|
Adverbs are not inflected. Most lexical ones have position
|
||||||
after the verb. Some can be preverbal (e.g. <I>always</I>).
|
after the verb. Some follow the verb (e.g. <I>altid</I>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkAdv : Str -> Adv ;
|
mkAdv : Str -> Adv ; -- e.g. her
|
||||||
mkAdV : Str -> AdV ;
|
mkAdV : Str -> AdV ; -- e.g. altid
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -348,7 +350,7 @@ In practice, it is enough to give three forms, as in school books.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc11"></A>
|
<A NAME="toc11"></A>
|
||||||
<H3>Verbs with //være// as auxiliary</H3>
|
<H3>Verbs with 'være' as auxiliary</H3>
|
||||||
<P>
|
<P>
|
||||||
By default, the auxiliary is <I>have</I>. This function changes it to <I>være</I>.
|
By default, the auxiliary is <I>have</I>. This function changes it to <I>være</I>.
|
||||||
</P>
|
</P>
|
||||||
@@ -359,7 +361,7 @@ By default, the auxiliary is <I>have</I>. This function changes it to <I>v
|
|||||||
<A NAME="toc12"></A>
|
<A NAME="toc12"></A>
|
||||||
<H3>Verbs with a particle.</H3>
|
<H3>Verbs with a particle.</H3>
|
||||||
<P>
|
<P>
|
||||||
The particle, such as in <I>switch on</I>, is given as a string.
|
The particle, such as in <I>lukke opp</I>, is given as a string.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
partV : V -> Str -> V ;
|
partV : V -> Str -> V ;
|
||||||
@@ -368,8 +370,8 @@ The particle, such as in <I>switch on</I>, is given as a string.
|
|||||||
<A NAME="toc13"></A>
|
<A NAME="toc13"></A>
|
||||||
<H3>Deponent verbs.</H3>
|
<H3>Deponent verbs.</H3>
|
||||||
<P>
|
<P>
|
||||||
Some words are used in passive forms only, e.g. <I>hoppas</I>, some as
|
Some words are used in passive forms only, e.g. <I>trives</I>, some as
|
||||||
reflexive e.g. <I>ångra sig</I>.
|
reflexive e.g. <I>forestille seg</I>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
depV : V -> V ;
|
depV : V -> V ;
|
||||||
@@ -395,9 +397,9 @@ Three-place (ditransitive) verbs need two prepositions, of which
|
|||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- speak, with, about
|
mkV3 : V -> Prep -> Prep -> V3 ; -- snakke, med, om
|
||||||
dirV3 : V -> Prep -> V3 ; -- give,_,to
|
dirV3 : V -> Prep -> V3 ; -- gi,_,til
|
||||||
dirdirV3 : V -> V3 ; -- give,_,_
|
dirdirV3 : V -> V3 ; -- gi,_,_
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc16"></A>
|
<A NAME="toc16"></A>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Russian Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Russian Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 16:42:18 CEST</I><BR>
|
<I>Last update: 2006-06-22 17:53:54 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -29,10 +29,10 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Janna Khegai 2003--2005
|
Janna Khegai 2003--2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -41,7 +41,7 @@ Closed categories (determiners, pronouns, conjunctions) are
|
|||||||
accessed through the resource syntax API, <CODE>Structural.gf</CODE>.
|
accessed through the resource syntax API, <CODE>Structural.gf</CODE>.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
The main difference with <CODE>MorphoEng.gf</CODE> is that the types
|
The main difference with <CODE>MorphoRus.gf</CODE> is that the types
|
||||||
referred to are compiled resource grammar types. We have moreover
|
referred to are compiled resource grammar types. We have moreover
|
||||||
had the design principle of always having existing forms, rather
|
had the design principle of always having existing forms, rather
|
||||||
than stems, as string arguments of the paradigms.
|
than stems, as string arguments of the paradigms.
|
||||||
@@ -51,9 +51,6 @@ The structure of functions for each word class <CODE>C</CODE> is the following:
|
|||||||
first we give a handful of patterns that aim to cover all
|
first we give a handful of patterns that aim to cover all
|
||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
|
||||||
words.
|
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
The following modules are presupposed:
|
The following modules are presupposed:
|
||||||
@@ -121,7 +118,7 @@ Best case: indeclinabe nouns: <I>кофе</I>, <I>пальто</I>, <I>ВУЗ</I
|
|||||||
animate: Animacy;
|
animate: Animacy;
|
||||||
inanimate: Animacy;
|
inanimate: Animacy;
|
||||||
|
|
||||||
mkIndeclinableNoun: Str -> Gender -> Animacy -> N ;
|
mkIndeclinableNoun: Str -> Gender -> Animacy -> N ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -135,7 +132,8 @@ to the Nominative or the Genetive one) is actually of no help,
|
|||||||
since there are a lot of exceptions and the gain is just one form less.
|
since there are a lot of exceptions and the gain is just one form less.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (_,_,_,_,_,_,_,_,_,_,_,_ : Str) -> Gender -> Animacy -> N ;
|
mkN : (nomSg, genSg, datSg, accSg, instSg, preposSg,
|
||||||
|
nomPl, genPl, datPl, accPl, instPl, preposPl: Str) -> Gender -> Animacy -> N ;
|
||||||
|
|
||||||
-- мужчина, мужчины, мужчине, мужчину, мужчиной, мужчине
|
-- мужчина, мужчины, мужчине, мужчину, мужчиной, мужчине
|
||||||
-- мужчины, мужчин, мужчинам, мужчин, мужчинами, мужчинах
|
-- мужчины, мужчин, мужчинам, мужчин, мужчинами, мужчинах
|
||||||
@@ -158,7 +156,7 @@ Feminine patterns.
|
|||||||
nEdinica : Str -> N ; -- feminine, inanimate, ending with "-а", Inst -"единиц-ей"
|
nEdinica : Str -> N ; -- feminine, inanimate, ending with "-а", Inst -"единиц-ей"
|
||||||
nZhenchina : Str -> N ; -- feminine, animate, ending with "-a"
|
nZhenchina : Str -> N ; -- feminine, animate, ending with "-a"
|
||||||
nNoga : Str -> N ; -- feminine, inanimate, ending with "г_к_х-a"
|
nNoga : Str -> N ; -- feminine, inanimate, ending with "г_к_х-a"
|
||||||
nMalyariya : Str -> N ; -- feminine, inanimate, ending with "-ия"
|
nMalyariya : Str -> N ; -- feminine, inanimate, ending with "-ия"
|
||||||
nTetya : Str -> N ; -- feminine, animate, ending with "-я"
|
nTetya : Str -> N ; -- feminine, animate, ending with "-я"
|
||||||
nBol : Str -> N ; -- feminine, inanimate, ending with "-ь"(soft sign)
|
nBol : Str -> N ; -- feminine, inanimate, ending with "-ь"(soft sign)
|
||||||
</PRE>
|
</PRE>
|
||||||
@@ -178,7 +176,7 @@ Masculine patterns.
|
|||||||
Ending with consonant:
|
Ending with consonant:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
nPepel : Str -> N ; -- masculine, inanimate, ending with "-ел"- "пеп-ла"
|
nPepel : Str -> N ; -- masculine, inanimate, ending with "-ел"- "пеп-ла"
|
||||||
|
|
||||||
nBrat: Str -> N ; -- animate, брат-ья
|
nBrat: Str -> N ; -- animate, брат-ья
|
||||||
nStul: Str -> N ; -- same as above, but inanimate
|
nStul: Str -> N ; -- same as above, but inanimate
|
||||||
@@ -209,7 +207,6 @@ Proper names.
|
|||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkPN : Str -> Gender -> Animacy -> PN ; -- "Иван", "Маша"
|
mkPN : Str -> Gender -> Animacy -> PN ; -- "Иван", "Маша"
|
||||||
regPN : Str -> PN ;
|
|
||||||
nounPN : N -> PN ;
|
nounPN : N -> PN ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -227,20 +224,16 @@ On the top level, it is maybe <CODE>CN</CODE> that is used rather than <CODE>N</
|
|||||||
<P>
|
<P>
|
||||||
Non-comparison (only positive degree) one-place adjectives need 28 (4 by 7)
|
Non-comparison (only positive degree) one-place adjectives need 28 (4 by 7)
|
||||||
forms in the worst case:
|
forms in the worst case:
|
||||||
Masculine | Feminine | Neutral | Plural
|
(Masculine | Feminine | Neutral | Plural) **
|
||||||
Nominative
|
**
|
||||||
Genitive
|
(Nominative | Genitive | Dative | Accusative Inanimate | Accusative Animate |
|
||||||
Dative
|
|
||||||
Accusative Inanimate
|
|
||||||
Accusative Animate
|
|
||||||
Instructive
|
|
||||||
Prepositional
|
|
||||||
Instructive | Prepositional)
|
Instructive | Prepositional)
|
||||||
Notice that 4 short forms, which exist for some adjectives are not included
|
Notice that 4 short forms, which exist for some adjectives are not included
|
||||||
in the current description, otherwise there would be 32 forms for
|
in the current description, otherwise there would be 32 forms for
|
||||||
positive degree.
|
positive degree.
|
||||||
mkA : ( : Str) -> A ;
|
mkA : ( : Str) -> A ;
|
||||||
endings below:
|
The regular function captures the variants for some popular adjective
|
||||||
|
endings below. The first string agrument is the masculine singular form,
|
||||||
the second is comparative:
|
the second is comparative:
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -257,12 +250,12 @@ Invariable adjective is a special case.
|
|||||||
<P>
|
<P>
|
||||||
Some regular patterns depending on the ending.
|
Some regular patterns depending on the ending.
|
||||||
</P>
|
</P>
|
||||||
AStaruyj : Str -> Str -> A ; -- ending with "-ый"
|
<PRE>
|
||||||
AMalenkij : Str -> Str -> A ; -- ending with "-ий", Gen - "маленьк-ого"
|
AStaruyj : Str -> Str -> A ; -- ending with "-ый"
|
||||||
AKhoroshij : Str -> Str -> A ; -- ending with "-ий", Gen - "хорош-его"
|
AMalenkij : Str -> Str -> A ; -- ending with "-ий", Gen - "маленьк-ого"
|
||||||
AMolodoj : Str -> Str -> A ; -- ending with "-ой",
|
AKhoroshij : Str -> Str -> A ; -- ending with "-ий", Gen - "хорош-его"
|
||||||
AMolodoj : Str -> Str -> A ; -- ending with "-ой",
|
AMolodoj : Str -> Str -> A ; -- ending with "-ой",
|
||||||
AKakoj_Nibud : Str -> Str -> Str -> A ; -- ending with "-ой",
|
-- plural - молод-ые"
|
||||||
AKakoj_Nibud : Str -> Str -> Str -> A ; -- ending with "-ой",
|
AKakoj_Nibud : Str -> Str -> Str -> A ; -- ending with "-ой",
|
||||||
-- plural - "как-ие"
|
-- plural - "как-ие"
|
||||||
</PRE>
|
</PRE>
|
||||||
@@ -276,11 +269,11 @@ Two-place adjectives need a preposition and a case as extra arguments.
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Comparison adjectives need a positive adjective
|
Comparison adjectives need a positive adjective
|
||||||
Taking only one comparative form (non-syntaxic) and
|
(28 forms without short forms).
|
||||||
only one superlative form (syntaxic) we can produce the
|
Taking only one comparative form (non-syntactic) and
|
||||||
only one superlative form (syntactic) we can produce the
|
only one superlative form (syntactic) we can produce the
|
||||||
non-syntaxic comparative form.
|
comparison adjective with only one extra argument -
|
||||||
Syntaxic forms are based on the positive forms.
|
non-syntactic comparative form.
|
||||||
Syntactic forms are based on the positive forms.
|
Syntactic forms are based on the positive forms.
|
||||||
mkADeg : A -> Str -> ADeg ;
|
mkADeg : A -> Str -> ADeg ;
|
||||||
On top level, there are adjectival phrases. The most common case is
|
On top level, there are adjectival phrases. The most common case is
|
||||||
@@ -289,8 +282,7 @@ ap : A -> IsPostfixAdj -> AP ;
|
|||||||
</P>
|
</P>
|
||||||
<A NAME="toc4"></A>
|
<A NAME="toc4"></A>
|
||||||
<H2>Adverbs</H2>
|
<H2>Adverbs</H2>
|
||||||
Adverbs are not inflected. Most lexical ones have position
|
<P>
|
||||||
after the verb. Some can be preverbal (e.g. <I>always</I>).
|
|
||||||
Adverbs are not inflected.
|
Adverbs are not inflected.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -305,29 +297,22 @@ In our lexicon description (<I>Verbum</I>) there are 62 forms:
|
|||||||
[ [2(Number) by 3(Person)](present) + [2(Number) by 3(Person)](future) +
|
[ [2(Number) by 3(Person)](present) + [2(Number) by 3(Person)](future) +
|
||||||
4(GenNum)(past) ](indicative)+ 4 (GenNum) (subjunctive) }
|
4(GenNum)(past) ](indicative)+ 4 (GenNum) (subjunctive) }
|
||||||
Participles (Present and Past) and Gerund forms are not included,
|
Participles (Present and Past) and Gerund forms are not included,
|
||||||
rather than verbs. Aspect regarded as an inherent parameter of a verb.
|
since they fuction more like Adjectives and Adverbs correspondingly
|
||||||
Notice, that some forms are never used for some verbs. Actually,
|
rather than verbs. Aspect is regarded as an inherent parameter of a verb.
|
||||||
the majority of verbs do not have many of the forms.
|
|
||||||
Notice, that some forms are never used for some verbs.
|
Notice, that some forms are never used for some verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Voice: Type;
|
Voice: Type;
|
||||||
</PRE>
|
|
||||||
<P></P>
|
|
||||||
<P>
|
|
||||||
Tense : Type;
|
|
||||||
</P>
|
|
||||||
<PRE>
|
|
||||||
Aspect: Type;
|
Aspect: Type;
|
||||||
Bool: Type;
|
Bool: Type;
|
||||||
Conjugation: Type ;
|
Conjugation: Type ;
|
||||||
first: Conjugation; -- "гуля-Ешь, гуля-Ем"
|
|
||||||
firstE: Conjugation; -- Verbs with vowel "ё": "даёшь" (give), "пьёшь" (drink)
|
first: Conjugation; -- "гуля-Ешь, гуля-Ем"
|
||||||
second: Conjugation; -- "вид-Ишь, вид-Им"
|
firstE: Conjugation; -- Verbs with vowel "ё": "даёшь" (give), "пьёшь" (drink)
|
||||||
mixed: Conjugation; -- "хоч-Ешь - хот-Им"
|
second: Conjugation; -- "вид-Ишь, вид-Им"
|
||||||
mixed: Conjugation; -- "хоч-Ешь - хот-Им"
|
mixed: Conjugation; -- "хоч-Ешь - хот-Им"
|
||||||
dolzhen: Conjugation; -- irregular
|
dolzhen: Conjugation; -- irregular
|
||||||
true: Bool;
|
|
||||||
true: Bool;
|
true: Bool;
|
||||||
false: Bool;
|
false: Bool;
|
||||||
|
|
||||||
@@ -337,8 +322,6 @@ Tense : Type;
|
|||||||
perfective: Aspect ;
|
perfective: Aspect ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
present : Tense ;
|
|
||||||
past : Tense ;
|
|
||||||
<P>
|
<P>
|
||||||
The worst case need 6 forms of the present tense in indicative mood
|
The worst case need 6 forms of the present tense in indicative mood
|
||||||
(<I>я бегу</I>, <I>ты бежишь</I>, <I>он бежит</I>, <I>мы бежим</I>, <I>вы бежите</I>, <I>они бегут</I>),
|
(<I>я бегу</I>, <I>ты бежишь</I>, <I>он бежит</I>, <I>мы бежим</I>, <I>вы бежите</I>, <I>они бегут</I>),
|
||||||
@@ -346,7 +329,9 @@ a past form (singular, masculine: <I>я бежал</I>), an imperative form
|
|||||||
(singular, second person: <I>беги</I>), an infinitive (<I>бежать</I>).
|
(singular, second person: <I>беги</I>), an infinitive (<I>бежать</I>).
|
||||||
Inherent aspect should also be specified.
|
Inherent aspect should also be specified.
|
||||||
</P>
|
</P>
|
||||||
mkVerbum : Aspect -> (_,_,_,_,_,_,_,_,_ : Str) -> V ;
|
<PRE>
|
||||||
|
mkVerbum : Aspect -> (presentSgP1,presentSgP2,presentSgP3,
|
||||||
|
presentPlP1,presentPlP2,presentPlP3,
|
||||||
pastSgMasculine,imperative,infinitive: Str) -> V ;
|
pastSgMasculine,imperative,infinitive: Str) -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -362,7 +347,8 @@ So the definition for verb <I>любить</I> looks like:
|
|||||||
So the definition for verb <I>любить</I> looks like:
|
So the definition for verb <I>любить</I> looks like:
|
||||||
regV Imperfective Second <I>люб</I> <I>лю</I> <I>любил</I> <I>люби</I> <I>любить</I>;
|
regV Imperfective Second <I>люб</I> <I>лю</I> <I>любил</I> <I>люби</I> <I>любить</I>;
|
||||||
</P>
|
</P>
|
||||||
regV :Aspect -> Conjugation -> (_,_,_,_,_ : Str) -> V ;
|
<PRE>
|
||||||
|
regV :Aspect -> Conjugation -> (stemPresentSgP1,endingPresentSgP1,
|
||||||
pastSgP1,imperative,infinitive : Str) -> V ;
|
pastSgP1,imperative,infinitive : Str) -> V ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -384,6 +370,10 @@ a particle can be included in a <CODE>V</CODE>.
|
|||||||
dirV2 : V -> V2 ; -- "видеть", "любить"
|
dirV2 : V -> V2 ; -- "видеть", "любить"
|
||||||
tvDirDir : V -> V3 ;
|
tvDirDir : V -> V3 ;
|
||||||
</PRE>
|
</PRE>
|
||||||
|
<P></P>
|
||||||
|
<P>
|
||||||
|
The definitions should not bother the user of the API. So they are
|
||||||
|
hidden from the document.
|
||||||
</P>
|
</P>
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Spanish Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Spanish Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 16:29:51 CEST</I><BR>
|
<I>Last update: 2006-06-22 21:33:43 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -44,10 +44,10 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Aarne Ranta 2003
|
Aarne Ranta 2004 - 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -65,7 +65,9 @@ than stems, as string arguments of the paradigms.
|
|||||||
The structure of functions for each word class <CODE>C</CODE> is the following:
|
The structure of functions for each word class <CODE>C</CODE> is the following:
|
||||||
first we give a handful of patterns that aim to cover all
|
first we give a handful of patterns that aim to cover all
|
||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>. For
|
||||||
|
verbs, there is a fairly complete list of irregular verbs in
|
||||||
|
<A HREF="../../spanish/IrregSpa.gf"><CODE>IrregSpa</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsSpa =
|
resource ParadigmsSpa =
|
||||||
@@ -108,7 +110,7 @@ To abstract over number names, we define the following.
|
|||||||
Prepositions used in many-argument functions are either strings
|
Prepositions used in many-argument functions are either strings
|
||||||
(including the 'accusative' empty string) or strings that
|
(including the 'accusative' empty string) or strings that
|
||||||
amalgamate with the following word (the 'genitive' <I>de</I> and the
|
amalgamate with the following word (the 'genitive' <I>de</I> and the
|
||||||
'dative' <I>à</I>).
|
'dative' <I>a</I>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
Prep : Type ;
|
Prep : Type ;
|
||||||
@@ -127,7 +129,7 @@ Worst case: two forms (singular + plural),
|
|||||||
and the gender.
|
and the gender.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN : (_,_ : Str) -> Gender -> N ; -- uomo, uomini, masculine
|
mkN : (_,_ : Str) -> Gender -> N ; -- bastón, bastones, masculine
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -155,7 +157,7 @@ To force a different gender, use one of the following functions.
|
|||||||
<H3>Compound nouns</H3>
|
<H3>Compound nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
Some nouns are ones where the first part is inflected as a noun but
|
Some nouns are ones where the first part is inflected as a noun but
|
||||||
the second part is not inflected. e.g. <I>numéro de téléphone</I>.
|
the second part is not inflected. e.g. <I>número de teléfono</I>.
|
||||||
They could be formed in syntax, but we give a shortcut here since
|
They could be formed in syntax, but we give a shortcut here since
|
||||||
they are frequent in lexica.
|
they are frequent in lexica.
|
||||||
</P>
|
</P>
|
||||||
@@ -202,8 +204,8 @@ and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
|||||||
Proper names need a string and a gender.
|
Proper names need a string and a gender.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkPN : Str -> Gender -> PN ; -- Jean
|
mkPN : Str -> Gender -> PN ; -- Juan
|
||||||
regPN : Str -> PN ; -- masculine
|
regPN : Str -> PN ; -- feminine for "-a", otherwise masculine
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -221,7 +223,7 @@ Non-comparison one-place adjectives need five forms in the worst
|
|||||||
case (masc and fem singular, masc plural, adverbial).
|
case (masc and fem singular, masc plural, adverbial).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkA : (solo,sola,soli,sole, solamente : Str) -> A ;
|
mkA : (solo,sola,solos,solas, solamiento : Str) -> A ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -236,7 +238,7 @@ masculine singular. The types of adjectives that are recognized are
|
|||||||
<P>
|
<P>
|
||||||
These functions create postfix adjectives. To switch
|
These functions create postfix adjectives. To switch
|
||||||
them to prefix ones (i.e. ones placed before the noun in
|
them to prefix ones (i.e. ones placed before the noun in
|
||||||
modification, as in <I>petite maison</I>), the following function is
|
modification, as in <I>bueno vino</I>), the following function is
|
||||||
provided.
|
provided.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -364,9 +366,9 @@ Three-place (ditransitive) verbs need two prepositions, of which
|
|||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- parler, à, de
|
mkV3 : V -> Prep -> Prep -> V3 ; -- hablar, a, di
|
||||||
dirV3 : V -> Prep -> V3 ; -- donner,_,à
|
dirV3 : V -> Prep -> V3 ; -- dar,(accusative),a
|
||||||
dirdirV3 : V -> V3 ; -- donner,_,_
|
dirdirV3 : V -> V3 ; -- dar,(dative),(accusative)
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc14"></A>
|
<A NAME="toc14"></A>
|
||||||
@@ -379,9 +381,9 @@ questions, verb phrases, and adjectives.
|
|||||||
mkV0 : V -> V0 ;
|
mkV0 : V -> V0 ;
|
||||||
mkVS : V -> VS ;
|
mkVS : V -> VS ;
|
||||||
mkV2S : V -> Prep -> V2S ;
|
mkV2S : V -> Prep -> V2S ;
|
||||||
mkVV : V -> VV ; -- plain infinitive: "je veux parler"
|
mkVV : V -> VV ; -- plain infinitive: "quiero hablar"
|
||||||
deVV : V -> VV ; -- "j'essaie de parler"
|
deVV : V -> VV ; -- "terminar de hablar"
|
||||||
aVV : V -> VV ; -- "j'arrive à parler"
|
aVV : V -> VV ; -- "aprender a hablar"
|
||||||
mkV2V : V -> Prep -> Prep -> V2V ;
|
mkV2V : V -> Prep -> Prep -> V2V ;
|
||||||
mkVA : V -> VA ;
|
mkVA : V -> VA ;
|
||||||
mkV2A : V -> Prep -> Prep -> V2A ;
|
mkV2A : V -> Prep -> Prep -> V2A ;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Swedish Lexical Paradigms</H1>
|
<P ALIGN="center"><CENTER><H1> Swedish Lexical Paradigms</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 16:03:55 CEST</I><BR>
|
<I>Last update: 2006-06-22 21:39:41 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -34,7 +34,6 @@
|
|||||||
<LI><A HREF="#toc14">Three-place verbs</A>
|
<LI><A HREF="#toc14">Three-place verbs</A>
|
||||||
<LI><A HREF="#toc15">Other complement patterns</A>
|
<LI><A HREF="#toc15">Other complement patterns</A>
|
||||||
</UL>
|
</UL>
|
||||||
<LI><A HREF="#toc16">Definitions of the paradigms</A>
|
|
||||||
</UL>
|
</UL>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -46,10 +45,10 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
(c) Aarne Ranta (<A HREF="mailto:aarne@cs.chalmers.se">aarne@cs.chalmers.se</A>) 2002 under GNU GPL.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Aarne Ranta 2003
|
Aarne Ranta 2001 - 2006
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
This is an API to the user of the resource grammar
|
This is an API for the user of the resource grammar
|
||||||
for adding lexical items. It gives functions for forming
|
for adding lexical items. It gives functions for forming
|
||||||
expressions of open categories: nouns, adjectives, verbs.
|
expressions of open categories: nouns, adjectives, verbs.
|
||||||
</P>
|
</P>
|
||||||
@@ -69,8 +68,8 @@ first we give a handful of patterns that aim to cover all
|
|||||||
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
regular cases. Then we give a worst-case function <CODE>mkC</CODE>, which serves as an
|
||||||
escape to construct the most irregular words of type <CODE>C</CODE>.
|
escape to construct the most irregular words of type <CODE>C</CODE>.
|
||||||
However, this function should only seldom be needed: we have a
|
However, this function should only seldom be needed: we have a
|
||||||
separate module <CODE>IrregularEng</CODE>, which covers all irregularly inflected
|
separate module <A HREF="../../swedish/IrregSwe"><CODE>IrregSwe</CODE></A>,
|
||||||
words.
|
which covers many irregular verbs.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
resource ParadigmsSwe =
|
resource ParadigmsSwe =
|
||||||
@@ -176,7 +175,7 @@ such as <I>fotboll</I>.
|
|||||||
<A NAME="toc4"></A>
|
<A NAME="toc4"></A>
|
||||||
<H3>Relational nouns</H3>
|
<H3>Relational nouns</H3>
|
||||||
<P>
|
<P>
|
||||||
Relational nouns (<I>daughter of x</I>) need a preposition.
|
Relational nouns (<I>dotter till x</I>) need a preposition.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN2 : N -> Prep -> N2 ;
|
mkN2 : N -> Prep -> N2 ;
|
||||||
@@ -195,7 +194,8 @@ Use the function <CODE>mkPreposition</CODE> or see the section on prepositions b
|
|||||||
form other prepositions.
|
form other prepositions.
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Three-place relational nouns (<I>the connection from x to y</I>) need two prepositions.
|
Three-place relational nouns (<I>förbindelse från x till y</I>)
|
||||||
|
need two prepositions.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkN3 : N -> Prep -> Prep -> N3 ;
|
mkN3 : N -> Prep -> Prep -> N3 ;
|
||||||
@@ -205,7 +205,7 @@ Three-place relational nouns (<I>the connection from x to y</I>) need two prepos
|
|||||||
<H3>Relational common noun phrases</H3>
|
<H3>Relational common noun phrases</H3>
|
||||||
<P>
|
<P>
|
||||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||||
relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
relational noun (e.g. <I>den före detta maken till</I>). However, <CODE>N2</CODE> and
|
||||||
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
<CODE>N3</CODE> are purely lexical categories. But you can use the <CODE>AdvCN</CODE>
|
||||||
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
and <CODE>PrepNP</CODE> constructions to build phrases like this.
|
||||||
</P>
|
</P>
|
||||||
@@ -286,11 +286,12 @@ Two-place adjectives need a preposition for their second argument.
|
|||||||
<H2>Adverbs</H2>
|
<H2>Adverbs</H2>
|
||||||
<P>
|
<P>
|
||||||
Adverbs are not inflected. Most lexical ones have position
|
Adverbs are not inflected. Most lexical ones have position
|
||||||
after the verb. Some can be preverbal (e.g. <I>always</I>).
|
after the verb. Some can be preverbal in subordinate position
|
||||||
|
(e.g. <I>alltid</I>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkAdv : Str -> Adv ;
|
mkAdv : Str -> Adv ; -- här
|
||||||
mkAdV : Str -> AdV ;
|
mkAdV : Str -> AdV ; -- alltid
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
@@ -331,7 +332,7 @@ It is not really more powerful than the new implementation of
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
There is an extensive list of irregular verbs in the module <CODE>IrregularSwe</CODE>.
|
There is an extensive list of irregular verbs in the module <CODE>IrregSwe</CODE>.
|
||||||
In practice, it is enough to give three forms, as in school books.
|
In practice, it is enough to give three forms, as in school books.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
@@ -377,9 +378,9 @@ Three-place (ditransitive) verbs need two prepositions, of which
|
|||||||
the first one or both can be absent.
|
the first one or both can be absent.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
mkV3 : V -> Prep -> Prep -> V3 ; -- tala med om
|
mkV3 : V -> Prep -> Prep -> V3 ; -- tala, med, om
|
||||||
dirV3 : V -> Prep -> V3 ; -- ge _ till
|
dirV3 : V -> Prep -> V3 ; -- ge, (acc),till
|
||||||
dirdirV3 : V -> V3 ; -- ge _ _
|
dirdirV3 : V -> V3 ; -- ge, (dat), (acc)
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc15"></A>
|
<A NAME="toc15"></A>
|
||||||
@@ -416,12 +417,6 @@ as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
|
|||||||
AS, A2S, AV, A2V : Type ;
|
AS, A2S, AV, A2V : Type ;
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<A NAME="toc16"></A>
|
|
||||||
<H2>Definitions of the paradigms</H2>
|
|
||||||
<P>
|
|
||||||
The definitions should not bother the user of the API. So they are
|
|
||||||
hidden from the document.
|
|
||||||
</P>
|
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||||
<!-- cmdline: txt2tags -thtml -\-toc swedish/ParadigmsSwe.txt -->
|
<!-- cmdline: txt2tags -thtml -\-toc swedish/ParadigmsSwe.txt -->
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Phrase: Phrases and Utterances</H1>
|
<P ALIGN="center"><CENTER><H1> Phrase: Phrases and Utterances</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-14 22:58:47 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Last update: 2005-11-23 09:16:18 CET
|
Last update: 2005-11-17 17:36:49 CET
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
|
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-02-27 09:41:31 CET</I><BR>
|
<I>Last update: 2006-02-25 22:19:20 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<HR NOSHADE SIZE=1>
|
<HR NOSHADE SIZE=1>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
Last update: 2006-06-02 17:49:44 CEST
|
Last update: 2006-06-03 10:54:51 CEST
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
Produced by
|
Produced by
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
|
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-02-28 09:26:58 CET</I><BR>
|
<I>Last update: 2006-02-25 23:46:32 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> The GF Prelude</H1>
|
<P ALIGN="center"><CENTER><H1> The GF Prelude</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-02-27 09:41:31 CET</I><BR>
|
<I>Last update: 2006-02-25 22:31:06 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Question: Questions and Interrogative Pronouns</H1>
|
<P ALIGN="center"><CENTER><H1> Question: Questions and Interrogative Pronouns</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:22:41 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -52,7 +52,7 @@ determiners.
|
|||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
More <CODE>IP</CODE>, <CODE>IDet</CODE>, and <CODE>IAdv</CODE> are defined in
|
More <CODE>IP</CODE>, <CODE>IDet</CODE>, and <CODE>IAdv</CODE> are defined in
|
||||||
<A HREF="Structural.html">Structural</A>.
|
<A HREF="Structural.html"><CODE>Structural</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-01-25 12:10:58 CET</I><BR>
|
<I>Last update: 2006-06-22 19:23:30 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -35,8 +35,9 @@ a pronoun similar to <I>such that</I>.
|
|||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
<P>
|
||||||
The more proper ways are from a verb phrase (formed in <A HREF="Verb.html">Verb</A>)
|
The more proper ways are from a verb phrase
|
||||||
or a sentence with a missing noun phrase (formed in <A HREF="Sentence.html">Sentence</A>).
|
(formed in <A HREF="Verb.html"><CODE>Verb</CODE></A>) or a sentence
|
||||||
|
with a missing noun phrase (formed in <A HREF="Sentence.html"><CODE>Sentence</CODE></A>).
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
RelVP : RP -> VP -> RCl ; -- who loves John
|
RelVP : RP -> VP -> RCl ; -- who loves John
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Sentence: Sentences, Clauses, and Imperatives</H1>
|
<P ALIGN="center"><CENTER><H1> Sentence: Sentences, Clauses, and Imperatives</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:24:56 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -37,7 +37,8 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
<P>
|
<P>
|
||||||
The <CODE>NP VP</CODE> predication rule form a clause whose linearization
|
The <CODE>NP VP</CODE> predication rule form a clause whose linearization
|
||||||
gives a table of all tense variants, positive and negative.
|
gives a table of all tense variants, positive and negative.
|
||||||
Clauses are converted to <CODE>S</CODE> (with fixed tense) in <A HREF="Tensed.html">Tensed</A>.
|
Clauses are converted to <CODE>S</CODE> (with fixed tense) with the
|
||||||
|
<CODE>UseCl</CODE> function below.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
fun
|
fun
|
||||||
@@ -99,7 +100,7 @@ subjects and (adverbial) complements.
|
|||||||
<P>
|
<P>
|
||||||
These are the 2 x 4 x 4 = 16 forms generated by different
|
These are the 2 x 4 x 4 = 16 forms generated by different
|
||||||
combinations of tense, polarity, and
|
combinations of tense, polarity, and
|
||||||
anteriority, which are defined in <A HREF="Tense.html">Tense</A>.
|
anteriority, which are defined in <A HREF="Common.html"><CODE>Common</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
fun
|
fun
|
||||||
@@ -110,27 +111,6 @@ anteriority, which are defined in <A HREF="Tense.html">Tense</A>.
|
|||||||
}
|
}
|
||||||
</PRE>
|
</PRE>
|
||||||
<P></P>
|
<P></P>
|
||||||
<P>
|
|
||||||
Examples for English <CODE>S</CODE>/<CODE>Cl</CODE>:
|
|
||||||
</P>
|
|
||||||
<P>
|
|
||||||
Pres Simul Pos ODir : he sleeps
|
|
||||||
Pres Simul Neg ODir : he doesn't sleep
|
|
||||||
Pres Anter Pos ODir : he has slept
|
|
||||||
Pres Anter Neg ODir : he hasn't slept
|
|
||||||
Past Simul Pos ODir : he slept
|
|
||||||
Past Simul Neg ODir : he didn't sleep
|
|
||||||
Past Anter Pos ODir : he had slept
|
|
||||||
Past Anter Neg ODir : he hadn't slept
|
|
||||||
Fut Simul Pos ODir : he will sleep
|
|
||||||
Fut Simul Neg ODir : he won't sleep
|
|
||||||
Fut Anter Pos ODir : he will have slept
|
|
||||||
Fut Anter Neg ODir : he won't have slept
|
|
||||||
Cond Simul Pos ODir : he would sleep
|
|
||||||
Cond Simul Neg ODir : he wouldn't sleep
|
|
||||||
Cond Anter Pos ODir : he would have slept
|
|
||||||
Cond Anter Neg ODir : he wouldn't have slept
|
|
||||||
</P>
|
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||||
<!-- cmdline: txt2tags -thtml -\-toc abstract/Sentence.txt -->
|
<!-- cmdline: txt2tags -thtml -\-toc abstract/Sentence.txt -->
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Structural: Structural Words</H1>
|
<P ALIGN="center"><CENTER><H1> Structural: Structural Words</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-22 19:26:01 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -23,8 +23,9 @@ gfdoc - a rudimentary GF document generator.
|
|||||||
<P>
|
<P>
|
||||||
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.
|
||||||
Sometimes they are not really meaningful, e.g. <CODE>we_Pron</CODE> in Spanish
|
Sometimes more distinctions are needed, e.g. <CODE>we_Pron</CODE> in Spanish
|
||||||
should be replaced by masculine and feminine variants.
|
should be replaced by masculine and feminine variants, found in
|
||||||
|
<A HREF="../spanish/ExtraSpa.gf"><CODE>ExtraSpa</CODE></A>.
|
||||||
</P>
|
</P>
|
||||||
<PRE>
|
<PRE>
|
||||||
abstract Structural = Cat ** {
|
abstract Structural = Cat ** {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
|
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-03-17 14:11:37 CET</I><BR>
|
<I>Last update: 2006-03-17 12:02:40 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> Text: Texts</H1>
|
<P ALIGN="center"><CENTER><H1> Text: Texts</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
|
<I>Last update: 2006-06-14 23:03:43 CEST</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||||
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Last update: 2006-02-27 09:41:31 CET</I><BR>
|
<I>Last update: 2006-02-26 18:02:58 CET</I><BR>
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<P ALIGN="center"><CENTER><H1>GF Resource Grammar Library v. 1.0</H1>
|
<P ALIGN="center"><CENTER><H1>GF Resource Grammar Library v. 1.0</H1>
|
||||||
<FONT SIZE="4">
|
<FONT SIZE="4">
|
||||||
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
||||||
Last update: Wed Jun 21 18:21:48 2006
|
Last update: Fri Jun 23 00:13:38 2006
|
||||||
</FONT></CENTER>
|
</FONT></CENTER>
|
||||||
|
|
||||||
<P></P>
|
<P></P>
|
||||||
@@ -524,5 +524,5 @@ examples are from <CODE>multimodal/old</CODE>, which is a reduced-size API.
|
|||||||
</P>
|
</P>
|
||||||
|
|
||||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||||
<!-- cmdline: txt2tags -\-toc index.txt -->
|
<!-- cmdline: txt2tags -\-toc -thtml index.txt -->
|
||||||
</BODY></HTML>
|
</BODY></HTML>
|
||||||
|
|||||||
Reference in New Issue
Block a user