mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 04:52:51 -06:00
Regenerated all resource-1.0 docs with the modified gfdoc.
This commit is contained in:
@@ -2,59 +2,51 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||
<TITLE> Swedish Lexical Paradigms</TITLE>
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> Swedish Lexical Paradigms</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Last update: 2006-03-09 18:54:25 CET</I><BR>
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<UL>
|
||||
<LI><A HREF="#toc1">Swedish Lexical Paradigms</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc2">Parameters</A>
|
||||
<LI><A HREF="#toc3">Nouns</A>
|
||||
<LI><A HREF="#toc1">Parameters</A>
|
||||
<LI><A HREF="#toc2">Nouns</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc4">Compound nouns</A>
|
||||
<LI><A HREF="#toc5">Relational nouns</A>
|
||||
<LI><A HREF="#toc6">Relational common noun phrases</A>
|
||||
<LI><A HREF="#toc7">Proper names and noun phrases</A>
|
||||
<LI><A HREF="#toc3">Compound nouns</A>
|
||||
<LI><A HREF="#toc4">Relational nouns</A>
|
||||
<LI><A HREF="#toc5">Relational common noun phrases</A>
|
||||
<LI><A HREF="#toc6">Proper names and noun phrases</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc8">Adjectives</A>
|
||||
<LI><A HREF="#toc7">Adjectives</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc9">Two-place adjectives</A>
|
||||
<LI><A HREF="#toc8">Two-place adjectives</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc10">Adverbs</A>
|
||||
<LI><A HREF="#toc11">Prepositions</A>
|
||||
<LI><A HREF="#toc12">Verbs</A>
|
||||
<LI><A HREF="#toc9">Adverbs</A>
|
||||
<LI><A HREF="#toc10">Prepositions</A>
|
||||
<LI><A HREF="#toc11">Verbs</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc13">Verbs with a particle.</A>
|
||||
<LI><A HREF="#toc14">Deponent verbs.</A>
|
||||
<LI><A HREF="#toc15">Two-place verbs</A>
|
||||
<LI><A HREF="#toc16">Three-place verbs</A>
|
||||
<LI><A HREF="#toc17">Other complement patterns</A>
|
||||
<LI><A HREF="#toc12">Verbs with a particle.</A>
|
||||
<LI><A HREF="#toc13">Deponent verbs.</A>
|
||||
<LI><A HREF="#toc14">Two-place verbs</A>
|
||||
<LI><A HREF="#toc15">Three-place verbs</A>
|
||||
<LI><A HREF="#toc16">Other complement patterns</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc18">Definitions of the paradigms</A>
|
||||
<LI><A HREF="#toc17">Definitions of the paradigms</A>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<P>
|
||||
Last update: Sat Feb 25 22:36:00 2006
|
||||
</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>
|
||||
# -path=.:../scandinavian:../common:../abstract:../../prelude
|
||||
</P>
|
||||
<A NAME="toc1"></A>
|
||||
<H1>Swedish Lexical Paradigms</H1>
|
||||
<P>
|
||||
Aarne Ranta 2003
|
||||
</P>
|
||||
<P>
|
||||
@@ -92,7 +84,7 @@ words.
|
||||
CatSwe in {
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc2"></A>
|
||||
<A NAME="toc1"></A>
|
||||
<H2>Parameters</H2>
|
||||
<P>
|
||||
To abstract over gender names, we define the following identifiers.
|
||||
@@ -132,7 +124,7 @@ Prepositions used in many-argument functions are just strings.
|
||||
Preposition : Type = Str ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></A>
|
||||
<A NAME="toc2"></A>
|
||||
<H2>Nouns</H2>
|
||||
<P>
|
||||
Worst case: give all four forms. The gender is computed from the
|
||||
@@ -143,12 +135,21 @@ last letter of the second form (if <I>n</I>, then <CODE>utrum</CODE>, otherwise
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The regular function takes the singular indefinite form and the gender,
|
||||
and computes the other forms by a heuristic.
|
||||
The regular function takes the singular indefinite form and computes the other
|
||||
forms and the gender by a heuristic. The heuristic is currently
|
||||
to treat all words ending with <I>a</I> like <I>flicka</I>, with <I>e</I> like <I>rike</I>,
|
||||
and otherwise like <I>bil</I>.
|
||||
If in doubt, use the <CODE>cc</CODE> command to test!
|
||||
</P>
|
||||
<PRE>
|
||||
regN : Str -> Gender -> N ;
|
||||
regN : Str -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Adding the gender manually greatly improves the correction of <CODE>regN</CODE>.
|
||||
</P>
|
||||
<PRE>
|
||||
regGenN : Str -> Gender -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -166,13 +167,13 @@ It does not work if there are changes in the stem.
|
||||
mk1N : (bilarna : Str) -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
<A NAME="toc3"></A>
|
||||
<H3>Compound nouns</H3>
|
||||
<P>
|
||||
All the functions above work quite as well to form compound nouns,
|
||||
such as <I>fotboll</I>.
|
||||
</P>
|
||||
<A NAME="toc5"></A>
|
||||
<A NAME="toc4"></A>
|
||||
<H3>Relational nouns</H3>
|
||||
<P>
|
||||
Relational nouns (<I>daughter of x</I>) need a preposition.
|
||||
@@ -200,7 +201,7 @@ Three-place relational nouns (<I>the connection from x to y</I>) need two prepos
|
||||
mkN3 : N -> Preposition -> Preposition -> N3 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc6"></A>
|
||||
<A NAME="toc5"></A>
|
||||
<H3>Relational common noun phrases</H3>
|
||||
<P>
|
||||
In some cases, you may want to make a complex <CODE>CN</CODE> into a
|
||||
@@ -208,7 +209,7 @@ relational noun (e.g. <I>the old town hall of</I>). However, <CODE>N2</CODE> and
|
||||
<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.
|
||||
</P>
|
||||
<A NAME="toc7"></A>
|
||||
<A NAME="toc6"></A>
|
||||
<H3>Proper names and noun phrases</H3>
|
||||
<P>
|
||||
Proper names, with a regular genitive, are formed as follows
|
||||
@@ -232,7 +233,7 @@ genitive, you can use the worst-case function.
|
||||
mkNP : Str -> Str -> Number -> Gender -> NP ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc8"></A>
|
||||
<A NAME="toc7"></A>
|
||||
<H2>Adjectives</H2>
|
||||
<P>
|
||||
Adjectives may need as many as seven forms.
|
||||
@@ -264,7 +265,7 @@ Sometimes just the positive forms are irregular.
|
||||
mk2A : (bred,brett : Str) -> A ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc9"></A>
|
||||
<A NAME="toc8"></A>
|
||||
<H3>Two-place adjectives</H3>
|
||||
<P>
|
||||
Two-place adjectives need a preposition for their second argument.
|
||||
@@ -273,7 +274,7 @@ Two-place adjectives need a preposition for their second argument.
|
||||
mkA2 : A -> Preposition -> A2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc10"></A>
|
||||
<A NAME="toc9"></A>
|
||||
<H2>Adverbs</H2>
|
||||
<P>
|
||||
Adverbs are not inflected. Most lexical ones have position
|
||||
@@ -291,7 +292,7 @@ Adverbs modifying adjectives and sentences can also be formed.
|
||||
mkAdA : Str -> AdA ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc11"></A>
|
||||
<A NAME="toc10"></A>
|
||||
<H2>Prepositions</H2>
|
||||
<P>
|
||||
A preposition is just a string.
|
||||
@@ -300,7 +301,7 @@ A preposition is just a string.
|
||||
mkPreposition : Str -> Preposition ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc12"></A>
|
||||
<A NAME="toc11"></A>
|
||||
<H2>Verbs</H2>
|
||||
<P>
|
||||
The worst case needs five forms.
|
||||
@@ -338,7 +339,7 @@ In practice, it is enough to give three forms, as in school books.
|
||||
irregV : (dricka, drack, druckit : Str) -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc13"></A>
|
||||
<A NAME="toc12"></A>
|
||||
<H3>Verbs with a particle.</H3>
|
||||
<P>
|
||||
The particle, such as in <I>passa på</I>, is given as a string.
|
||||
@@ -347,7 +348,7 @@ The particle, such as in <I>passa p
|
||||
partV : V -> Str -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc14"></A>
|
||||
<A NAME="toc13"></A>
|
||||
<H3>Deponent verbs.</H3>
|
||||
<P>
|
||||
Some words are used in passive forms only, e.g. <I>hoppas</I>, some as
|
||||
@@ -358,7 +359,7 @@ reflexive e.g. <I>
|
||||
reflV : V -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc15"></A>
|
||||
<A NAME="toc14"></A>
|
||||
<H3>Two-place verbs</H3>
|
||||
<P>
|
||||
Two-place verbs need a preposition, except the special case with direct object.
|
||||
@@ -370,7 +371,7 @@ Two-place verbs need a preposition, except the special case with direct object.
|
||||
dirV2 : V -> V2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc16"></A>
|
||||
<A NAME="toc15"></A>
|
||||
<H3>Three-place verbs</H3>
|
||||
<P>
|
||||
Three-place (ditransitive) verbs need two prepositions, of which
|
||||
@@ -382,7 +383,7 @@ the first one or both can be absent.
|
||||
dirdirV3 : V -> V3 ; -- ge _ _
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc17"></A>
|
||||
<A NAME="toc16"></A>
|
||||
<H3>Other complement patterns</H3>
|
||||
<P>
|
||||
Verbs and adjectives can take complements such as sentences,
|
||||
@@ -416,7 +417,7 @@ as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
|
||||
AS, A2S, AV, A2V : Type ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc18"></A>
|
||||
<A NAME="toc17"></A>
|
||||
<H2>Definitions of the paradigms</H2>
|
||||
<P>
|
||||
The definitions should not bother the user of the API. So they are
|
||||
|
||||
Reference in New Issue
Block a user