forked from GitHub/gf-core
92 lines
2.5 KiB
HTML
92 lines
2.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
|
<TITLE> Conjunction: Coordination</TITLE>
|
|
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
|
<P ALIGN="center"><CENTER><H1> Conjunction: Coordination</H1>
|
|
<FONT SIZE="4">
|
|
<I>Last update: 2006-06-26 13:24:17 CEST</I><BR>
|
|
</FONT></CENTER>
|
|
|
|
<P></P>
|
|
<HR NOSHADE SIZE=1>
|
|
<P></P>
|
|
<UL>
|
|
<LI><A HREF="#toc1">Rules</A>
|
|
<LI><A HREF="#toc2">Categories</A>
|
|
<LI><A HREF="#toc3">List constructors</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>
|
|
Coordination is defined for many different categories; here is
|
|
a sample. The rules apply to <B>lists</B> of two or more elements,
|
|
and define two general patterns:
|
|
</P>
|
|
<UL>
|
|
<LI>ordinary conjunction: X,...X and X
|
|
<LI>distributed conjunction: both X,...,X and X
|
|
</UL>
|
|
|
|
<P>
|
|
<CODE>VP</CODE> conjunctions are not covered here, because their applicability
|
|
depends on language. Some special cases are defined in
|
|
<A HREF="../abstract/Extra.gf"><CODE>Extra</CODE></A>.
|
|
</P>
|
|
<PRE>
|
|
abstract Conjunction = Cat ** {
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc1"></A>
|
|
<H2>Rules</H2>
|
|
<PRE>
|
|
fun
|
|
ConjS : Conj -> [S] -> S ; -- "John walks and Mary runs"
|
|
ConjAP : Conj -> [AP] -> AP ; -- "even and prime"
|
|
ConjNP : Conj -> [NP] -> NP ; -- "John or Mary"
|
|
ConjAdv : Conj -> [Adv] -> Adv ; -- "quickly or slowly"
|
|
|
|
DConjS : DConj -> [S] -> S ; -- "either John walks or Mary runs"
|
|
DConjAP : DConj -> [AP] -> AP ; -- "both even and prime"
|
|
DConjNP : DConj -> [NP] -> NP ; -- "either John or Mary"
|
|
DConjAdv : DConj -> [Adv] -> Adv; -- "both badly and slowly"
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc2"></A>
|
|
<H2>Categories</H2>
|
|
<P>
|
|
These categories are only used in this module.
|
|
</P>
|
|
<PRE>
|
|
cat
|
|
[S]{2} ;
|
|
[Adv]{2} ;
|
|
[NP]{2} ;
|
|
[AP]{2} ;
|
|
</PRE>
|
|
<P></P>
|
|
<A NAME="toc3"></A>
|
|
<H2>List constructors</H2>
|
|
<P>
|
|
The list constructors are derived from the list notation and therefore
|
|
not given explicitly. But here are their type signatures:
|
|
</P>
|
|
<PRE>
|
|
-- BaseC : C -> C -> [C] ; -- for C = S, AP, NP, Adv
|
|
-- ConsC : C -> [C] -> [C] ;
|
|
}
|
|
</PRE>
|
|
<P></P>
|
|
|
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
|
<!-- cmdline: txt2tags -thtml -\-toc abstract/Conjunction.txt -->
|
|
</BODY></HTML>
|