forked from GitHub/gf-core
resource doc update
This commit is contained in:
@@ -99,9 +99,13 @@ gfdoc:
|
||||
gfdoc -txthtml mathematical/Predication.gf
|
||||
gfdoc -txthtml multimodal/Multi.gf
|
||||
gfdoc -txthtml ../prelude/*.gf
|
||||
gfdoc -txthtml api/Combinators.gf
|
||||
gfdoc -txthtml api/Constructors.gf
|
||||
gfdoc -txthtml api/Symbolic.gf
|
||||
mv abstract/*.html doc/gfdoc
|
||||
mv mathematical/*.html doc/gfdoc
|
||||
mv multimodal/*.html doc/gfdoc
|
||||
mv api/*.html doc/gfdoc
|
||||
mv */Paradigms*.html doc/gfdoc
|
||||
cp */Irreg???.gf doc/gfdoc
|
||||
mv ../prelude/*.html doc/gfdoc
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
126
lib/resource-1.0/doc/gfdoc/Combinators.html
Normal file
126
lib/resource-1.0/doc/gfdoc/Combinators.html
Normal 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 -> NP -> Cl ;
|
||||
pred : V2 -> NP -> NP -> Cl ;
|
||||
pred : V3 -> NP -> NP -> NP -> Cl ;
|
||||
pred : V -> NP -> NP -> Cl ;
|
||||
pred : A -> NP -> Cl ;
|
||||
pred : A2 -> NP -> NP -> Cl ;
|
||||
pred : A -> NP -> NP -> Cl ;
|
||||
pred : N -> NP -> Cl ;
|
||||
pred : CN -> NP -> Cl ;
|
||||
pred : NP -> NP -> Cl ;
|
||||
pred : N -> NP -> NP -> Cl ;
|
||||
pred : Adv -> NP -> Cl ;
|
||||
pred : Prep -> NP -> NP -> Cl
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc2"></A>
|
||||
<H2>Function application</H2>
|
||||
<PRE>
|
||||
app : overload {
|
||||
app : N -> NP ;
|
||||
app : N2 -> NP -> NP ;
|
||||
app : N3 -> NP -> NP -> NP ;
|
||||
app : N2 -> NP -> NP -> NP ;
|
||||
app : N2 -> N -> CN
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></A>
|
||||
<H2>Coordination</H2>
|
||||
<PRE>
|
||||
coord : overload {
|
||||
coord : Conj -> Adv -> Adv -> Adv ;
|
||||
coord : Conj -> AP -> AP -> AP ;
|
||||
coord : Conj -> NP -> NP -> NP ;
|
||||
coord : Conj -> S -> S -> S ;
|
||||
coord : DConj -> Adv -> Adv -> Adv ;
|
||||
coord : DConj -> AP -> AP -> AP ;
|
||||
coord : DConj -> NP -> NP -> NP ;
|
||||
coord : DConj -> S -> S -> S ;
|
||||
coord : Conj -> ListAdv -> Adv ;
|
||||
coord : Conj -> ListAP -> AP ;
|
||||
coord : Conj -> ListNP -> NP ;
|
||||
coord : Conj -> ListS -> S ;
|
||||
coord : DConj -> ListAdv -> Adv ;
|
||||
coord : DConj -> ListAP -> AP ;
|
||||
coord : DConj -> ListNP -> NP ;
|
||||
coord : DConj -> ListS -> S
|
||||
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
<H2>Modification</H2>
|
||||
<PRE>
|
||||
mod : overload {
|
||||
mod : A -> N -> CN ;
|
||||
mod : AP -> CN -> CN ;
|
||||
mod : AdA -> A -> AP ;
|
||||
mod : Quant -> N -> NP ;
|
||||
mod : Quant -> CN -> NP ;
|
||||
mod : Predet -> N -> NP ;
|
||||
mod : Numeral -> N -> 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 -> Text -> Text ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc api/Combinators.txt -->
|
||||
</BODY></HTML>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -> Text -> Text; -- John walks. ...
|
||||
mkText : Phr -> Text -> Text -- John walks. ...
|
||||
} ;
|
||||
|
||||
mkPhr : overload {
|
||||
@@ -116,8 +116,8 @@ to this.
|
||||
mkS : Conj -> S -> S -> S ; -- John walks and Mary talks
|
||||
mkS : DConj -> S -> S -> S ; -- either I leave or you come
|
||||
mkS : Conj -> ListS -> S ; -- John walks, Mary talks, and Bob runs
|
||||
mkS : DConj -> ListS -> S -- either I leave, you come, or he runs
|
||||
|
||||
mkS : DConj -> ListS -> S ; -- either I leave, you come, or he runs
|
||||
mkS : Adv -> S -> S -- today, I will sleep
|
||||
} ;
|
||||
|
||||
mkCl : overload {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) -> N ;
|
||||
mkN : (man,men,man's,men's : Str) -> 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 -> N ;
|
||||
mkN : (flash : Str) -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
In practice the worst case is just: give singular and plural nominative.
|
||||
</P>
|
||||
<PRE>
|
||||
mk2N : (man,men : Str) -> N ;
|
||||
mkN : (man,men : Str) -> N ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
@@ -150,7 +158,7 @@ All nouns created by the previous functions are marked as
|
||||
function:
|
||||
</P>
|
||||
<PRE>
|
||||
genderN : Gender -> N -> N ;
|
||||
mkN : Gender -> N -> 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 -> N -> N ;
|
||||
mkN : Str -> N -> N
|
||||
} ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
|
||||
@@ -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) -> N ;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -> 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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -> (presentSgP1,presentSgP2,presentSgP3,
|
||||
</P>
|
||||
<PRE>
|
||||
<PRE>
|
||||
mkV : Aspect -> (presentSgP1,presentSgP2,presentSgP3,
|
||||
presentPlP1,presentPlP2,presentPlP3,
|
||||
pastSgMasculine,imperative,infinitive: Str) -> V ;
|
||||
@@ -352,14 +353,6 @@ regV Imperfective Second <I>люб</I> <I>лю</I> <I>любил</I> <I>люби
|
||||
pastSgP1,imperative,infinitive : Str) -> 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 -> Voice -> V ;
|
||||
<P>
|
||||
Two-place verbs, and the special case with direct object. Notice that
|
||||
a particle can be included in a <CODE>V</CODE>.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -> Utt ; -- John walks
|
||||
UttQS : QS -> Utt ; -- is it good
|
||||
UttImpSg : Pol -> Imp -> Utt; -- (don't) help yourself
|
||||
UttImpPl : Pol -> Imp -> Utt; -- (don't) help yourselves
|
||||
UttS : S -> Utt ; -- John walks
|
||||
UttQS : QS -> Utt ; -- is it good
|
||||
UttImpSg : Pol -> Imp -> Utt; -- (don't) help yourself
|
||||
UttImpPl : Pol -> Imp -> Utt; -- (don't) help yourselves
|
||||
UttImpPol : Pol -> Imp -> Utt ; -- (don't) help (polite)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 -> 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 -> Type = variants {} ; -- the type of integers from 0 to n
|
||||
|
||||
oper error : Str -> Error = variants {} ; -- forms error message
|
||||
oper length : Tok -> Int = variants {} ; -- length of string
|
||||
oper drop : Int -> Tok -> Tok = variants {} ; -- drop prefix of length
|
||||
oper take : Int -> Tok -> Tok = variants {} ; -- take prefix of length
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -> V2 -> Slash ; -- (whom) he sees
|
||||
SlashVVV2 : NP -> VV -> V2 -> Slash; -- (whom) he wants to see
|
||||
AdvSlash : Slash -> Adv -> Slash ; -- (whom) he sees tomorrow
|
||||
SlashPrep : Cl -> Prep -> Slash ; -- (with whom) he walks
|
||||
SlashV2 : NP -> V2 -> Slash ; -- (whom) he sees
|
||||
SlashVVV2 : NP -> VV -> V2 -> Slash; -- (whom) he wants to see
|
||||
AdvSlash : Slash -> Adv -> Slash ; -- (whom) he sees tomorrow
|
||||
SlashPrep : Cl -> Prep -> 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 -> Ant -> Pol -> Cl -> S ;
|
||||
UseQCl : Tense -> Ant -> Pol -> QCl -> QS ;
|
||||
UseRCl : Tense -> Ant -> Pol -> RCl -> RS ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
An adverb can be added to the beginning of a sentence.
|
||||
</P>
|
||||
<PRE>
|
||||
AdvS : Adv -> S -> S ; -- today, I will go home
|
||||
|
||||
}
|
||||
</PRE>
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
@@ -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 -> PN ; -- x
|
||||
IntPN : Int -> PN ; -- 27
|
||||
FloatPN : Float -> PN ; -- 3.14159
|
||||
CNIntNP : CN -> Int -> NP ; -- level 53
|
||||
CNNumNP : CN -> Num -> NP ; -- level five ; level 5
|
||||
CNSymbNP : Det -> CN -> [Symb] -> 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 -> Num ; -- n
|
||||
SymbOrd : Symb -> 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 -> Symb ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc5"></A>
|
||||
<H2>Obsolescent</H2>
|
||||
<PRE>
|
||||
CNIntNP : CN -> Int -> NP ; -- level 53 (covered by CNNumNP)
|
||||
|
||||
}
|
||||
</PRE>
|
||||
|
||||
43
lib/resource-1.0/doc/gfdoc/Symbolic.html
Normal file
43
lib/resource-1.0/doc/gfdoc/Symbolic.html
Normal 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 -> NP ; -- x
|
||||
symb : Int -> NP ; -- 23
|
||||
symb : Float -> NP ; -- 0.99
|
||||
symb : N -> Int -> NP ; -- level 4
|
||||
symb : CN -> Num -> NP ; -- level four
|
||||
symb : Det -> N -> Str -> Str -> NP ; -- the levels i and j
|
||||
symb : Det -> CN -> [Symb] -> NP -- the basic levels i, j, and k
|
||||
} ;
|
||||
|
||||
mkSymb : Str -> Symb ;
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc api/Symbolic.txt -->
|
||||
</BODY></HTML>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -2,47 +2,14 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||
<TITLE>GF Resource Grammar Library v. 1.0</TITLE>
|
||||
<TITLE>GF Resource Grammar Library v. 1.1</TITLE>
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1>GF Resource Grammar Library v. 1.0</H1>
|
||||
<P ALIGN="center"><CENTER><H1>GF Resource Grammar Library v. 1.1</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: Aarne Ranta <aarne (at) cs.chalmers.se></I><BR>
|
||||
Last update: Mon Jun 26 13:35:19 2006
|
||||
Last update: Fri Dec 22 14:22:49 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<UL>
|
||||
<LI><A HREF="#toc1">Authors</A>
|
||||
<LI><A HREF="#toc2">License</A>
|
||||
<LI><A HREF="#toc3">Scope</A>
|
||||
<LI><A HREF="#toc4">Quick start</A>
|
||||
<LI><A HREF="#toc5">Encoding</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc6">The language independent ground API</A>
|
||||
<LI><A HREF="#toc7">The language-dependent APIs</A>
|
||||
<LI><A HREF="#toc8">Special-purpose APIs</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc9">Using the library</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc10">The compiled version</A>
|
||||
<LI><A HREF="#toc11">Linking applications to libraries</A>
|
||||
<LI><A HREF="#toc12">Using the libraries as top-level grammars</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc13">Example applications</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc14">Bronzeage</A>
|
||||
<LI><A HREF="#toc15">Dialogue</A>
|
||||
<LI><A HREF="#toc16">Animals</A>
|
||||
</UL>
|
||||
<LI><A HREF="#toc17">Known bugs and missing components</A>
|
||||
<LI><A HREF="#toc18">More reading</A>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<P>
|
||||
The GF Resource Grammar Library defines the basic grammar of
|
||||
ten languages:
|
||||
@@ -52,13 +19,28 @@ A still incomplete implementation for Arabic is also
|
||||
included.
|
||||
</P>
|
||||
<P>
|
||||
<B>New</B>: <A HREF="../../../doc/resource.pdf">User manual of the resource library</A>.
|
||||
<B>New in Version 1.1</B>
|
||||
</P>
|
||||
<UL>
|
||||
<LI>Simpler APIs using overloading:
|
||||
<UL>
|
||||
<LI><A HREF="gfdoc/Constructors.html">Constructors</A>: almost all trees in a category <CODE>C</CODE>
|
||||
can be built by the function <CODE>mkC</CODE>.
|
||||
<LI><A HREF="gfdoc/Combinators.html">Combinators</A>: cross-cut grammatical functions:
|
||||
predication, application, modification, coordination.
|
||||
<LI><A HREF="gfdoc/Symbolig.html">Symbolic</A>: noun phrases with mathematical symbols.
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
<B>Notice</B>. This document concerns the API v. 1.0 released
|
||||
on June 22, 2006.
|
||||
An example of use is <A HREF="../../../examples/logic"><CODE>logic</CODE></A>.
|
||||
The API of version 1.0 remains valid and can be used in combination with this.
|
||||
</P>
|
||||
<A NAME="toc1"></A>
|
||||
<UL>
|
||||
<LI>Some new functions.
|
||||
<LI>Bug fixes.
|
||||
</UL>
|
||||
|
||||
<H2>Authors</H2>
|
||||
<P>
|
||||
Inger Andersson and Therese Soderberg (Spanish morphology),
|
||||
@@ -93,14 +75,12 @@ Saara Myllyntausta,
|
||||
Wanjiku Ng'ang'a,
|
||||
Jordi Saludes.
|
||||
</P>
|
||||
<A NAME="toc2"></A>
|
||||
<H2>License</H2>
|
||||
<P>
|
||||
The GF Resource Grammar Library is open-source software licensed under
|
||||
GNU General Public License. See the file <A HREF="../LICENSE">LICENSE</A> for more
|
||||
details.
|
||||
</P>
|
||||
<A NAME="toc3"></A>
|
||||
<H2>Scope</H2>
|
||||
<P>
|
||||
Coverage, for each language:
|
||||
@@ -131,7 +111,6 @@ Presentation:
|
||||
<LI>example collections
|
||||
</UL>
|
||||
|
||||
<A NAME="toc4"></A>
|
||||
<H2>Quick start</H2>
|
||||
<P>
|
||||
Go to the main directory, compile the grammars, and run a test.
|
||||
@@ -166,7 +145,6 @@ For more examples, see the <A HREF="clt2006.html">Overview slides</A>.
|
||||
The <CODE>make</CODE> procedure does not make Arabic, but it can
|
||||
be compiled in a similar way as the other languages.
|
||||
</P>
|
||||
<A NAME="toc5"></A>
|
||||
<H2>Encoding</H2>
|
||||
<P>
|
||||
Finnish, German, Romance, and Scandinavian languages are in isolatin-1.
|
||||
@@ -177,7 +155,6 @@ Arabic and Russian are in UTF-8.
|
||||
<P>
|
||||
English is in pure ASCII.
|
||||
</P>
|
||||
<A NAME="toc6"></A>
|
||||
<H3>The language independent ground API</H3>
|
||||
<P>
|
||||
This API is accessible by both <CODE>present</CODE> and <CODE>alltenses</CODE>.
|
||||
@@ -211,7 +188,6 @@ The documentation of the individual modules:
|
||||
<LI><A HREF="gfdoc/Lang.html">Lang</A>: the main module comprising both <CODE>Grammar</CODE> and <CODE>Lexicon</CODE>
|
||||
</UL>
|
||||
|
||||
<A NAME="toc7"></A>
|
||||
<H3>The language-dependent APIs</H3>
|
||||
<UL>
|
||||
<LI><A HREF="gfdoc/ParadigmsDan.html">ParadigmsDan</A>: Danish lexical paradigms
|
||||
@@ -269,7 +245,6 @@ This is the structure of each language-dependent top module.
|
||||
<LI><A HREF="../swedish/SwedishAbs.gf">Swedish</A>: Swedish with all extras
|
||||
</UL>
|
||||
|
||||
<A NAME="toc8"></A>
|
||||
<H3>Special-purpose APIs</H3>
|
||||
<H4>Present</H4>
|
||||
<P>
|
||||
@@ -297,9 +272,7 @@ gesture. Some functions for constructing demonstratives are provided.
|
||||
<LI><A HREF="gfdoc/Symbol.html">Symbol</A>: symbols and numbers in text
|
||||
</UL>
|
||||
|
||||
<A NAME="toc9"></A>
|
||||
<H2>Using the library</H2>
|
||||
<A NAME="toc10"></A>
|
||||
<H3>The compiled version</H3>
|
||||
<P>
|
||||
The simplest way to get the library is to install the precompiled version
|
||||
@@ -321,7 +294,6 @@ library. Use one (or several) of the following packages instead:
|
||||
multimodal dialogue applications
|
||||
</UL>
|
||||
|
||||
<A NAME="toc11"></A>
|
||||
<H3>Linking applications to libraries</H3>
|
||||
<P>
|
||||
Typically, open one of
|
||||
@@ -360,7 +332,6 @@ The <CODE>mathematical</CODE> API shares modules with
|
||||
<CODE>present</CODE>. It is therefore not a good idea to use it in combination with
|
||||
<CODE>alltenses</CODE>.
|
||||
</P>
|
||||
<A NAME="toc12"></A>
|
||||
<H3>Using the libraries as top-level grammars</H3>
|
||||
<P>
|
||||
If you have done <CODE>make</CODE> in <CODE>lib/resource-1.0</CODE>, you will have
|
||||
@@ -399,14 +370,12 @@ It is also possible to parse in Scandinavian languages
|
||||
(Danish, Norwegian, Swedish) and, with enough memory (<CODE>gf +RTS -K512M</CODE>),
|
||||
German.
|
||||
</P>
|
||||
<A NAME="toc13"></A>
|
||||
<H2>Example applications</H2>
|
||||
<P>
|
||||
These applications are meant to serve as starting points for
|
||||
new applications, showing how the libraries can be used in
|
||||
typical situations.
|
||||
</P>
|
||||
<A NAME="toc14"></A>
|
||||
<H3>Bronzeage</H3>
|
||||
<P>
|
||||
The <A HREF="../../../examples/bronzeage">examples/bronzeage</A>
|
||||
@@ -414,7 +383,6 @@ grammar set implements a language fragment
|
||||
based on the Swadesh list of 200 words. It is useful for
|
||||
things like language training.
|
||||
</P>
|
||||
<A NAME="toc15"></A>
|
||||
<H3>Dialogue</H3>
|
||||
<P>
|
||||
The <A HREF="../../../examples/dialogue">examples/dialogue</A>
|
||||
@@ -423,7 +391,6 @@ multimodal dialogue system.
|
||||
Its purpose is to serve as a prototype for applications in the
|
||||
TALK project.
|
||||
</P>
|
||||
<A NAME="toc16"></A>
|
||||
<H3>Animals</H3>
|
||||
<P>
|
||||
The <A HREF="../../../examples/animal">examples/animal</A>
|
||||
@@ -431,7 +398,6 @@ grammar set implements some queries about animals.
|
||||
Its purpose is to serve as a prototype for example-based
|
||||
grammar writing.
|
||||
</P>
|
||||
<A NAME="toc17"></A>
|
||||
<H2>Known bugs and missing components</H2>
|
||||
<P>
|
||||
Danish
|
||||
@@ -494,11 +460,10 @@ Spanish
|
||||
<P>
|
||||
Swedish
|
||||
</P>
|
||||
<A NAME="toc18"></A>
|
||||
<H2>More reading</H2>
|
||||
<P>
|
||||
<A HREF="../../../doc/resource.pdf">GF Resource Grammar Library</A> (pdf).
|
||||
Printable user manual with API documentation.
|
||||
Printable user manual with API documentation (version 1.0).
|
||||
</P>
|
||||
<P>
|
||||
<A HREF="gslt-sem-2006.html">Grammars as Software Libraries</A>. Slides
|
||||
@@ -528,5 +493,5 @@ examples are from <CODE>multimodal/old</CODE>, which is a reduced-size API.
|
||||
</P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -\-toc index.txt -->
|
||||
<!-- cmdline: txt2tags index.txt -->
|
||||
</BODY></HTML>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
GF Resource Grammar Library v. 1.0
|
||||
GF Resource Grammar Library v. 1.1
|
||||
Author: Aarne Ranta <aarne (at) cs.chalmers.se>
|
||||
Last update: %%date(%c)
|
||||
|
||||
@@ -16,10 +16,23 @@ Italian, Norwegian, Russian, Spanish, Swedish.
|
||||
A still incomplete implementation for Arabic is also
|
||||
included.
|
||||
|
||||
**New**: [User manual of the resource library ../../../doc/resource.pdf].
|
||||
**New in Version 1.1**
|
||||
- Simpler APIs using overloading:
|
||||
- [Constructors gfdoc/Constructors.html]: almost all trees in a category ``C``
|
||||
can be built by the function ``mkC``.
|
||||
- [Combinators gfdoc/Combinators.html]: cross-cut grammatical functions:
|
||||
predication, application, modification, coordination.
|
||||
- [Symbolic gfdoc/Symbolig.html]: noun phrases with mathematical symbols.
|
||||
|
||||
|
||||
An example of use is [``logic`` ../../../examples/logic].
|
||||
The API of version 1.0 remains valid and can be used in combination with this.
|
||||
- Some new functions.
|
||||
- Bug fixes.
|
||||
|
||||
|
||||
|
||||
|
||||
**Notice**. This document concerns the API v. 1.0 released
|
||||
on June 22, 2006.
|
||||
|
||||
|
||||
==Authors==
|
||||
@@ -400,7 +413,7 @@ Swedish
|
||||
==More reading==
|
||||
|
||||
[GF Resource Grammar Library ../../../doc/resource.pdf] (pdf).
|
||||
Printable user manual with API documentation.
|
||||
Printable user manual with API documentation (version 1.0).
|
||||
|
||||
[Grammars as Software Libraries gslt-sem-2006.html]. Slides
|
||||
with background and motivation for the resource grammar library.
|
||||
|
||||
Reference in New Issue
Block a user