resource doc update

This commit is contained in:
aarne
2006-12-22 13:23:50 +00:00
parent ea4ffdc148
commit 6917d36e6e
41 changed files with 318 additions and 131 deletions

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Adjective: Adjectives and Adjectival Phrases</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:14:36 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Adverb: Adverbs and Adverbial Phrases</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-14 22:56:30 CEST</I><BR>
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Cat: the Category System</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:10:58 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -0,0 +1,126 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> Combinators: a High-Level Syntax API</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Combinators: a High-Level Syntax API</H1>
<FONT SIZE="4">
<I>Last update: 2006-12-22 14:10:19 CET</I><BR>
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">Predication</A>
<LI><A HREF="#toc2">Function application</A>
<LI><A HREF="#toc3">Coordination</A>
<LI><A HREF="#toc4">Modification</A>
<LI><A HREF="#toc5">Text append</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>
<P>
This module defines some <I>grammatical functions</I> that give shortcuts to
typical constructions. <A HREF="Constructors.html"><CODE>Constructors</CODE></A> and the
language-specific <CODE>Paradigms</CODE> modules are usually needed
to construct arguments of these functions.
</P>
<PRE>
incomplete resource Combinators = open Grammar in {
oper
</PRE>
<P></P>
<A NAME="toc1"></A>
<H2>Predication</H2>
<PRE>
pred : overload {
pred : V -&gt; NP -&gt; Cl ;
pred : V2 -&gt; NP -&gt; NP -&gt; Cl ;
pred : V3 -&gt; NP -&gt; NP -&gt; NP -&gt; Cl ;
pred : V -&gt; NP -&gt; NP -&gt; Cl ;
pred : A -&gt; NP -&gt; Cl ;
pred : A2 -&gt; NP -&gt; NP -&gt; Cl ;
pred : A -&gt; NP -&gt; NP -&gt; Cl ;
pred : N -&gt; NP -&gt; Cl ;
pred : CN -&gt; NP -&gt; Cl ;
pred : NP -&gt; NP -&gt; Cl ;
pred : N -&gt; NP -&gt; NP -&gt; Cl ;
pred : Adv -&gt; NP -&gt; Cl ;
pred : Prep -&gt; NP -&gt; NP -&gt; Cl
} ;
</PRE>
<P></P>
<A NAME="toc2"></A>
<H2>Function application</H2>
<PRE>
app : overload {
app : N -&gt; NP ;
app : N2 -&gt; NP -&gt; NP ;
app : N3 -&gt; NP -&gt; NP -&gt; NP ;
app : N2 -&gt; NP -&gt; NP -&gt; NP ;
app : N2 -&gt; N -&gt; CN
} ;
</PRE>
<P></P>
<A NAME="toc3"></A>
<H2>Coordination</H2>
<PRE>
coord : overload {
coord : Conj -&gt; Adv -&gt; Adv -&gt; Adv ;
coord : Conj -&gt; AP -&gt; AP -&gt; AP ;
coord : Conj -&gt; NP -&gt; NP -&gt; NP ;
coord : Conj -&gt; S -&gt; S -&gt; S ;
coord : DConj -&gt; Adv -&gt; Adv -&gt; Adv ;
coord : DConj -&gt; AP -&gt; AP -&gt; AP ;
coord : DConj -&gt; NP -&gt; NP -&gt; NP ;
coord : DConj -&gt; S -&gt; S -&gt; S ;
coord : Conj -&gt; ListAdv -&gt; Adv ;
coord : Conj -&gt; ListAP -&gt; AP ;
coord : Conj -&gt; ListNP -&gt; NP ;
coord : Conj -&gt; ListS -&gt; S ;
coord : DConj -&gt; ListAdv -&gt; Adv ;
coord : DConj -&gt; ListAP -&gt; AP ;
coord : DConj -&gt; ListNP -&gt; NP ;
coord : DConj -&gt; ListS -&gt; S
} ;
</PRE>
<P></P>
<A NAME="toc4"></A>
<H2>Modification</H2>
<PRE>
mod : overload {
mod : A -&gt; N -&gt; CN ;
mod : AP -&gt; CN -&gt; CN ;
mod : AdA -&gt; A -&gt; AP ;
mod : Quant -&gt; N -&gt; NP ;
mod : Quant -&gt; CN -&gt; NP ;
mod : Predet -&gt; N -&gt; NP ;
mod : Numeral -&gt; N -&gt; NP
} ;
</PRE>
<P></P>
<A NAME="toc5"></A>
<H2>Text append</H2>
<P>
This is not in ground API, because it would destroy parsing.
</P>
<PRE>
appendText : Text -&gt; Text -&gt; Text ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc api/Combinators.txt -->
</BODY></HTML>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Common: Structures with Common Implementations.</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:13:55 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Conjunction: Coordination</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:17:31 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Constructors: the High-Level Syntax API</H1>
<FONT SIZE="4">
<I>Last update: 2006-11-21 19:14:38 CET</I><BR>
<I>Last update: 2006-11-27 17:15:06 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -85,7 +85,7 @@ to this.
<PRE>
mkText : overload {
mkText : Text ; -- [empty text]
mkText : Phr -&gt; Text -&gt; Text; -- John walks. ...
mkText : Phr -&gt; Text -&gt; Text -- John walks. ...
} ;
mkPhr : overload {
@@ -116,8 +116,8 @@ to this.
mkS : Conj -&gt; S -&gt; S -&gt; S ; -- John walks and Mary talks
mkS : DConj -&gt; S -&gt; S -&gt; S ; -- either I leave or you come
mkS : Conj -&gt; ListS -&gt; S ; -- John walks, Mary talks, and Bob runs
mkS : DConj -&gt; ListS -&gt; S -- either I leave, you come, or he runs
mkS : DConj -&gt; ListS -&gt; S ; -- either I leave, you come, or he runs
mkS : Adv -&gt; S -&gt; S -- today, I will sleep
} ;
mkCl : overload {

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Grammar: the Main Module of the Resource Grammar</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:08:55 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Idiom: Idiomatic Expressions</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-14 22:57:19 CEST</I><BR>
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Lang: a Test Module for the Resource Grammar</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:09:20 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The Mathematics API to the Resource Grammar</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-25 21:36:45 CET</I><BR>
<I>Last update: 2006-02-28 09:26:58 CET</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Multimodal additions to the resource grammar library</H1>
<FONT SIZE="4">
<I>Last update: 2006-05-23 23:36:59 CEST</I><BR>
<I>Last update: 2006-05-24 15:08:56 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Noun: Nouns, noun phrases, and determiners</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:19:41 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Numerals</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:22:05 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Danish Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 20:53:41 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> English Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 20:54:15 CEST</I><BR>
<I>Last update: 2006-11-23 14:34:29 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -122,10 +122,18 @@ The resource category <CODE>Prep</CODE> is used.
<A NAME="toc2"></A>
<H2>Nouns</H2>
<P>
Nouns are constructed by the function <CODE>mkN</CODE>, which takes a varying
number of arguments.
</P>
<PRE>
mkN : overload {
</PRE>
<P></P>
<P>
Worst case: give all four forms.
</P>
<PRE>
mkN : (man,men,man's,men's : Str) -&gt; N ;
mkN : (man,men,man's,men's : Str) -&gt; N ;
</PRE>
<P></P>
<P>
@@ -134,14 +142,14 @@ The regular function captures the variants for nouns ending with
<I>fly - flies</I> (but <I>toy - toys</I>),
</P>
<PRE>
regN : Str -&gt; N ;
mkN : (flash : Str) -&gt; N ;
</PRE>
<P></P>
<P>
In practice the worst case is just: give singular and plural nominative.
</P>
<PRE>
mk2N : (man,men : Str) -&gt; N ;
mkN : (man,men : Str) -&gt; N ;
</PRE>
<P></P>
<P>
@@ -150,7 +158,7 @@ All nouns created by the previous functions are marked as
function:
</P>
<PRE>
genderN : Gender -&gt; N -&gt; N ;
mkN : Gender -&gt; N -&gt; N ;
</PRE>
<P></P>
<A NAME="toc3"></A>
@@ -160,7 +168,8 @@ A compound noun ia an uninflected string attached to an inflected noun,
such as <I>baby boom</I>, <I>chief executive officer</I>.
</P>
<PRE>
compoundN : Str -&gt; N -&gt; N ;
mkN : Str -&gt; N -&gt; N
} ;
</PRE>
<P></P>
<A NAME="toc4"></A>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Finnish Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 20:46:07 CEST</I><BR>
<I>Last update: 2006-11-13 16:54:32 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -168,9 +168,10 @@ Examples: <I>talo</I>, <I>kukko</I>, <I>huippu</I>, <I>koira</I>, <I>kukka</I>,
</PRE>
<P></P>
<P>
A special case are nouns with no alternations:
A special case:
the vowel harmony is inferred from the last letter,
which must be one of <I>o</I>, <I>u</I>, <I>ö</I>, <I>y</I>.
which must be one of <I>o</I>, <I>u</I>, <I>ö</I>, <I>y</I>. Regular weak-grade alternation
is performed.
</P>
<PRE>
nTalo : (talo : Str) -&gt; N ;

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> French Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 21:02:44 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> German Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 20:58:18 CEST</I><BR>
<I>Last update: 2006-11-13 16:54:32 CET</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Italian Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 21:07:00 CEST</I><BR>
<I>Last update: 2006-12-07 11:27:52 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -123,6 +123,13 @@ amalgamate with the following word (the 'genitive' <I>di</I> and the
mkPrep : Str -&gt; Prep ;
</PRE>
<P></P>
<P>
The following prepositions also have special contracted forms.
</P>
<PRE>
con_Prep, da_Prep, in_Prep, su_Prep : Prep ;
</PRE>
<P></P>
<A NAME="toc2"></A>
<H2>Nouns</H2>
<P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Norwegian Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 21:16:02 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Russian Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 17:53:54 CEST</I><BR>
<I>Last update: 2006-09-06 14:59:55 CEST</I><BR>
</FONT></CENTER>
<P></P>
@@ -327,9 +327,10 @@ The worst case need 6 forms of the present tense in indicative mood
(<I>я бегу</I>, <I>ты бежишь</I>, <I>он бежит</I>, <I>мы бежим</I>, <I>вы бежите</I>, <I>они бегут</I>),
a past form (singular, masculine: <I>я бежал</I>), an imperative form
(singular, second person: <I>беги</I>), an infinitive (<I>бежать</I>).
Inherent aspect should also be specified.
mkVerbum : Aspect -&gt; (presentSgP1,presentSgP2,presentSgP3,
</P>
<PRE>
<PRE>
mkV : Aspect -&gt; (presentSgP1,presentSgP2,presentSgP3,
presentPlP1,presentPlP2,presentPlP3,
pastSgMasculine,imperative,infinitive: Str) -&gt; V ;
@@ -352,14 +353,6 @@ regV Imperfective Second <I>люб</I> <I>лю</I> <I>любил</I> <I>люби
pastSgP1,imperative,infinitive : Str) -&gt; V ;
</PRE>
<P></P>
<P>
For writing an application grammar one usualy doesn't need
the whole inflection table, since each verb is used in
a particular context that determines some of the parameters
(Tense and Voice while Aspect is fixed from the beginning) for certain usage.
The <I>V</I> type, that have these parameters fixed.
We can extract the <I>V</I> from the lexicon.
mkV: Verbum -&gt; Voice -&gt; V ;
<P>
Two-place verbs, and the special case with direct object. Notice that
a particle can be included in a <CODE>V</CODE>.

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Spanish Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 21:33:43 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Swedish Lexical Paradigms</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 21:39:41 CEST</I><BR>
<I>Last update: 2006-10-31 16:59:43 CET</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Phrase: Phrases and Utterances</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-14 22:58:47 CEST</I><BR>
<I>Last update: 2006-12-13 09:36:48 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -38,10 +38,11 @@ and suffixing with a vocative (typically a noun phrase).
Utterances are formed from sentences, questions, and imperatives.
</P>
<PRE>
UttS : S -&gt; Utt ; -- John walks
UttQS : QS -&gt; Utt ; -- is it good
UttImpSg : Pol -&gt; Imp -&gt; Utt; -- (don't) help yourself
UttImpPl : Pol -&gt; Imp -&gt; Utt; -- (don't) help yourselves
UttS : S -&gt; Utt ; -- John walks
UttQS : QS -&gt; Utt ; -- is it good
UttImpSg : Pol -&gt; Imp -&gt; Utt; -- (don't) help yourself
UttImpPl : Pol -&gt; Imp -&gt; Utt; -- (don't) help yourselves
UttImpPol : Pol -&gt; Imp -&gt; Utt ; -- (don't) help (polite)
</PRE>
<P></P>
<P>

View File

@@ -13,7 +13,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Last update: 2005-11-17 17:36:49 CET
Last update: 2005-11-23 09:16:18 CET
</P>
<P>
Produced by

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Predefined functions for concrete syntax</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-25 22:19:20 CET</I><BR>
<I>Last update: 2006-09-01 16:37:08 CEST</I><BR>
</FONT></CENTER>
<P></P>
@@ -36,9 +36,11 @@ This type of booleans is for internal use only.
<PRE>
param PBool = PTrue | PFalse ;
oper Int : Type = variants {} ; -- the type of integers
oper Ints : Int -&gt; Type = variants {} ; -- the type of integers from 0 to n
oper Error : Type = variants {} ; -- the empty type
oper Int : Type = variants {} ; -- the type of integers
oper Ints : Int -&gt; Type = variants {} ; -- the type of integers from 0 to n
oper error : Str -&gt; Error = variants {} ; -- forms error message
oper length : Tok -&gt; Int = variants {} ; -- length of string
oper drop : Int -&gt; Tok -&gt; Tok = variants {} ; -- drop prefix of length
oper take : Int -&gt; Tok -&gt; Tok = variants {} ; -- take prefix of length

View File

@@ -13,7 +13,7 @@
<HR NOSHADE SIZE=1>
<P></P>
<P>
Last update: 2006-06-03 10:54:51 CEST
Last update: 2006-06-02 17:49:44 CEST
</P>
<P>
Produced by

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-25 23:46:32 CET</I><BR>
<I>Last update: 2006-02-28 09:26:58 CET</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The GF Prelude</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-25 22:31:06 CET</I><BR>
<I>Last update: 2006-02-27 09:41:31 CET</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Question: Questions and Interrogative Pronouns</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:22:41 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Relative clauses and pronouns</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:23:30 CEST</I><BR>
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Sentence: Sentences, Clauses, and Imperatives</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:24:56 CEST</I><BR>
<I>Last update: 2006-12-18 16:59:02 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -66,10 +66,10 @@ the style of CCG.
<B>Note</B> the set is not complete and lacks e.g. verbs with more than 2 places.
</P>
<PRE>
SlashV2 : NP -&gt; V2 -&gt; Slash ; -- (whom) he sees
SlashVVV2 : NP -&gt; VV -&gt; V2 -&gt; Slash; -- (whom) he wants to see
AdvSlash : Slash -&gt; Adv -&gt; Slash ; -- (whom) he sees tomorrow
SlashPrep : Cl -&gt; Prep -&gt; Slash ; -- (with whom) he walks
SlashV2 : NP -&gt; V2 -&gt; Slash ; -- (whom) he sees
SlashVVV2 : NP -&gt; VV -&gt; V2 -&gt; Slash; -- (whom) he wants to see
AdvSlash : Slash -&gt; Adv -&gt; Slash ; -- (whom) he sees tomorrow
SlashPrep : Cl -&gt; Prep -&gt; Slash ; -- (with whom) he walks
</PRE>
<P></P>
<A NAME="toc3"></A>
@@ -107,6 +107,13 @@ anteriority, which are defined in <A HREF="Common.html"><CODE>Common</CODE></A>.
UseCl : Tense -&gt; Ant -&gt; Pol -&gt; Cl -&gt; S ;
UseQCl : Tense -&gt; Ant -&gt; Pol -&gt; QCl -&gt; QS ;
UseRCl : Tense -&gt; Ant -&gt; Pol -&gt; RCl -&gt; RS ;
</PRE>
<P></P>
<P>
An adverb can be added to the beginning of a sentence.
</P>
<PRE>
AdvS : Adv -&gt; S -&gt; S ; -- today, I will go home
}
</PRE>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Structural: Structural Words</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-22 19:26:01 CEST</I><BR>
<I>Last update: 2006-11-27 16:41:30 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -63,6 +63,7 @@ This is an alphabetical list of structural words
everywhere_Adv : Adv ;
first_Ord : Ord ;
few_Det : Det ;
for_Prep : Prep ;
from_Prep : Prep ;
he_Pron : Pron ;
here_Adv : Adv ;

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Symbolic expressions</H1>
<FONT SIZE="4">
<I>Last update: 2006-03-17 12:02:40 CET</I><BR>
<I>Last update: 2006-11-23 12:18:08 CET</I><BR>
</FONT></CENTER>
<P></P>
@@ -15,7 +15,9 @@
<UL>
<LI><A HREF="#toc1">Noun phrases with symbols and numbers</A>
<LI><A HREF="#toc2">Sentence consisting of a formula</A>
<LI><A HREF="#toc3">Symbol lists</A>
<LI><A HREF="#toc3">Symbols as numerals</A>
<LI><A HREF="#toc4">Symbol lists</A>
<LI><A HREF="#toc5">Obsolescent</A>
</UL>
<P></P>
@@ -42,7 +44,7 @@ grammar <A HREF="Lang.html">Lang</A>.
SymbPN : Symb -&gt; PN ; -- x
IntPN : Int -&gt; PN ; -- 27
FloatPN : Float -&gt; PN ; -- 3.14159
CNIntNP : CN -&gt; Int -&gt; NP ; -- level 53
CNNumNP : CN -&gt; Num -&gt; NP ; -- level five ; level 5
CNSymbNP : Det -&gt; CN -&gt; [Symb] -&gt; NP ; -- (the) (2) numbers x and y
</PRE>
<P></P>
@@ -53,6 +55,13 @@ grammar <A HREF="Lang.html">Lang</A>.
</PRE>
<P></P>
<A NAME="toc3"></A>
<H2>Symbols as numerals</H2>
<PRE>
SymbNum : Symb -&gt; Num ; -- n
SymbOrd : Symb -&gt; Ord ; -- n'th
</PRE>
<P></P>
<A NAME="toc4"></A>
<H2>Symbol lists</H2>
<P>
A symbol list has at least two elements. The last two are separated
@@ -66,6 +75,12 @@ This produces <I>x, y and z</I>, in English.
fun
MkSymb : String -&gt; Symb ;
</PRE>
<P></P>
<A NAME="toc5"></A>
<H2>Obsolescent</H2>
<PRE>
CNIntNP : CN -&gt; Int -&gt; NP ; -- level 53 (covered by CNNumNP)
}
</PRE>

View File

@@ -0,0 +1,43 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> Symbolic: Noun Phrases with mathematical symbols</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Symbolic: Noun Phrases with mathematical symbols</H1>
<FONT SIZE="4">
<I>Last update: 2006-12-22 14:08:31 CET</I><BR>
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<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>
<PRE>
incomplete resource Symbolic = open Symbol, Grammar in {
oper
symb : overload {
symb : Str -&gt; NP ; -- x
symb : Int -&gt; NP ; -- 23
symb : Float -&gt; NP ; -- 0.99
symb : N -&gt; Int -&gt; NP ; -- level 4
symb : CN -&gt; Num -&gt; NP ; -- level four
symb : Det -&gt; N -&gt; Str -&gt; Str -&gt; NP ; -- the levels i and j
symb : Det -&gt; CN -&gt; [Symb] -&gt; NP -- the basic levels i, j, and k
} ;
mkSymb : Str -&gt; Symb ;
</PRE>
<P></P>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc api/Symbolic.txt -->
</BODY></HTML>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Text: Texts</H1>
<FONT SIZE="4">
<I>Last update: 2006-06-14 23:03:43 CEST</I><BR>
<I>Last update: 2006-06-15 09:19:39 CEST</I><BR>
</FONT></CENTER>
<P></P>

View File

@@ -6,7 +6,7 @@
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> The construction of verb phrases</H1>
<FONT SIZE="4">
<I>Last update: 2006-02-26 18:02:58 CET</I><BR>
<I>Last update: 2006-02-27 09:41:31 CET</I><BR>
</FONT></CENTER>
<P></P>