mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-13 14:59:32 -06:00
updated gfdoc
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:26 2006
|
||||
Last update: Wed May 31 19:01:35 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:26 2006
|
||||
Last update: Wed May 31 19:01:35 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The category system</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:27 2006
|
||||
Last update: Wed May 31 19:01:35 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Infrastructure with common implementations.</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:27 2006
|
||||
Last update: Wed May 31 19:01:35 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Coordination</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:27 2006
|
||||
Last update: Wed May 31 19:01:36 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
56
lib/resource-1.0/doc/gfdoc/Grammar.html
Normal file
56
lib/resource-1.0/doc/gfdoc/Grammar.html
Normal 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>
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Idiomatic expressions</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:27 2006
|
||||
Last update: Wed May 31 19:01:36 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -37,13 +37,18 @@ often different even in closely related languages.
|
||||
</P>
|
||||
<PRE>
|
||||
fun
|
||||
ImpersCl : VP -> Cl ; -- it rains
|
||||
GenericCl : VP -> Cl ; -- one sleeps
|
||||
ImpersCl : VP -> Cl ; -- it rains
|
||||
GenericCl : VP -> Cl ; -- one sleeps
|
||||
|
||||
ExistNP : NP -> Cl ; -- there is a house
|
||||
ExistIP : IP -> QCl ; -- which houses are there
|
||||
CleftNP : NP -> RS -> Cl ; -- it is you who did it
|
||||
CleftAdv : Adv -> S -> Cl ; -- it is yesterday she arrived
|
||||
|
||||
ProgrVP : VP -> VP ; -- be sleeping
|
||||
ExistNP : NP -> Cl ; -- there is a house
|
||||
ExistIP : IP -> QCl ; -- which houses are there
|
||||
|
||||
ProgrVP : VP -> VP ; -- be sleeping
|
||||
|
||||
ImpPl1 : VP -> Utt ; -- let's go
|
||||
|
||||
}
|
||||
</PRE>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The Main Module of the Resource Grammar</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:27 2006
|
||||
Last update: Wed May 31 19:01:36 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
@@ -30,7 +30,8 @@ gfdoc - a rudimentary GF document generator.
|
||||
<P>
|
||||
This grammar is just a collection of the different modules,
|
||||
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>
|
||||
<PRE>
|
||||
abstract Lang =
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:31 2006
|
||||
Last update: Wed May 31 19:01:41 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:32 2006
|
||||
Last update: Wed May 31 19:01:41 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:28 2006
|
||||
Last update: Wed May 31 19:01:37 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Numerals</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:28 2006
|
||||
Last update: Wed May 31 19:01:37 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:39 2006
|
||||
</P>
|
||||
<P>
|
||||
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:
|
||||
</P>
|
||||
<PRE>
|
||||
compoundADeg : A -> A ; -- -/mer/mest norsk
|
||||
compoundA : A -> A ; -- -/mer/mest norsk
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc10"></A>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:39 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:39 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:39 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:30 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -28,13 +28,14 @@
|
||||
<LI><A HREF="#toc11">Prepositions</A>
|
||||
<LI><A HREF="#toc12">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="#toc13">Verbs with //være// as auxiliary</A>
|
||||
<LI><A HREF="#toc14">Verbs with a particle.</A>
|
||||
<LI><A HREF="#toc15">Deponent verbs.</A>
|
||||
<LI><A HREF="#toc16">Two-place verbs</A>
|
||||
<LI><A HREF="#toc17">Three-place verbs</A>
|
||||
<LI><A HREF="#toc18">Other complement patterns</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc18">Definitions of the paradigms</A>
|
||||
<LI><A HREF="#toc19">Definitions of the paradigms</A>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
@@ -43,7 +44,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:31 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
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:
|
||||
</P>
|
||||
<PRE>
|
||||
compoundADeg : A -> A ; -- -/mer/mest norsk
|
||||
compoundA : A -> A ; -- -/mer/mest norsk
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc10"></A>
|
||||
@@ -368,6 +369,15 @@ In practice, it is enough to give three forms, as in school books.
|
||||
</PRE>
|
||||
<P></P>
|
||||
<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 -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc14"></A>
|
||||
<H3>Verbs with a particle.</H3>
|
||||
<P>
|
||||
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 -> Str -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc14"></A>
|
||||
<A NAME="toc15"></A>
|
||||
<H3>Deponent verbs.</H3>
|
||||
<P>
|
||||
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 -> V ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc15"></A>
|
||||
<A NAME="toc16"></A>
|
||||
<H3>Two-place verbs</H3>
|
||||
<P>
|
||||
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 -> V2 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc16"></A>
|
||||
<A NAME="toc17"></A>
|
||||
<H3>Three-place verbs</H3>
|
||||
<P>
|
||||
Three-place (ditransitive) verbs need two prepositions, of which
|
||||
@@ -411,7 +421,7 @@ the first one or both can be absent.
|
||||
dirdirV3 : V -> V3 ; -- give,_,_
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc17"></A>
|
||||
<A NAME="toc18"></A>
|
||||
<H3>Other complement patterns</H3>
|
||||
<P>
|
||||
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 ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc18"></A>
|
||||
<A NAME="toc19"></A>
|
||||
<H2>Definitions of the paradigms</H2>
|
||||
<P>
|
||||
The definitions should not bother the user of the API. So they are
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:31 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:31 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:31 2006
|
||||
Last update: Wed May 31 19:01:40 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
@@ -277,6 +277,13 @@ Sometimes just the positive forms are irregular.
|
||||
mk2A : (bred,brett : Str) -> A ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Comparison forms may be compound (<I>mera svensk</I> - <I>mest svensk</I>).
|
||||
</P>
|
||||
<PRE>
|
||||
compoundA : A -> A ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc9"></A>
|
||||
<H3>Two-place adjectives</H3>
|
||||
<P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Phrases and utterances</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:28 2006
|
||||
Last update: Wed May 31 19:01:37 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:32 2006
|
||||
Last update: Wed May 31 19:01:42 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:33 2006
|
||||
Last update: Wed May 31 19:01:42 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<P></P>
|
||||
<P>
|
||||
Author:
|
||||
Last update: Fri May 26 17:33:33 2006
|
||||
Last update: Wed May 31 19:01:42 2006
|
||||
</P>
|
||||
<P>
|
||||
Produced by
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:32 2006
|
||||
Last update: Wed May 31 19:01:41 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The GF Prelude</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:33 2006
|
||||
Last update: Wed May 31 19:01:42 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Questions and interrogative pronouns</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:28 2006
|
||||
Last update: Wed May 31 19:01:37 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:37 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Sentences, clauses, imperatives, and sentential complements</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:38 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:38 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:32 2006
|
||||
Last update: Wed May 31 19:01:41 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Tense, Polarity, and Anteriority</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:38 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> Texts</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:38 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri May 26 17:33:29 2006
|
||||
Last update: Wed May 31 19:01:38 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
|
||||
Reference in New Issue
Block a user