mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-25 04:22:50 -06:00
documenting the library
This commit is contained in:
@@ -6,23 +6,20 @@
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> A Small Predication Library</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Tue Feb 21 16:23:56 2006
|
||||
<I>Last update: Sat Feb 25 22:36:00 2006</I><BR>
|
||||
% NOTE: this is a txt2tags file.
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<UL>
|
||||
<LI><A HREF="#toc1">A Small Predication Library</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc2">The category of atomic sentences</A>
|
||||
<LI><A HREF="#toc3">Predication patterns.</A>
|
||||
<LI><A HREF="#toc4">Individual-valued function applications</A>
|
||||
<LI><A HREF="#toc5">Families of types</A>
|
||||
<LI><A HREF="#toc6">Type constructor</A>
|
||||
<LI><A HREF="#toc1">The category of atomic sentences</A>
|
||||
<LI><A HREF="#toc2">Predication patterns.</A>
|
||||
<LI><A HREF="#toc3">Individual-valued function applications</A>
|
||||
<LI><A HREF="#toc4">Families of types</A>
|
||||
<LI><A HREF="#toc5">Type constructor</A>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
@@ -32,8 +29,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>A Small Predication Library</H1>
|
||||
<P>
|
||||
(c) Aarne Ranta 2003-2006 under Gnu GPL.
|
||||
</P>
|
||||
@@ -45,7 +40,7 @@ API of resource grammars.
|
||||
abstract Predication = Cat ** {
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc2"></A>
|
||||
<A NAME="toc1"></A>
|
||||
<H2>The category of atomic sentences</H2>
|
||||
<P>
|
||||
We want to use sentences in positive and negative forms but do not care about
|
||||
@@ -57,7 +52,7 @@ tenses.
|
||||
NegCl : Cl -> S ; -- negative sentence: "x doesn't intersect y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></A>
|
||||
<A NAME="toc2"></A>
|
||||
<H2>Predication patterns.</H2>
|
||||
<PRE>
|
||||
predV : V -> NP -> Cl ; -- one-place verb: "x converges"
|
||||
@@ -75,7 +70,7 @@ tenses.
|
||||
predPrep : Prep -> NP -> NP -> Cl ; -- preposition: "x is outside y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc4"></A>
|
||||
<A NAME="toc3"></A>
|
||||
<H2>Individual-valued function applications</H2>
|
||||
<PRE>
|
||||
appN2 : N2 -> NP -> NP ; -- one-place function: "the successor of x"
|
||||
@@ -83,7 +78,7 @@ tenses.
|
||||
appColl : N2 -> NP -> NP -> NP ; -- collective function: "the sum of x and y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc5"></A>
|
||||
<A NAME="toc4"></A>
|
||||
<H2>Families of types</H2>
|
||||
<P>
|
||||
These are expressed by relational nouns applied to arguments.
|
||||
@@ -94,7 +89,7 @@ These are expressed by relational nouns applied to arguments.
|
||||
famColl : N2 -> NP -> NP -> CN ; -- collective family: "path between x and y"
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc6"></A>
|
||||
<A NAME="toc5"></A>
|
||||
<H2>Type constructor</H2>
|
||||
<P>
|
||||
This is similar to a family except that the argument is a type.
|
||||
@@ -106,6 +101,6 @@ This is similar to a family except that the argument is a type.
|
||||
</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 mathematical/Predication.txt -->
|
||||
</BODY></HTML>
|
||||
|
||||
Reference in New Issue
Block a user