Files
gf-core/lib/resource-1.0/doc/gfdoc/ParadigmsGer.html
2006-12-22 13:23:50 +00:00

366 lines
8.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> German Lexical Paradigms</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> German Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-11-13 16:54:32 CET</I><BR>
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">Parameters</A>
<LI><A HREF="#toc2">Nouns</A>
<UL>
<LI><A HREF="#toc3">Proper names and noun phrases</A>
</UL>
<LI><A HREF="#toc4">Adjectives</A>
<LI><A HREF="#toc5">Adverbs</A>
<LI><A HREF="#toc6">Prepositions</A>
<LI><A HREF="#toc7">Verbs</A>
<UL>
<LI><A HREF="#toc8">Two-place verbs</A>
<LI><A HREF="#toc9">Three-place verbs</A>
<LI><A HREF="#toc10">Other complement patterns</A>
</UL>
</UL>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<P>
Produced by
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.
</P>
<P>
Aarne Ranta &amp; Harald Hammarström 2003--2006
</P>
<P>
This is an API for the user of the resource grammar
for adding lexical items. It gives functions for forming
expressions of open categories: nouns, adjectives, verbs.
</P>
<P>
Closed categories (determiners, pronouns, conjunctions) are
accessed through the resource syntax API, <CODE>Structural.gf</CODE>.
</P>
<P>
The main difference with <CODE>MorphoGer.gf</CODE> is that the types
referred to are compiled resource grammar types. We have moreover
had the design principle of always having existing forms, rather
than stems, as string arguments of the paradigms.
</P>
<P>
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
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>.
However, this function should only seldom be needed: we have a
separate module <A HREF="../../german/IrregGer.gf"><CODE>IrregGer</CODE></A>
which covers irregularly inflected verbs.
</P>
<PRE>
resource ParadigmsGer = open
(Predef=Predef),
Prelude,
MorphoGer,
CatGer
in {
</PRE>
<P></P>
<A NAME="toc1"></A>
<H2>Parameters</H2>
<P>
To abstract over gender names, we define the following identifiers.
</P>
<PRE>
oper
Gender : Type ;
masculine : Gender ;
feminine : Gender ;
neuter : Gender ;
</PRE>
<P></P>
<P>
To abstract over case names, we define the following.
</P>
<PRE>
Case : Type ;
nominative : Case ;
accusative : Case ;
dative : Case ;
genitive : Case ;
</PRE>
<P></P>
<P>
To abstract over number names, we define the following.
</P>
<PRE>
Number : Type ;
singular : Number ;
plural : Number ;
</PRE>
<P></P>
<A NAME="toc2"></A>
<H2>Nouns</H2>
<P>
Worst case: give all four singular forms, two plural forms (others + dative),
and the gender.
</P>
<PRE>
mkN : (x1,_,_,_,_,x6 : Str) -&gt; Gender -&gt; N ;
-- mann, mann, manne, mannes, männer, männern
</PRE>
<P></P>
<P>
The regular heuristics recognizes some suffixes, from which it
guesses the gender and the declension: <I>e, ung, ion</I> give the
feminine with plural ending <I>-n, -en</I>, and the rest are masculines
with the plural <I>-e</I> (without Umlaut).
</P>
<PRE>
regN : Str -&gt; N ;
</PRE>
<P></P>
<P>
The 'almost regular' case is much like the information given in an ordinary
dictionary. It takes the singular and plural nominative and the
gender, and infers the other forms from these.
</P>
<PRE>
reg2N : (x1,x2 : Str) -&gt; Gender -&gt; N ;
</PRE>
<P></P>
<P>
Relational nouns need a preposition. The most common is <I>von</I> with
the dative. Some prepositions are constructed in <A HREF="StructuralGer.html">StructuralGer</A>.
</P>
<PRE>
mkN2 : N -&gt; Prep -&gt; N2 ;
vonN2 : N -&gt; N2 ;
</PRE>
<P></P>
<P>
Use the function <CODE>mkPrep</CODE> or see the section on prepositions below to
form other prepositions.
</P>
<P>
Three-place relational nouns (<I>die Verbindung von x nach y</I>) need two prepositions.
</P>
<PRE>
mkN3 : N -&gt; Prep -&gt; Prep -&gt; N3 ;
</PRE>
<P></P>
<A NAME="toc3"></A>
<H3>Proper names and noun phrases</H3>
<P>
Proper names, with a regular genitive, are formed as follows
The regular genitive is <I>s</I>, omitted after <I>s</I>.
</P>
<PRE>
mkPN : (karolus, karoli : Str) -&gt; PN ; -- karolus, karoli
regPN : (Johann : Str) -&gt; PN ;
-- Johann, Johanns ; Johannes, Johannes
</PRE>
<P></P>
<A NAME="toc4"></A>
<H2>Adjectives</H2>
<P>
Adjectives need three forms, one for each degree.
</P>
<PRE>
mkA : (x1,_,x3 : Str) -&gt; A ; -- gut,besser,beste
</PRE>
<P></P>
<P>
The regular adjective formation works for most cases, and includes
variations such as <I>teuer - teurer</I>, <I>böse - böser</I>.
</P>
<PRE>
regA : Str -&gt; A ;
</PRE>
<P></P>
<P>
Invariable adjective are a special case.
</P>
<PRE>
invarA : Str -&gt; A ; -- prima
</PRE>
<P></P>
<P>
Two-place adjectives are formed by adding a preposition to an adjective.
</P>
<PRE>
mkA2 : A -&gt; Prep -&gt; A2 ;
</PRE>
<P></P>
<A NAME="toc5"></A>
<H2>Adverbs</H2>
<P>
Adverbs are just strings.
</P>
<PRE>
mkAdv : Str -&gt; Adv ;
</PRE>
<P></P>
<A NAME="toc6"></A>
<H2>Prepositions</H2>
<P>
A preposition is formed from a string and a case.
</P>
<PRE>
mkPrep : Str -&gt; Case -&gt; Prep ;
</PRE>
<P></P>
<P>
Often just a case with the empty string is enough.
</P>
<PRE>
accPrep : Prep ;
datPrep : Prep ;
genPrep : Prep ;
</PRE>
<P></P>
<P>
A couple of common prepositions (always with the dative).
</P>
<PRE>
von_Prep : Prep ;
zu_Prep : Prep ;
</PRE>
<P></P>
<A NAME="toc7"></A>
<H2>Verbs</H2>
<P>
The worst-case constructor needs six forms:
</P>
<UL>
<LI>Infinitive,
<LI>3p sg pres. indicative,
<LI>2p sg imperative,
<LI>1/3p sg imperfect indicative,
<LI>1/3p sg imperfect subjunctive (because this uncommon form can have umlaut)
<LI>the perfect participle
</UL>
<PRE>
mkV : (x1,_,_,_,_,x6 : Str) -&gt; V ; -- geben, gibt, gib, gab, gäbe, gegeben
</PRE>
<P></P>
<P>
Weak verbs are sometimes called regular verbs.
</P>
<PRE>
regV : Str -&gt; V ; -- führen
</PRE>
<P></P>
<P>
Irregular verbs use Ablaut and, in the worst cases, also Umlaut.
</P>
<PRE>
irregV : (x1,_,_,_,x5 : Str) -&gt; V ; -- sehen, sieht, sah, sähe, gesehen
</PRE>
<P></P>
<P>
To remove the past participle prefix <I>ge</I>, e.g. for the verbs
prefixed by <I>be-, ver-</I>.
</P>
<PRE>
no_geV : V -&gt; V ;
</PRE>
<P></P>
<P>
To add a movable suffix e.g. <I>auf(fassen)</I>.
</P>
<PRE>
prefixV : Str -&gt; V -&gt; V ;
</PRE>
<P></P>
<P>
To change the auxiliary from <I>haben</I> (default) to <I>sein</I> and
vice-versa.
</P>
<PRE>
seinV : V -&gt; V ;
habenV : V -&gt; V ;
</PRE>
<P></P>
<P>
Reflexive verbs can take reflexive pronouns of different cases.
</P>
<PRE>
reflV : V -&gt; Case -&gt; V ;
</PRE>
<P></P>
<A NAME="toc8"></A>
<H3>Two-place verbs</H3>
<P>
Two-place verbs need a preposition, except the special case with direct object
(accusative, transitive verbs). There is also a case for dative objects.
</P>
<PRE>
mkV2 : V -&gt; Prep -&gt; V2 ;
dirV2 : V -&gt; V2 ;
datV2 : V -&gt; V2 ;
</PRE>
<P></P>
<A NAME="toc9"></A>
<H3>Three-place verbs</H3>
<P>
Three-place (ditransitive) verbs need two prepositions, of which
the first one or both can be absent.
</P>
<PRE>
mkV3 : V -&gt; Prep -&gt; Prep -&gt; V3 ; -- sprechen, mit, über
dirV3 : V -&gt; Prep -&gt; V3 ; -- senden,(accusative),nach
accdatV3 : V -&gt; V3 ; -- give,accusative,dative
</PRE>
<P></P>
<A NAME="toc10"></A>
<H3>Other complement patterns</H3>
<P>
Verbs and adjectives can take complements such as sentences,
questions, verb phrases, and adjectives.
</P>
<PRE>
mkV0 : V -&gt; V0 ;
mkVS : V -&gt; VS ;
mkV2S : V -&gt; Prep -&gt; V2S ;
mkVV : V -&gt; VV ;
mkV2V : V -&gt; Prep -&gt; V2V ;
mkVA : V -&gt; VA ;
mkV2A : V -&gt; Prep -&gt; V2A ;
mkVQ : V -&gt; VQ ;
mkV2Q : V -&gt; Prep -&gt; V2Q ;
mkAS : A -&gt; AS ;
mkA2S : A -&gt; Prep -&gt; A2S ;
mkAV : A -&gt; AV ;
mkA2V : A -&gt; Prep -&gt; A2V ;
</PRE>
<P></P>
<P>
Notice: categories <CODE>V2S, V2V, V2A, V2Q</CODE> are in v 1.0 treated
just as synonyms of <CODE>V2</CODE>, and the second argument is given
as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
<CODE>V0</CODE> is just <CODE>V</CODE>.
</P>
<PRE>
V0, V2S, V2V, V2A, V2Q : Type ;
AS, A2S, AV, A2V : Type ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc german/ParadigmsGer.txt -->
</BODY></HTML>