mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-26 21:12:50 -06:00
adjustments in Paradigms ; lang-specific modules for all except Rus, Ara
This commit is contained in:
@@ -2,63 +2,50 @@
|
||||
<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-06-15 16:03:55 CEST</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">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="#toc11">Verbs with a particle.</A>
|
||||
<LI><A HREF="#toc12">Deponent verbs.</A>
|
||||
<LI><A HREF="#toc13">Two-place verbs</A>
|
||||
<LI><A HREF="#toc14">Three-place verbs</A>
|
||||
<LI><A HREF="#toc15">Other complement patterns</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc18">Definitions of the paradigms</A>
|
||||
<LI><A HREF="#toc16">Definitions of the paradigms</A>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Tue Jun 13 11:42:44 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>
|
||||
==
|
||||
</P>
|
||||
<P>
|
||||
# -path=.:../scandinavian:../common:../abstract:../../prelude
|
||||
</P>
|
||||
<A NAME="toc1"></A>
|
||||
<H1>Swedish Lexical Paradigms</H1>
|
||||
<P>
|
||||
Aarne Ranta 2003
|
||||
</P>
|
||||
<P>
|
||||
@@ -96,7 +83,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.
|
||||
@@ -133,10 +120,11 @@ To abstract over case names, we define the following.
|
||||
Prepositions used in many-argument functions are just strings.
|
||||
</P>
|
||||
<PRE>
|
||||
Preposition : Type = Str ;
|
||||
mkPrep : Str -> Prep ;
|
||||
noPrep : Prep ; -- empty string
|
||||
</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
|
||||
@@ -179,19 +167,19 @@ 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.
|
||||
</P>
|
||||
<PRE>
|
||||
mkN2 : N -> Preposition -> N2 ;
|
||||
mkN2 : N -> Prep -> N2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -210,10 +198,10 @@ form other prepositions.
|
||||
Three-place relational nouns (<I>the connection from x to y</I>) need two prepositions.
|
||||
</P>
|
||||
<PRE>
|
||||
mkN3 : N -> Preposition -> Preposition -> N3 ;
|
||||
mkN3 : N -> Prep -> Prep -> 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
|
||||
@@ -221,13 +209,14 @@ 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
|
||||
</P>
|
||||
<PRE>
|
||||
regPN : Str -> Gender -> PN ; -- John, John's
|
||||
regGenPN : Str -> Gender -> PN ;
|
||||
regPN : Str -> PN ; -- utrum
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -245,7 +234,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.
|
||||
@@ -284,16 +273,16 @@ Comparison forms may be compound (<I>mera svensk</I> - <I>mest svensk</I>).
|
||||
compoundA : A -> 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.
|
||||
</P>
|
||||
<PRE>
|
||||
mkA2 : A -> Preposition -> A2 ;
|
||||
mkA2 : A -> Prep -> 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
|
||||
@@ -311,16 +300,7 @@ Adverbs modifying adjectives and sentences can also be formed.
|
||||
mkAdA : Str -> AdA ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc11"></A>
|
||||
<H2>Prepositions</H2>
|
||||
<P>
|
||||
A preposition is just a string.
|
||||
</P>
|
||||
<PRE>
|
||||
mkPreposition : Str -> Preposition ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc12"></A>
|
||||
<A NAME="toc10"></A>
|
||||
<H2>Verbs</H2>
|
||||
<P>
|
||||
The worst case needs five forms.
|
||||
@@ -358,7 +338,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="toc11"></A>
|
||||
<H3>Verbs with a particle.</H3>
|
||||
<P>
|
||||
The particle, such as in <I>passa på</I>, is given as a string.
|
||||
@@ -367,7 +347,7 @@ The particle, such as in <I>passa p
|
||||
partV : V -> Str -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc14"></A>
|
||||
<A NAME="toc12"></A>
|
||||
<H3>Deponent verbs.</H3>
|
||||
<P>
|
||||
Some words are used in passive forms only, e.g. <I>hoppas</I>, some as
|
||||
@@ -378,31 +358,31 @@ reflexive e.g. <I>
|
||||
reflV : V -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc15"></A>
|
||||
<A NAME="toc13"></A>
|
||||
<H3>Two-place verbs</H3>
|
||||
<P>
|
||||
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>.
|
||||
</P>
|
||||
<PRE>
|
||||
mkV2 : V -> Preposition -> V2 ;
|
||||
mkV2 : V -> Prep -> V2 ;
|
||||
|
||||
dirV2 : V -> V2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc16"></A>
|
||||
<A NAME="toc14"></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 -> Preposition -> Preposition -> V3 ; -- tala med om
|
||||
dirV3 : V -> Preposition -> V3 ; -- ge _ till
|
||||
mkV3 : V -> Prep -> Prep -> V3 ; -- tala med om
|
||||
dirV3 : V -> Prep -> V3 ; -- ge _ till
|
||||
dirdirV3 : V -> V3 ; -- ge _ _
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc17"></A>
|
||||
<A NAME="toc15"></A>
|
||||
<H3>Other complement patterns</H3>
|
||||
<P>
|
||||
Verbs and adjectives can take complements such as sentences,
|
||||
@@ -411,18 +391,18 @@ questions, verb phrases, and adjectives.
|
||||
<PRE>
|
||||
mkV0 : V -> V0 ;
|
||||
mkVS : V -> VS ;
|
||||
mkV2S : V -> Str -> V2S ;
|
||||
mkV2S : V -> Prep -> V2S ;
|
||||
mkVV : V -> VV ;
|
||||
mkV2V : V -> Str -> Str -> V2V ;
|
||||
mkV2V : V -> Prep -> Prep -> V2V ;
|
||||
mkVA : V -> VA ;
|
||||
mkV2A : V -> Str -> V2A ;
|
||||
mkV2A : V -> Prep -> V2A ;
|
||||
mkVQ : V -> VQ ;
|
||||
mkV2Q : V -> Str -> V2Q ;
|
||||
mkV2Q : V -> Prep -> V2Q ;
|
||||
|
||||
mkAS : A -> AS ;
|
||||
mkA2S : A -> Str -> A2S ;
|
||||
mkA2S : A -> Prep -> A2S ;
|
||||
mkAV : A -> AV ;
|
||||
mkA2V : A -> Str -> A2V ;
|
||||
mkA2V : A -> Prep -> A2V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -436,7 +416,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="toc16"></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