mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-25 04:22:50 -06:00
resource lib name changed
This commit is contained in:
86
lib/resource/doc/gfdoc/Phrase.html
Normal file
86
lib/resource/doc/gfdoc/Phrase.html
Normal file
@@ -0,0 +1,86 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META NAME="generator" CONTENT="http://txt2tags.sf.net">
|
||||
<TITLE> Phrase: Phrases and Utterances</TITLE>
|
||||
</HEAD><BODY BGCOLOR="white" TEXT="black">
|
||||
<P ALIGN="center"><CENTER><H1> Phrase: Phrases and Utterances</H1>
|
||||
<FONT SIZE="4">
|
||||
<I>Last update: 2006-12-13 09:36:48 CET</I><BR>
|
||||
</FONT></CENTER>
|
||||
|
||||
<P></P>
|
||||
<HR NOSHADE SIZE=1>
|
||||
<P></P>
|
||||
<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 Phrase = Cat ** {
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
When a phrase is built from an utterance it can be prefixed
|
||||
with a phrasal conjunction (such as <I>but</I>, <I>therefore</I>)
|
||||
and suffixing with a vocative (typically a noun phrase).
|
||||
</P>
|
||||
<PRE>
|
||||
fun
|
||||
PhrUtt : PConj -> Utt -> Voc -> Phr ; -- But go home my friend.
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
Utterances are formed from sentences, questions, and imperatives.
|
||||
</P>
|
||||
<PRE>
|
||||
UttS : S -> Utt ; -- John walks
|
||||
UttQS : QS -> Utt ; -- is it good
|
||||
UttImpSg : Pol -> Imp -> Utt; -- (don't) help yourself
|
||||
UttImpPl : Pol -> Imp -> Utt; -- (don't) help yourselves
|
||||
UttImpPol : Pol -> Imp -> Utt ; -- (don't) help (polite)
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
There are also 'one-word utterances'. A typical use of them is
|
||||
as answers to questions.
|
||||
<B>Note</B>. This list is incomplete. More categories could be covered.
|
||||
Moreover, in many languages e.g. noun phrases in different cases
|
||||
can be used.
|
||||
</P>
|
||||
<PRE>
|
||||
UttIP : IP -> Utt ; -- who
|
||||
UttIAdv : IAdv -> Utt ; -- why
|
||||
UttNP : NP -> Utt ; -- this man
|
||||
UttAdv : Adv -> Utt ; -- here
|
||||
UttVP : VP -> Utt ; -- to sleep
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The phrasal conjunction is optional. A sentence conjunction
|
||||
can also used to prefix an utterance.
|
||||
</P>
|
||||
<PRE>
|
||||
NoPConj : PConj ;
|
||||
PConjConj : Conj -> PConj ; -- and
|
||||
</PRE>
|
||||
<P></P>
|
||||
<P>
|
||||
The vocative is optional. Any noun phrase can be made into vocative,
|
||||
which may be overgenerating (e.g. <I>I</I>).
|
||||
</P>
|
||||
<PRE>
|
||||
NoVoc : Voc ;
|
||||
VocNP : NP -> Voc ; -- my friend
|
||||
|
||||
}
|
||||
</PRE>
|
||||
<P></P>
|
||||
|
||||
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
||||
<!-- cmdline: txt2tags -thtml -\-toc abstract/Phrase.txt -->
|
||||
</BODY></HTML>
|
||||
Reference in New Issue
Block a user