1
0
forked from GitHub/gf-core

working on API documentation

This commit is contained in:
aarne
2006-01-10 20:51:08 +00:00
parent da26bfb246
commit a46c3d2b00
34 changed files with 217 additions and 274 deletions

View File

@@ -1,3 +1,11 @@
test:
gf -src english/LangEng.gf swedish/LangSwe.gf german/TestGer.gf
stat:
wc english/*.gfc
wc swedish/*.gfc
wc german/*.gfc
gfdoc:
gfdoc -txthtml abstract/*.gf
gfdoc -txthtml */Paradigms*.gf

View File

@@ -1,25 +1,30 @@
--1 Adjectives and adjectival phrases
abstract Adjective = Cat ** {
fun
PositA : A -> AP ;
ComparA : A -> NP -> AP ;
-- The principal ways of forming an adjectival phrase are
-- positive, comparative, relational, reflexive-relational, and
-- elliptic-relational.
-- (The superlative use is covered in [Noun Noun.html].$SuperlA$.)
-- $SuperlA$ belongs to determiner syntax in $Noun$.
PositA : A -> AP ; -- warm
ComparA : A -> NP -> AP ; -- warmer than Spain
ComplA2 : A2 -> NP -> AP ; -- divisible by 2
ReflA2 : A2 -> AP ; -- divisible by itself
UseA2 : A2 -> A ; -- divisible
ComplA2 : A2 -> NP -> AP ;
-- Sentence and question complements defined for all adjectival
-- phrases, although the semantics is only clear for some adjective.
SentAP : AP -> SC -> AP ; -- great that she won, uncertain if she did
ReflA2 : A2 -> AP ;
-- An adjectival phrase can be modified by an *adadjective*, such as "very".
SentAP : AP -> S -> AP ;
QuestAP : AP -> QS -> AP ;
AdAP : AdA -> AP -> AP ; -- very uncertain
AdAP : AdA -> AP -> AP ;
-- $AdvA$ that forms adverbs belongs to $Adverb$.
-- Elliptic constructions as usual.
UseA2 : A2 -> A ;
-- The formation of adverbs from adjective (e.g. "quickly") is covered
-- by [Adverb Adverb.html].
}

View File

@@ -1,19 +1,34 @@
--1 Adverbs and adverbial phrases
abstract Adverb = Cat ** {
fun
PositAdvAdj : A -> Adv ;
ComparAdvAdj : CAdv -> A -> NP -> Adv ;
ComparAdvAdjS : CAdv -> A -> S -> Adv ;
-- The two main ways of formins adverbs is from adjectives and by
-- prepositions from noun phrases.
PrepNP : Prep -> NP -> Adv ;
PositAdvAdj : A -> Adv ; -- quickly
PrepNP : Prep -> NP -> Adv ; -- in the house
AdAdv : AdA -> Adv -> Adv ;
SubjS : Subj -> S -> Adv ;
AdvSC : SC -> Adv ;
-- Comparative adverbs have a noun phrase or a sentence as object of
-- comparison.
AdnCAdv : CAdv -> AdN ;
ComparAdvAdj : CAdv -> A -> NP -> Adv ; -- more quickly than John
ComparAdvAdjS : CAdv -> A -> S -> Adv ; -- more quickly than he runs
-- Adverbs can be modified by 'adadjectives', just like adjectives.
AdAdv : AdA -> Adv -> Adv ; -- very quickly
-- Subordinate clauses can function as adverbs.
SubjS : Subj -> S -> Adv ; -- when he arrives
AdvSC : SC -> Adv ; ---- REMOVE THIS?
-- Comparison adverbs also work as numeral adverbs.
AdnCAdv : CAdv -> AdN ; -- more (than five)
}

View File

@@ -109,9 +109,8 @@ abstract Noun = Cat ** {
-- Nouns can also be modified by embedded sentences and questions.
-- For some nouns this makes little sense, but we leave this for applications
-- to decide.
-- to decide. Sentential complements are defined in [Verb Verb.html].
SentCN : CN -> S -> CN ; -- fact that John smokes
QuestCN : CN -> QS -> CN ; -- question whether John smokes
SentCN : CN -> SC -> CN ; -- fact that John smokes, question if he does
} ;

View File

@@ -2,8 +2,12 @@
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> Adjectives and adjectival phrases</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Adjectives and adjectival phrases</H1>
<FONT SIZE="4">
<I>Last update: Tue Jan 10 21:50:56 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
@@ -13,51 +17,54 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 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>
<PRE>
abstract Adjective = Cat ** {
fun
PositA : A -&gt; AP ;
ComparA : A -&gt; NP -&gt; AP ;
</PRE>
<P></P>
<P>
<CODE>SuperlA</CODE> belongs to determiner syntax in <CODE>Noun</CODE>.
The principal ways of forming an adjectival phrase are
positive, comparative, relational, reflexive-relational, and
elliptic-relational.
(The superlative use is covered in <A HREF="Noun.html">Noun</A>.<CODE>SuperlA</CODE>.)
</P>
<PRE>
ComplA2 : A2 -&gt; NP -&gt; AP ;
ReflA2 : A2 -&gt; AP ;
SentAP : AP -&gt; S -&gt; AP ;
QuestAP : AP -&gt; QS -&gt; AP ;
AdAP : AdA -&gt; AP -&gt; AP ;
PositA : A -&gt; AP ; -- warm
ComparA : A -&gt; NP -&gt; AP ; -- warmer than Spain
ComplA2 : A2 -&gt; NP -&gt; AP ; -- divisible by 2
ReflA2 : A2 -&gt; AP ; -- divisible by itself
UseA2 : A2 -&gt; A ; -- divisible
</PRE>
<P></P>
<P>
<CODE>AdvA</CODE> that forms adverbs belongs to <CODE>Adverb</CODE>.
Elliptic constructions as usual.
Sentence and question complements defined for all adjectival
phrases, although the semantics is only clear for some adjective.
</P>
<PRE>
SentAP : AP -&gt; SC -&gt; AP ; -- great that she won, uncertain if she did
</PRE>
<P></P>
<P>
An adjectival phrase can be modified by an <B>adadjective</B>, such as <I>very</I>.
</P>
<PRE>
AdAP : AdA -&gt; AP -&gt; AP ; -- very uncertain
</PRE>
<P></P>
<P>
The formation of adverbs from adjective (e.g. <I>quickly</I>) is covered
by <A HREF="Adverb.html">Adverb</A>.
</P>
<PRE>
UseA2 : A2 -&gt; A ;
}
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Adjective.txt -->
</BODY></HTML>

View File

@@ -2,8 +2,12 @@
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> Adverbs and adverbial phrases</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Adverbs and adverbial phrases</H1>
<FONT SIZE="4">
<I>Last update: Tue Jan 10 21:50:56 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
@@ -13,39 +17,59 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 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>
<PRE>
abstract Adverb = Cat ** {
fun
PositAdvAdj : A -&gt; Adv ;
ComparAdvAdj : CAdv -&gt; A -&gt; NP -&gt; Adv ;
ComparAdvAdjS : CAdv -&gt; A -&gt; S -&gt; Adv ;
PrepNP : Prep -&gt; NP -&gt; Adv ;
AdAdv : AdA -&gt; Adv -&gt; Adv ;
SubjS : Subj -&gt; S -&gt; Adv ;
AdvSC : SC -&gt; Adv ;
AdnCAdv : CAdv -&gt; AdN ;
</PRE>
<P></P>
<P>
The two main ways of formins adverbs is from adjectives and by
prepositions from noun phrases.
</P>
<PRE>
PositAdvAdj : A -&gt; Adv ; -- quickly
PrepNP : Prep -&gt; NP -&gt; Adv ; -- in the house
</PRE>
<P></P>
<P>
Comparative adverbs have a noun phrase or a sentence as object of
comparison.
</P>
<PRE>
ComparAdvAdj : CAdv -&gt; A -&gt; NP -&gt; Adv ; -- more quickly than John
ComparAdvAdjS : CAdv -&gt; A -&gt; S -&gt; Adv ; -- more quickly than he runs
</PRE>
<P></P>
<P>
Adverbs can be modified by 'adadjectives', just like adjectives.
</P>
<PRE>
AdAdv : AdA -&gt; Adv -&gt; Adv ; -- very quickly
</PRE>
<P></P>
<P>
Subordinate clauses can function as adverbs.
</P>
<PRE>
SubjS : Subj -&gt; S -&gt; Adv ; -- when he arrives
AdvSC : SC -&gt; Adv ; ---- REMOVE THIS?
</PRE>
<P></P>
<P>
Comparison adverbs also work as numeral adverbs.
</P>
<PRE>
AdnCAdv : CAdv -&gt; AdN ; -- more (than five)
}
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Adverb.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 2006
Last update: Tue Jan 10 21:50:56 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>
<PRE>
abstract Basic = Cat ** {
fun
@@ -251,6 +247,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Basic.txt -->
</BODY></HTML>

View File

@@ -6,30 +6,27 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The category system</H1>
<FONT SIZE="4">
<I>Author: </I><BR>
Last update: Tue Jan 10 16:38:50 2006
<I>Last update: Tue Jan 10 21:50:57 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">The category system</A>
<UL>
<LI><A HREF="#toc2">Top-level units</A>
<LI><A HREF="#toc3">Tensed sentences</A>
<LI><A HREF="#toc4">Clauses</A>
<LI><A HREF="#toc5">Questions and interrogatives</A>
<LI><A HREF="#toc6">Relative clauses and pronouns</A>
<LI><A HREF="#toc7">Verb phrases</A>
<LI><A HREF="#toc8">Adjectival phrases</A>
<LI><A HREF="#toc9">Nouns and noun phrases</A>
<LI><A HREF="#toc10">Adverbs</A>
<LI><A HREF="#toc11">Numerals</A>
<LI><A HREF="#toc12">Structural words</A>
<LI><A HREF="#toc13">Words of open classes</A>
<LI><A HREF="#toc1">Top-level units</A>
<LI><A HREF="#toc2">Tensed sentences</A>
<LI><A HREF="#toc3">Clauses</A>
<LI><A HREF="#toc4">Questions and interrogatives</A>
<LI><A HREF="#toc5">Relative clauses and pronouns</A>
<LI><A HREF="#toc6">Verb phrases</A>
<LI><A HREF="#toc7">Adjectival phrases</A>
<LI><A HREF="#toc8">Nouns and noun phrases</A>
<LI><A HREF="#toc9">Adverbs</A>
<LI><A HREF="#toc10">Numerals</A>
<LI><A HREF="#toc11">Structural words</A>
<LI><A HREF="#toc12">Words of open classes</A>
</UL>
</UL>
<P></P>
<HR NOSHADE SIZE=1>
@@ -39,15 +36,13 @@ 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 category system</H1>
<PRE>
abstract Cat = {
cat
</PRE>
<P></P>
<A NAME="toc2"></A>
<A NAME="toc1"></A>
<H2>Top-level units</H2>
<P>
Constructed in <A HREF="Phrase.html">Phrase</A>.
@@ -59,7 +54,7 @@ Constructed in <A HREF="Phrase.html">Phrase</A>.
Voc ; -- vocative or "please" e.g. "my darling"
</PRE>
<P></P>
<A NAME="toc3"></A>
<A NAME="toc2"></A>
<H2>Tensed sentences</H2>
<P>
Constructed in <A HREF="Tensed.html">Tensed</A>.
@@ -71,7 +66,7 @@ A simplified variant, with just present forms, is <A HREF="Untensed.html">Untens
RS ; -- relative e.g. "in which she lived"
</PRE>
<P></P>
<A NAME="toc4"></A>
<A NAME="toc3"></A>
<H2>Clauses</H2>
<P>
Constructed in <A HREF="Sentence.html">Sentence</A>.
@@ -82,7 +77,7 @@ Constructed in <A HREF="Sentence.html">Sentence</A>.
Imp ; -- imperative e.g. "look at this"
</PRE>
<P></P>
<A NAME="toc5"></A>
<A NAME="toc4"></A>
<H2>Questions and interrogatives</H2>
<P>
Constructed in <A HREF="Question.html">Question</A>.
@@ -94,7 +89,7 @@ Constructed in <A HREF="Question.html">Question</A>.
IDet ; -- interrogative determiner e.g. "which"
</PRE>
<P></P>
<A NAME="toc6"></A>
<A NAME="toc5"></A>
<H2>Relative clauses and pronouns</H2>
<P>
Constructed in <A HREF="Relative.html">Relative</A>.
@@ -104,7 +99,7 @@ Constructed in <A HREF="Relative.html">Relative</A>.
RP ; -- relative pronoun e.g. "in which"
</PRE>
<P></P>
<A NAME="toc7"></A>
<A NAME="toc6"></A>
<H2>Verb phrases</H2>
<P>
Constructed in <A HREF="Verb.html">Verb</A>.
@@ -115,7 +110,7 @@ Constructed in <A HREF="Verb.html">Verb</A>.
SC ; -- embedded sentence or question e.g. "that it rains"
</PRE>
<P></P>
<A NAME="toc8"></A>
<A NAME="toc7"></A>
<H2>Adjectival phrases</H2>
<P>
Constructed in <A HREF="Adjective.html">Adjective</A>.
@@ -124,7 +119,7 @@ Constructed in <A HREF="Adjective.html">Adjective</A>.
AP ; -- adjectival phrase e.g. "very warm"
</PRE>
<P></P>
<A NAME="toc9"></A>
<A NAME="toc8"></A>
<H2>Nouns and noun phrases</H2>
<P>
Constructed in <A HREF="Noun.html">Noun</A>.
@@ -150,7 +145,7 @@ as defined in <A HREF="Noun.html">Noun</A>.
Ord ; -- ordinal number (used in Det) e.g. "seventh"
</PRE>
<P></P>
<A NAME="toc10"></A>
<A NAME="toc9"></A>
<H2>Adverbs</H2>
<P>
Constructed in <A HREF="Adverb.html">Adverb</A>.
@@ -163,7 +158,7 @@ Many adverbs are constructed in <A HREF="Structural.html">Structural</A>.
AdN ; -- numeral-modifying adverb, e.g. "more than"
</PRE>
<P></P>
<A NAME="toc11"></A>
<A NAME="toc10"></A>
<H2>Numerals</H2>
<P>
Constructed in <A HREF="Numeral.html">Numeral</A>.
@@ -172,7 +167,7 @@ Constructed in <A HREF="Numeral.html">Numeral</A>.
Numeral;-- cardinal or ordinal, e.g. "five/fifth"
</PRE>
<P></P>
<A NAME="toc12"></A>
<A NAME="toc11"></A>
<H2>Structural words</H2>
<P>
Constructed in <A HREF="Structural.html">Structural</A>.
@@ -186,7 +181,7 @@ Constructed in <A HREF="Structural.html">Structural</A>.
Prep ; -- preposition, or just case e.g. "in"
</PRE>
<P></P>
<A NAME="toc13"></A>
<A NAME="toc12"></A>
<H2>Words of open classes</H2>
<P>
These are constructed in <A HREF="Basic.html">Basic</A> and in additional lexicon modules.
@@ -213,6 +208,6 @@ These are constructed in <A HREF="Basic.html">Basic</A> and in additional lexico
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Cat.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 2006
Last update: Tue Jan 10 21:50:57 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>
<PRE>
abstract Conjunction = Cat ** {
@@ -54,6 +50,6 @@ These categories are internal to this module.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Conjunction.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 2006
Last update: Tue Jan 10 21:50:57 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>
<PRE>
abstract Lang =
Noun,
@@ -43,6 +39,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Lang.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:50 2006
Last update: Tue Jan 10 21:50:57 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>
<PRE>
abstract Lex = Cat ** {
@@ -84,6 +80,6 @@ structural
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Lex.txt -->
</BODY></HTML>

View File

@@ -18,17 +18,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:51 2006
Last update: Tue Jan 10 21:50:57 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>
<PRE>
abstract Math = Cat ** {
</PRE>
@@ -63,6 +59,6 @@ This produces <I>x, y and z</I>, in English.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Math.txt -->
</BODY></HTML>

View File

@@ -6,21 +6,18 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The construction of nouns, noun phrases, and determiners</H1>
<FONT SIZE="4">
<I>Author: </I><BR>
Last update: Tue Jan 10 16:38:51 2006
<I>Last update: Tue Jan 10 21:50:58 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">The construction of nouns, noun phrases, and determiners</A>
<UL>
<LI><A HREF="#toc2">Noun phrases</A>
<LI><A HREF="#toc3">Determiners</A>
<LI><A HREF="#toc4">Common nouns</A>
<LI><A HREF="#toc1">Noun phrases</A>
<LI><A HREF="#toc2">Determiners</A>
<LI><A HREF="#toc3">Common nouns</A>
</UL>
</UL>
<P></P>
<HR NOSHADE SIZE=1>
@@ -30,15 +27,13 @@ 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 construction of nouns, noun phrases, and determiners</H1>
<PRE>
abstract Noun = Cat ** {
fun
</PRE>
<P></P>
<A NAME="toc2"></A>
<A NAME="toc1"></A>
<H2>Noun phrases</H2>
<P>
The three main types of noun phrases are
@@ -58,7 +53,7 @@ The three main types of noun phrases are
<P>
Pronouns are given in the module <A HREF="Structural.html">Structural</A>.
</P>
<A NAME="toc3"></A>
<A NAME="toc2"></A>
<H2>Determiners</H2>
<P>
The determiner has a fine-grained structure, in which four
@@ -149,7 +144,7 @@ in semantically odd expressions.
<P>
Other determiners are defined in <A HREF="Structural.html">Structural</A>.
</P>
<A NAME="toc4"></A>
<A NAME="toc3"></A>
<H2>Common nouns</H2>
<P>
Simple nouns can be used as nouns outright.
@@ -186,16 +181,15 @@ Nouns can be modified by adjectives and relative clauses.
<P>
Nouns can also be modified by embedded sentences and questions.
For some nouns this makes little sense, but we leave this for applications
to decide.
to decide. Sentential complements are defined in <A HREF="Verb.html">Verb</A>.
</P>
<PRE>
SentCN : CN -&gt; S -&gt; CN ; -- fact that John smokes
QuestCN : CN -&gt; QS -&gt; CN ; -- question whether John smokes
SentCN : CN -&gt; SC -&gt; CN ; -- fact that John smokes, question if he does
} ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Noun.txt -->
</BODY></HTML>

View File

@@ -13,8 +13,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:51 2006
Last update: Tue Jan 10 21:50:58 2006
</P>
<P>
Produced by
@@ -22,9 +21,6 @@ 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>
numerals from 1 to 999999 in decimal notation
</P>
<PRE>
@@ -60,6 +56,6 @@ numerals from 1 to 999999 in decimal notation
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Numeral.txt -->
</BODY></HTML>

View File

@@ -41,8 +41,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:53 2006
Last update: Tue Jan 10 21:51:01 2006
</P>
<P>
Produced by
@@ -50,9 +49,6 @@ 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=.:../abstract:../../prelude
</P>
<A NAME="toc1"></A>
@@ -454,6 +450,6 @@ The definitions should not bother the user of the API. So they are
hidden from the document.
</P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc english/ParadigmsEng.txt -->
</BODY></HTML>

View File

@@ -13,8 +13,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:53 2006
Last update: Tue Jan 10 21:51:01 2006
</P>
<P>
Produced by
@@ -22,9 +21,6 @@ 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=.:../abstract:../../prelude
</P>
<P>
@@ -590,6 +586,6 @@ mkA2V v p = mkA2 v p **** {lock_A2 = &lt;&gt;} ;
} ;
</P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc german/ParadigmsGer.txt -->
</BODY></HTML>

View File

@@ -42,8 +42,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:53 2006
Last update: Tue Jan 10 21:51:01 2006
</P>
<P>
Produced by
@@ -51,9 +50,6 @@ 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>
@@ -454,6 +450,6 @@ The definitions should not bother the user of the API. So they are
hidden from the document.
</P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc swedish/ParadigmsSwe.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:51 2006
Last update: Tue Jan 10 21:50:58 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>
<PRE>
abstract Phrase = Cat, Tense ** {
@@ -49,6 +45,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Phrase.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:51 2006
Last update: Tue Jan 10 21:50:58 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>
<PRE>
abstract Question = Cat ** {
@@ -43,6 +39,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Question.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:51 2006
Last update: Tue Jan 10 21:50:59 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>
<PRE>
abstract Relative = Cat ** {
@@ -40,6 +36,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Relative.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:50:59 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>
<PRE>
abstract Sentence = Cat ** {
@@ -43,6 +39,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Sentence.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:50:59 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>
<PRE>
abstract SeqConjunction = Cat ** {
</PRE>
@@ -74,6 +70,6 @@ we use right-associative lists instead of GF's built-in lists
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/SeqConjunction.txt -->
</BODY></HTML>

View File

@@ -6,17 +6,13 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> GF Resource Grammar API for Structural Words</H1>
<FONT SIZE="4">
<I>Author: </I><BR>
Last update: Tue Jan 10 16:38:52 2006
<I>Last update: Tue Jan 10 21:50:59 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">GF Resource Grammar API for Structural Words</A>
</UL>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
@@ -25,8 +21,6 @@ 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>GF Resource Grammar API for Structural Words</H1>
<P>
AR 21/11/2003 -- 30/11/2005
</P>
@@ -164,6 +158,6 @@ they8fem_NP : NP ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Structural.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:51: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>
==
</P>
<PRE>
abstract Tense = {
@@ -41,6 +37,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Tense.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:50:59 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>
<PRE>
abstract Tensed = Cat, Tense ** {
@@ -36,6 +32,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Tensed.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:51: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>
==
</P>
<PRE>
abstract Test =
Noun,
@@ -43,6 +39,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Test.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:52 2006
Last update: Tue Jan 10 21:51: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>
==
</P>
<PRE>
abstract Untensed = Cat ** {
@@ -36,6 +32,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Untensed.txt -->
</BODY></HTML>

View File

@@ -13,17 +13,13 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Author:
Last update: Tue Jan 10 16:38:53 2006
Last update: Tue Jan 10 21:51: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>
==
</P>
<PRE>
abstract Verb = Cat ** {
@@ -63,6 +59,6 @@ gfdoc - a rudimentary GF document generator.
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Verb.txt -->
</BODY></HTML>

View File

@@ -23,12 +23,8 @@ concrete AdjectiveEng of Adjective = CatEng ** open ResEng, Prelude in {
isPre = False
} ;
SentAP ap s = {
s = \\a => ap.s ! a ++ conjThat ++ s.s ;
isPre = False
} ;
QuestAP ap qs = {
s = \\a => ap.s ! a ++ qs.s ! QIndir ;
SentAP ap sc = {
s = \\a => ap.s ! a ++ sc.s ;
isPre = False
} ;

View File

@@ -55,7 +55,6 @@ concrete NounEng of Noun = CatEng ** open ResEng, Prelude in {
} ;
RelCN cn rs = {s = \\n,c => cn.s ! n ! c ++ rs.s ! {n = n ; p = P3}} ;
SentCN cn s = {s = \\n,c => cn.s ! n ! c ++ conjThat ++ s.s} ;
QuestCN cn qs = {s = \\n,c => cn.s ! n ! c ++ qs.s ! QIndir} ;
SentCN cn sc = {s = \\n,c => cn.s ! n ! c ++ sc.s} ;
}

View File

@@ -25,12 +25,8 @@ concrete AdjectiveGer of Adjective = CatGer ** open ResGer, Prelude in {
-- isPre = False
-- } ;
SentAP ap s = {
s = \\a => ap.s ! a ++ conjThat ++ s.s ! Sub ;
isPre = False
} ;
QuestAP ap qs = {
s = \\a => ap.s ! a ++ qs.s ! QIndir ;
SentAP ap sc = {
s = \\a => ap.s ! a ++ sc.s ;
isPre = False
} ;

View File

@@ -122,13 +122,8 @@ concrete NounGer of Noun = CatGer ** open ResGer, Prelude in {
} ;
SentCN cn s = {
s = \\a,n,c => cn.s ! a ! n ! c ++ conjThat ++ s.s ! Sub ;
s = \\a,n,c => cn.s ! a ! n ! c ++ s.s ;
g = cn.g
} ;
QuestCN cn qs = {
s = \\a,n,c => cn.s ! a ! n ! c ++ qs.s ! QIndir ;
g = cn.g
} ;
}

View File

@@ -24,12 +24,8 @@ incomplete concrete AdjectiveScand of Adjective =
-- isPre = False
-- } ;
--
SentAP ap s = {
s = \\a => ap.s ! a ++ conjThat ++ s.s ! Inv ;
isPre = False
} ;
QuestAP ap qs = {
s = \\a => ap.s ! a ++ qs.s ! QIndir ;
SentAP ap sc = {
s = \\a => ap.s ! a ++ sc.s ;
isPre = False
} ;

View File

@@ -86,12 +86,8 @@ incomplete concrete NounScand of Noun =
s = \\n,d,c => cn.s ! n ! d ! c ++ rs.s ! agrP3 g n ;
g = g
} ;
SentCN cn s = let g = cn.g in {
s = \\n,d,c => cn.s ! n ! d ! c ++ conjThat ++ s.s ! Sub ;
g = g
} ;
QuestCN cn qs = let g = cn.g in {
s = \\n,d,c => cn.s ! n ! d ! c ++ qs.s ! QIndir ;
SentCN cn sc = let g = cn.g in {
s = \\n,d,c => cn.s ! n ! d ! c ++ sc.s ;
g = g
} ;