Files
gf-core/lib/resource-1.0/doc/gfdoc/Sentence.html
2006-02-25 22:58:55 +00:00

139 lines
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
<TITLE> Sentences, clauses, imperatives, and sentential complements</TITLE>
</HEAD><BODY BGCOLOR="white" TEXT="black">
<P ALIGN="center"><CENTER><H1> Sentences, clauses, imperatives, and sentential complements</H1>
<FONT SIZE="4">
<I>Last update: Sat Feb 25 22:35:56 2006</I><BR>
% NOTE: this is a txt2tags file.
</FONT></CENTER>
<P></P>
<HR NOSHADE SIZE=1>
<P></P>
<UL>
<LI><A HREF="#toc1">Clauses</A>
<LI><A HREF="#toc2">Clauses missing object noun phrases</A>
<LI><A HREF="#toc3">Imperatives</A>
<LI><A HREF="#toc4">Embedded sentences</A>
<LI><A HREF="#toc5">Sentences</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>
<PRE>
abstract Sentence = Cat ** {
</PRE>
<P></P>
<A NAME="toc1"></A>
<H2>Clauses</H2>
<P>
The <CODE>NP VP</CODE> predication rule form a clause whose linearization
gives a table of all tense variants, positive and negative.
Clauses are converted to <CODE>S</CODE> (with fixed tense) in <A HREF="Tensed.html">Tensed</A>.
</P>
<PRE>
fun
PredVP : NP -&gt; VP -&gt; Cl ; -- John walks
</PRE>
<P></P>
<P>
Using an embedded sentence as a subject is treated separately.
This can be overgenerating. E.g. <I>whether you go</I> as subject
is only meaningful for some verb phrases.
</P>
<PRE>
PredSCVP : SC -&gt; VP -&gt; Cl ; -- that you go makes me happy
</PRE>
<P></P>
<A NAME="toc2"></A>
<H2>Clauses missing object noun phrases</H2>
<P>
This category is a variant of the 'slash category' <CODE>S/NP</CODE> of
GPSG and categorial grammars, which in turn replaces
movement transformations in the formation of questions
and relative clauses. Except <CODE>SlashV2</CODE>, the construction
rules can be seen as special cases of function composition, in
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
</PRE>
<P></P>
<A NAME="toc3"></A>
<H2>Imperatives</H2>
<P>
An imperative is straightforwardly formed from a verb phrase.
It has variation over positive and negative, singular and plural.
To fix these parameters, see <A HREF="Phrase.html">Phrase</A>.
</P>
<PRE>
ImpVP : VP -&gt; Imp ; -- go
</PRE>
<P></P>
<A NAME="toc4"></A>
<H2>Embedded sentences</H2>
<P>
Sentences, questions, and infinitival phrases can be used as
subjects and (adverbial) complements.
</P>
<PRE>
EmbedS : S -&gt; SC ; -- that you go
EmbedQS : QS -&gt; SC ; -- whether you go
EmbedVP : VP -&gt; SC ; -- to go
</PRE>
<P></P>
<A NAME="toc5"></A>
<H2>Sentences</H2>
<P>
These are the 2 x 4 x 4 = 16 forms generated by different
combinations of tense, polarity, and
anteriority, which are defined in <A HREF="Tense.html">Tense</A>.
</P>
<PRE>
fun
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>
Examples for English <CODE>S</CODE>/<CODE>Cl</CODE>:
</P>
<P>
Pres Simul Pos ODir : he sleeps
Pres Simul Neg ODir : he doesn't sleep
Pres Anter Pos ODir : he has slept
Pres Anter Neg ODir : he hasn't slept
Past Simul Pos ODir : he slept
Past Simul Neg ODir : he didn't sleep
Past Anter Pos ODir : he had slept
Past Anter Neg ODir : he hadn't slept
Fut Simul Pos ODir : he will sleep
Fut Simul Neg ODir : he won't sleep
Fut Anter Pos ODir : he will have slept
Fut Anter Neg ODir : he won't have slept
Cond Simul Pos ODir : he would sleep
Cond Simul Neg ODir : he wouldn't sleep
Cond Anter Pos ODir : he would have slept
Cond Anter Neg ODir : he wouldn't have slept
</P>
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
<!-- cmdline: txt2tags -thtml -\-toc abstract/Sentence.txt -->
</BODY></HTML>