mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
new resource doc on Phrase etc
This commit is contained in:
@@ -2,43 +2,106 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||
<TITLE> Clauses, imperatives, and sentential complements</TITLE>
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> Clauses, imperatives, and sentential complements</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Author: </I><BR>
|
||||
Last update: Fri Jan 13 16:46:53 2006
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<UL>
|
||||
<LI><A HREF="#toc1">Clauses, imperatives, and sentential complements</A>
|
||||
<UL>
|
||||
<LI><A HREF="#toc2">Clauses</A>
|
||||
<LI><A HREF="#toc3">Clauses missing object noun phrases</A>
|
||||
<LI><A HREF="#toc4">Imperatives</A>
|
||||
<LI><A HREF="#toc5">Embedded sentences</A>
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
<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>
|
||||
<A NAME="toc1"></A>
|
||||
<H1>Clauses, imperatives, and sentential complements</H1>
|
||||
<PRE>
|
||||
abstract Sentence = Cat ** {
|
||||
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc2"></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 -> VP -> Cl ;
|
||||
PredSCVP : SC -> VP -> Cl ;
|
||||
|
||||
ImpVP : VP -> Imp ;
|
||||
|
||||
SlashV2 : NP -> V2 -> Slash ;
|
||||
SlashVVV2 : NP -> VV -> V2 -> Slash ;
|
||||
AdvSlash : Slash -> Adv -> Slash ;
|
||||
SlashPrep : Cl -> Prep -> Slash ;
|
||||
PredVP : NP -> VP -> 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 -> VP -> Cl ; -- that you go makes me happy
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc3"></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 -> 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="toc4"></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 -> Imp ; -- go
|
||||
</PRE>
|
||||
<P></P>
|
||||
<A NAME="toc5"></A>
|
||||
<H2>Embedded sentences</H2>
|
||||
<P>
|
||||
Sentences, questions, and infinitival phrases can be used as
|
||||
subjects and (adverbial) complements.
|
||||
</P>
|
||||
<PRE>
|
||||
EmbedS : S -> SC ; -- that you go
|
||||
EmbedQS : QS -> SC ; -- whether you go
|
||||
EmbedVP : VP -> SC ; -- to go
|
||||
|
||||
}
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- html code generated by txt2tags 2.0 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc abstract/Sentence.txt -->
|
||||
</BODY></HTML>
|
||||
|
||||
Reference in New Issue
Block a user