mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 13:02:50 -06:00
updated doc
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> Finnish Lexical Paradigms</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Last update: 2006-11-21 14:49:06 CET</I><BR>
|
||||
<I>Last update: 2007-07-08 15:18:54 CEST</I><BR>
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -117,8 +117,6 @@ stems, vowel alternation, and vowel harmony.
|
||||
</P>
|
||||
<PRE>
|
||||
oper
|
||||
mkN : (talo, talon, talona, taloa, taloon,
|
||||
taloina,taloissa,talojen,taloja,taloihin : Str) -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -127,22 +125,21 @@ nominative) and analyses it to pick the correct paradigm.
|
||||
It does automatic grade alternation, and is hence not usable
|
||||
for words like <I>auto</I> (whose genitive would become <I>audon</I>).
|
||||
</P>
|
||||
<PRE>
|
||||
regN : (talo : Str) -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
If <CODE>regN</CODE> does not give the correct result, one can try and give
|
||||
two or three forms as follows. Examples of the use of these
|
||||
functions are given in <CODE>BasicFin</CODE>. Most notably, <CODE>reg2N</CODE> is used
|
||||
If the one-argument paradigm does not give the correct result, one can try and give
|
||||
two or three forms. Most notably, the two-argument variant is used
|
||||
for nouns like <I>kivi - kiviä</I>, which would otherwise become like
|
||||
<I>rivi - rivejä</I>. <CODE>regN3</CODE> is used e.g. for
|
||||
<I>rivi - rivejä</I>. Three arguments are used e.g. for
|
||||
<I>sydän - sydämen - sydämiä</I>, which would otherwise become
|
||||
<I>sydän - sytämen</I>.
|
||||
</P>
|
||||
<PRE>
|
||||
reg2N : (savi,savia : Str) -> N ;
|
||||
reg3N : (vesi,veden,vesiä : Str) -> N ;
|
||||
mkN : overload {
|
||||
mkN : (talo : Str) -> N ;
|
||||
mkN : (savi,savia : Str) -> N ;
|
||||
mkN : (vesi,veden,vesiä : Str) -> N ;
|
||||
mkN : (olo,oln,olona,oloa,oloon,oloina,oloissa,olojen,oloja,oloihin : Str) -> N
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -291,12 +288,14 @@ have only their last part inflected.
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Nouns used as functions need a case, of which by far the commonest is
|
||||
Nouns used as functions need a case, of which the default is
|
||||
the genitive.
|
||||
</P>
|
||||
<PRE>
|
||||
mkN2 : N -> Prep -> N2 ;
|
||||
genN2 : N -> N2 ;
|
||||
mkN2 = overload {
|
||||
mkN2 : N -> N2 = genN2 ;
|
||||
mkN2 : N -> Prep -> N2 = mmkN2
|
||||
} ;
|
||||
|
||||
mkN3 : N -> Prep -> Prep -> N3 ;
|
||||
</PRE>
|
||||
@@ -306,18 +305,28 @@ Proper names can be formed by using declensions for nouns.
|
||||
The plural forms are filtered away by the compiler.
|
||||
</P>
|
||||
<PRE>
|
||||
regPN : Str -> PN ;
|
||||
mkPN : N -> PN ;
|
||||
mkNP : N -> Number -> NP ;
|
||||
mkPN : overload {
|
||||
mkPN : Str -> PN ;
|
||||
mkPN : N -> PN
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></A>
|
||||
<H2>Adjectives</H2>
|
||||
<P>
|
||||
Non-comparison one-place adjectives are just like nouns.
|
||||
The regular adjectives are based on <CODE>regN</CODE> in the positive.
|
||||
Comparison adjectives have three forms.
|
||||
The comparative and the superlative
|
||||
are always inflected in the same way, so the nominative of them is actually
|
||||
enough (except for the superlative <I>paras</I> of <I>hyvä</I>).
|
||||
</P>
|
||||
<PRE>
|
||||
mkA : N -> A ;
|
||||
mkA : overload {
|
||||
mkA : Str -> A ;
|
||||
mkA : N -> A ;
|
||||
mkA : N -> (kivempaa,kivinta : Str) -> A
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -327,22 +336,6 @@ Two-place adjectives need a case for the second argument.
|
||||
mkA2 : A -> Prep -> A2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Comparison adjectives have three forms. The comparative and the superlative
|
||||
are always inflected in the same way, so the nominative of them is actually
|
||||
enough (except for the superlative <I>paras</I> of <I>hyvä</I>).
|
||||
</P>
|
||||
<PRE>
|
||||
mkADeg : (kiva : N) -> (kivempaa,kivinta : Str) -> A ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The regular adjectives are based on <CODE>regN</CODE> in the positive.
|
||||
</P>
|
||||
<PRE>
|
||||
regA : (punainen : Str) -> A ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
<H2>Verbs</H2>
|
||||
<P>
|
||||
@@ -350,26 +343,22 @@ The grammar does not cover the potential mood and some nominal
|
||||
forms. One way to see the coverage is to linearize a verb to
|
||||
a table.
|
||||
The worst case needs twelve forms, as shown in the following.
|
||||
</P>
|
||||
<PRE>
|
||||
mkV : (tulla,tulee,tulen,tulevat,tulkaa,tullaan,
|
||||
tuli,tulin,tulisi,tullut,tultu,tullun : Str) -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The following heuristics cover more and more verbs.
|
||||
</P>
|
||||
<PRE>
|
||||
regV : (soutaa : Str) -> V ;
|
||||
reg2V : (soutaa,souti : Str) -> V ;
|
||||
reg3V : (soutaa,soudan,souti : Str) -> V ;
|
||||
mkV : overload {
|
||||
mkV : (soutaa : Str) -> V ;
|
||||
mkV : (soutaa,souti : Str) -> V ;
|
||||
mkV : (soutaa,soudan,souti : Str) -> V ;
|
||||
mkV : (tulla,tulee,tulen,tulevat,tulkaa,tullaan,tuli,tulin,tulisi,tullut,tultu,tullun : Str) -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The subject case of verbs is by default nominative. This dunction can change it.
|
||||
The subject case of verbs is by default nominative. This function can change it.
|
||||
</P>
|
||||
<PRE>
|
||||
subjcaseV : V -> Case -> V ;
|
||||
mkV : V -> Case -> V
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -429,26 +418,18 @@ The verbs <I>be</I> is special.
|
||||
<A NAME="toc5"></A>
|
||||
<H3>Two-place verbs</H3>
|
||||
<P>
|
||||
Two-place verbs need a case, and can have a pre- or postposition.
|
||||
Two-place verbs need an object case, and can have a pre- or postposition.
|
||||
The default is direct (accusative) object. There is also a special case
|
||||
with case only. The string-only argument case yields a regular verb with
|
||||
accusative object.
|
||||
</P>
|
||||
<PRE>
|
||||
mkV2 : V -> Prep -> V2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
If the complement needs just a case, the following special function can be used.
|
||||
</P>
|
||||
<PRE>
|
||||
caseV2 : V -> Case -> V2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Verbs with a direct (accusative) object
|
||||
are special, since their complement case is finally decided in syntax.
|
||||
But this is taken care of in <CODE>VerbFin</CODE>.
|
||||
</P>
|
||||
<PRE>
|
||||
dirV2 : V -> V2 ;
|
||||
mkV2 : overload {
|
||||
mkV2 : Str -> V2 ;
|
||||
mkV2 : V -> V2 ;
|
||||
mkV2 : V -> Case -> V2 ;
|
||||
mkV2 : V -> Prep -> V2 ;
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc6"></A>
|
||||
@@ -498,6 +479,6 @@ as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.4 (http://txt2tags.sf.net) -->
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc finnish/ParadigmsFin.txt -->
|
||||
</BODY></HTML>
|
||||
|
||||
Reference in New Issue
Block a user