updated gfdoc

This commit is contained in:
aarne
2006-05-31 17:01:59 +00:00
parent 32010080f6
commit 7a8922c4da
36 changed files with 133 additions and 54 deletions

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1> <P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:26 2006 Last update: Wed May 31 19:01:35 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1> <P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:26 2006 Last update: Wed May 31 19:01:35 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The category system</H1> <P ALIGN="center"><CENTER><H1> The category system</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:27 2006 Last update: Wed May 31 19:01:35 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Infrastructure with common implementations.</H1> <P ALIGN="center"><CENTER><H1> Infrastructure with common implementations.</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:27 2006 Last update: Wed May 31 19:01:35 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Coordination</H1> <P ALIGN="center"><CENTER><H1> Coordination</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:27 2006 Last update: Wed May 31 19:01:36 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> The Main Module of the Resource Grammar</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1>
<FONT SIZE="4">
<I>Author: </I><BR>
Last update: Wed May 31 19:01:36 2006
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">The Main Module of the Resource Grammar</A>
</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>
<A NAME="toc1"></A>
<H1>The Main Module of the Resource Grammar</H1>
<P>
This grammar a collection of the different grammar modules,
To test the resource, import <A HREF="Lang.html">Lang</A>, which also contains
a lexicon.
</P>
<PRE>
abstract Grammar =
Noun,
Verb,
Adjective,
Adverb,
Numeral,
Sentence,
Question,
Relative,
Conjunction,
Phrase,
Text,
Structural,
Idiom
** {} ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Grammar.txt -->
</BODY></HTML>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Idiomatic expressions</H1> <P ALIGN="center"><CENTER><H1> Idiomatic expressions</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:27 2006 Last update: Wed May 31 19:01:36 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>
@@ -37,13 +37,18 @@ often different even in closely related languages.
</P> </P>
<PRE> <PRE>
fun fun
ImpersCl : VP -&gt; Cl ; -- it rains ImpersCl : VP -&gt; Cl ; -- it rains
GenericCl : VP -&gt; Cl ; -- one sleeps GenericCl : VP -&gt; Cl ; -- one sleeps
ExistNP : NP -&gt; Cl ; -- there is a house CleftNP : NP -&gt; RS -&gt; Cl ; -- it is you who did it
ExistIP : IP -&gt; QCl ; -- which houses are there CleftAdv : Adv -&gt; S -&gt; Cl ; -- it is yesterday she arrived
ProgrVP : VP -&gt; VP ; -- be sleeping ExistNP : NP -&gt; Cl ; -- there is a house
ExistIP : IP -&gt; QCl ; -- which houses are there
ProgrVP : VP -&gt; VP ; -- be sleeping
ImpPl1 : VP -&gt; Utt ; -- let's go
} }
</PRE> </PRE>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1> <P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:27 2006 Last update: Wed May 31 19:01:36 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>
@@ -30,7 +30,8 @@ gfdoc - a rudimentary GF document generator.
<P> <P>
This grammar is just a collection of the different modules, This grammar is just a collection of the different modules,
and the one that can be imported when one wants to test the and the one that can be imported when one wants to test the
grammar. A smaller top module is <A HREF="Test.html">Test</A>. grammar. A module without a lexicon is <A HREF="Grammar.html">Grammar</A>,
which may be more suitable to open in applications.
</P> </P>
<PRE> <PRE>
abstract Lang = abstract Lang =

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1> <P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:31 2006 Last update: Wed May 31 19:01:41 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1> <P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:32 2006 Last update: Wed May 31 19:01:41 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1> <P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:28 2006 Last update: Wed May 31 19:01:37 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Numerals</H1> <P ALIGN="center"><CENTER><H1> Numerals</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:28 2006 Last update: Wed May 31 19:01:37 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -44,7 +44,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:39 2006
</P> </P>
<P> <P>
Produced by Produced by
@@ -313,7 +313,7 @@ If comparison is formed by <I>mer, //mest</I>, as in general for//
long adjective, the following pattern is used: long adjective, the following pattern is used:
</P> </P>
<PRE> <PRE>
compoundADeg : A -&gt; A ; -- -/mer/mest norsk compoundA : A -&gt; A ; -- -/mer/mest norsk
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc10"></A> <A NAME="toc10"></A>

View File

@@ -43,7 +43,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:39 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -28,7 +28,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:39 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -41,7 +41,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:39 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -35,7 +35,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -41,7 +41,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:30 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -28,13 +28,14 @@
<LI><A HREF="#toc11">Prepositions</A> <LI><A HREF="#toc11">Prepositions</A>
<LI><A HREF="#toc12">Verbs</A> <LI><A HREF="#toc12">Verbs</A>
<UL> <UL>
<LI><A HREF="#toc13">Verbs with a particle.</A> <LI><A HREF="#toc13">Verbs with //være// as auxiliary</A>
<LI><A HREF="#toc14">Deponent verbs.</A> <LI><A HREF="#toc14">Verbs with a particle.</A>
<LI><A HREF="#toc15">Two-place verbs</A> <LI><A HREF="#toc15">Deponent verbs.</A>
<LI><A HREF="#toc16">Three-place verbs</A> <LI><A HREF="#toc16">Two-place verbs</A>
<LI><A HREF="#toc17">Other complement patterns</A> <LI><A HREF="#toc17">Three-place verbs</A>
<LI><A HREF="#toc18">Other complement patterns</A>
</UL> </UL>
<LI><A HREF="#toc18">Definitions of the paradigms</A> <LI><A HREF="#toc19">Definitions of the paradigms</A>
</UL> </UL>
</UL> </UL>
@@ -43,7 +44,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:31 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by
@@ -306,7 +307,7 @@ If comparison is formed by <I>mer, //mest</I>, as in general for//
long adjective, the following pattern is used: long adjective, the following pattern is used:
</P> </P>
<PRE> <PRE>
compoundADeg : A -&gt; A ; -- -/mer/mest norsk compoundA : A -&gt; A ; -- -/mer/mest norsk
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc10"></A> <A NAME="toc10"></A>
@@ -368,6 +369,15 @@ In practice, it is enough to give three forms, as in school books.
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc13"></A> <A NAME="toc13"></A>
<H3>Verbs with //være// as auxiliary</H3>
<P>
By default, the auxiliary is <I>have</I>. This function changes it to <I>være</I>.
</P>
<PRE>
vaereV : V -&gt; V ;
</PRE>
<P></P>
<A NAME="toc14"></A>
<H3>Verbs with a particle.</H3> <H3>Verbs with a particle.</H3>
<P> <P>
The particle, such as in <I>switch on</I>, is given as a string. The particle, such as in <I>switch on</I>, is given as a string.
@@ -376,7 +386,7 @@ The particle, such as in <I>switch on</I>, is given as a string.
partV : V -&gt; Str -&gt; V ; partV : V -&gt; Str -&gt; V ;
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc14"></A> <A NAME="toc15"></A>
<H3>Deponent verbs.</H3> <H3>Deponent verbs.</H3>
<P> <P>
Some words are used in passive forms only, e.g. <I>hoppas</I>, some as Some words are used in passive forms only, e.g. <I>hoppas</I>, some as
@@ -387,7 +397,7 @@ reflexive e.g. <I>
reflV : V -&gt; V ; reflV : V -&gt; V ;
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc15"></A> <A NAME="toc16"></A>
<H3>Two-place verbs</H3> <H3>Two-place verbs</H3>
<P> <P>
Two-place verbs need a preposition, except the special case with direct object. Two-place verbs need a preposition, except the special case with direct object.
@@ -399,7 +409,7 @@ Two-place verbs need a preposition, except the special case with direct object.
dirV2 : V -&gt; V2 ; dirV2 : V -&gt; V2 ;
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc16"></A> <A NAME="toc17"></A>
<H3>Three-place verbs</H3> <H3>Three-place verbs</H3>
<P> <P>
Three-place (ditransitive) verbs need two prepositions, of which Three-place (ditransitive) verbs need two prepositions, of which
@@ -411,7 +421,7 @@ the first one or both can be absent.
dirdirV3 : V -&gt; V3 ; -- give,_,_ dirdirV3 : V -&gt; V3 ; -- give,_,_
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc17"></A> <A NAME="toc18"></A>
<H3>Other complement patterns</H3> <H3>Other complement patterns</H3>
<P> <P>
Verbs and adjectives can take complements such as sentences, Verbs and adjectives can take complements such as sentences,
@@ -445,7 +455,7 @@ as an adverb. Likewise <CODE>AS, A2S, AV, A2V</CODE> are just <CODE>A</CODE>.
AS, A2S, AV, A2V : Type ; AS, A2S, AV, A2V : Type ;
</PRE> </PRE>
<P></P> <P></P>
<A NAME="toc18"></A> <A NAME="toc19"></A>
<H2>Definitions of the paradigms</H2> <H2>Definitions of the paradigms</H2>
<P> <P>
The definitions should not bother the user of the API. So they are The definitions should not bother the user of the API. So they are

View File

@@ -25,7 +25,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:31 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -41,7 +41,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:31 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -43,7 +43,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:31 2006 Last update: Wed May 31 19:01:40 2006
</P> </P>
<P> <P>
Produced by Produced by
@@ -277,6 +277,13 @@ Sometimes just the positive forms are irregular.
mk2A : (bred,brett : Str) -&gt; A ; mk2A : (bred,brett : Str) -&gt; A ;
</PRE> </PRE>
<P></P> <P></P>
<P>
Comparison forms may be compound (<I>mera svensk</I> - <I>mest svensk</I>).
</P>
<PRE>
compoundA : A -&gt; A ;
</PRE>
<P></P>
<A NAME="toc9"></A> <A NAME="toc9"></A>
<H3>Two-place adjectives</H3> <H3>Two-place adjectives</H3>
<P> <P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Phrases and utterances</H1> <P ALIGN="center"><CENTER><H1> Phrases and utterances</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:28 2006 Last update: Wed May 31 19:01:37 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -14,7 +14,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:32 2006 Last update: Wed May 31 19:01:42 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1> <P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:33 2006 Last update: Wed May 31 19:01:42 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -14,7 +14,7 @@
<P></P> <P></P>
<P> <P>
Author: Author:
Last update: Fri May 26 17:33:33 2006 Last update: Wed May 31 19:01:42 2006
</P> </P>
<P> <P>
Produced by Produced by

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1> <P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:32 2006 Last update: Wed May 31 19:01:41 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The GF Prelude</H1> <P ALIGN="center"><CENTER><H1> The GF Prelude</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:33 2006 Last update: Wed May 31 19:01:42 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1> <P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:28 2006 Last update: Wed May 31 19:01:37 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1> <P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:37 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Sentences, clauses, imperatives, and sentential complements</H1> <P ALIGN="center"><CENTER><H1> Sentences, clauses, imperatives, and sentential complements</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:38 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1> <P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:38 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1> <P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:32 2006 Last update: Wed May 31 19:01:41 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Tense, Polarity, and Anteriority</H1> <P ALIGN="center"><CENTER><H1> Tense, Polarity, and Anteriority</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:38 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> Texts</H1> <P ALIGN="center"><CENTER><H1> Texts</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:38 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>

View File

@@ -7,7 +7,7 @@
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1> <P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
<FONT SIZE="4"> <FONT SIZE="4">
<I>Author: </I><BR> <I>Author: </I><BR>
Last update: Fri May 26 17:33:29 2006 Last update: Wed May 31 19:01:38 2006
</FONT></CENTER> </FONT></CENTER>
<P></P> <P></P>