forked from GitHub/gf-core
76 lines
2.0 KiB
HTML
76 lines
2.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
|
<FONT SIZE="4">
|
|
</FONT></CENTER>
|
|
|
|
<P></P>
|
|
<HR NOSHADE SIZE=1>
|
|
<P></P>
|
|
<P></P>
|
|
<HR NOSHADE SIZE=1>
|
|
<P></P>
|
|
<P>
|
|
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>
|
|
<PRE>
|
|
abstract SeqConjunction = Cat ** {
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
This module is for backward compatibility with API 0.9.
|
|
To be used instead of Conjunction.
|
|
</P>
|
|
<PRE>
|
|
fun
|
|
|
|
ConjS : Conj -> SeqS -> S ; -- "John walks and Mary runs"
|
|
ConjAP : Conj -> SeqAP -> AP ; -- "even and prime"
|
|
ConjNP : Conj -> SeqNP -> NP ; -- "John or Mary"
|
|
ConjAdv : Conj -> SeqAdv -> Adv ; -- "quickly or slowly"
|
|
|
|
DConjS : DConj -> SeqS -> S ; -- "either John walks or Mary runs"
|
|
DConjAP : DConj -> SeqAP -> AP ; -- "both even and prime"
|
|
DConjNP : DConj -> SeqNP -> NP ; -- "either John or Mary"
|
|
DConjAdv : DConj -> SeqAdv -> Adv ; -- "both badly and slowly"
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
these are rather uninteresting
|
|
</P>
|
|
<PRE>
|
|
TwoS : S -> S -> SeqS ;
|
|
AddS : SeqS -> S -> SeqS ;
|
|
TwoAdv : Adv -> Adv -> SeqAdv ;
|
|
AddAdv : SeqAdv -> Adv -> SeqAdv ;
|
|
TwoNP : NP -> NP -> SeqNP ;
|
|
AddNP : SeqNP -> NP -> SeqNP ;
|
|
TwoAP : AP -> AP -> SeqAP ;
|
|
AddAP : SeqAP -> AP -> SeqAP ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
we use right-associative lists instead of GF's built-in lists
|
|
</P>
|
|
<PRE>
|
|
cat
|
|
SeqS ;
|
|
SeqAdv ;
|
|
SeqNP ;
|
|
SeqAP ;
|
|
|
|
}
|
|
</PRE>
|
|
<P></P>
|
|
|
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
|
<!-- cmdline: txt2tags -thtml -\-toc abstract/SeqConjunction.txt -->
|
|
</BODY></HTML>
|