mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 21:39:32 -06:00
411 lines
9.2 KiB
HTML
411 lines
9.2 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: 2007-06-08 17:51:31 CEST</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, Harald Hammarström and Björn Bringert2003--2007
|
|
</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 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
|
|
cases, from the most regular (with just one argument) to the worst.
|
|
The name of this function is <CODE>mkC</CODE>.
|
|
</P>
|
|
<P>
|
|
There is also a module <A HREF="../../german/IrregGer.gf"><CODE>IrregGer</CODE></A>
|
|
which covers irregular 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>
|
|
<PRE>
|
|
mkN : overload {
|
|
</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>
|
|
mkN : (Stufe : Str) -> 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>
|
|
mkN : (Bild,Bilder : Str) -> Gender -> N ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Worst case: give all four singular forms, two plural forms (others + dative),
|
|
and the gender.
|
|
</P>
|
|
<PRE>
|
|
mkN : (x1,_,_,_,_,x6 : Str) -> Gender -> N
|
|
-- mann, mann, manne, mannes, männer, männern
|
|
};
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Relational nouns need a preposition. The most common is <I>von</I> with
|
|
the dative, and there is a special case for regular nouns.
|
|
</P>
|
|
<PRE>
|
|
mkN2 : overload {
|
|
mkN2 : Str -> N2 ;
|
|
mkN2 : N -> N2 ;
|
|
mkN2 : N -> Prep -> N2
|
|
} ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Use the function <CODE>mkPrep</CODE> or see the section on prepositions below to
|
|
form other prepositions.
|
|
Some prepositions are moreover constructed in <A HREF="StructuralGer.html">StructuralGer</A>.
|
|
</P>
|
|
<P>
|
|
Three-place relational nouns (<I>die Verbindung von x nach y</I>) need two prepositions.
|
|
</P>
|
|
<PRE>
|
|
mkN3 : N -> Prep -> Prep -> N3 ;
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc3"></A>
|
|
<H3>Proper names and noun phrases</H3>
|
|
<P>
|
|
Proper names, with an <I>s</I> genitive and other cases like the
|
|
nominative, are formed from a string. Final <I>s</I> (<I>Johannes-Johannes</I>) is
|
|
taken into account.
|
|
</P>
|
|
<PRE>
|
|
mkPN : overload {
|
|
mkPN : Str -> PN ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
If only the genitive differs, two strings are needed.
|
|
</P>
|
|
<PRE>
|
|
mkPN : (nom,gen : Str) -> PN ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
In the worst case, all four forms are needed.
|
|
</P>
|
|
<PRE>
|
|
mkPN : (nom,acc,dat,gen : Str) -> PN
|
|
} ;
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc4"></A>
|
|
<H2>Adjectives</H2>
|
|
<PRE>
|
|
mkA : overload {
|
|
</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>
|
|
mkA : Str -> A ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
In the worst case, adjectives need three forms - one for each degree.
|
|
</P>
|
|
<PRE>
|
|
mkA : (gut,besser,beste : Str) -> A -- gut,besser,beste
|
|
|
|
};
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Invariable adjective are a special case.
|
|
</P>
|
|
<PRE>
|
|
invarA : Str -> A ; -- prima
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Two-place adjectives are formed by adding a preposition to an adjective.
|
|
</P>
|
|
<PRE>
|
|
mkA2 : A -> Prep -> A2 ;
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc5"></A>
|
|
<H2>Adverbs</H2>
|
|
<P>
|
|
Adverbs are formed from strings.
|
|
</P>
|
|
<PRE>
|
|
mkAdv : Str -> 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 -> Case -> 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>
|
|
<PRE>
|
|
mkV : overload {
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Regular verbs (<I>weak verbs</I>) need just the infinitive form.
|
|
</P>
|
|
<PRE>
|
|
mkV : (führen : Str) -> V ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Irregular verbs use Ablaut and, in the worst cases, also Umlaut.
|
|
</P>
|
|
<PRE>
|
|
mkV : (sehen,sieht,sah,sähe,gesehen : Str) -> V ;
|
|
</PRE>
|
|
<P></P>
|
|
<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 : (geben, gibt, gib, gab, gäbe, gegeben : Str) -> V ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
To add a movable suffix e.g. <I>auf(fassen)</I>.
|
|
</P>
|
|
<PRE>
|
|
mkV : Str -> V -> V
|
|
};
|
|
</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 -> 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 -> V ;
|
|
habenV : V -> V ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Reflexive verbs can take reflexive pronouns of different cases.
|
|
</P>
|
|
<PRE>
|
|
reflV : V -> Case -> V ;
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc8"></A>
|
|
<H3>Two-place verbs</H3>
|
|
<PRE>
|
|
mkV2 : overload {
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Two-place verbs with a preposition.
|
|
</P>
|
|
<PRE>
|
|
mkV2 : V -> Prep -> V2 ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Two-place verbs with direct object (accusative, transitive verbs).
|
|
</P>
|
|
<PRE>
|
|
mkV2 : V -> V2 ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Two-place verbs with object in the given case.
|
|
</P>
|
|
<PRE>
|
|
mkV2 : V -> Case -> 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 -> Prep -> Prep -> V3 ; -- sprechen, mit, über
|
|
dirV3 : V -> Prep -> V3 ; -- senden,(accusative),nach
|
|
accdatV3 : V -> 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 -> V0 ;
|
|
mkVS : V -> VS ;
|
|
mkV2S : V -> Prep -> V2S ;
|
|
mkVV : V -> VV ;
|
|
mkV2V : V -> Prep -> V2V ;
|
|
mkVA : V -> VA ;
|
|
mkV2A : V -> Prep -> V2A ;
|
|
mkVQ : V -> VQ ;
|
|
mkV2Q : V -> Prep -> V2Q ;
|
|
|
|
mkAS : A -> AS ;
|
|
mkA2S : A -> Prep -> A2S ;
|
|
mkAV : A -> AV ;
|
|
mkA2V : A -> Prep -> 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>
|