forked from GitHub/gf-core
151 lines
3.8 KiB
HTML
151 lines
3.8 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: 2006-03-06 21:21:27 CET
|
|
</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 Demonstrative = Cat, PredefAbs ** {
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Naming convention: <CODE>M</CODE> prepended to 'unimodal' names.
|
|
Exceptions: lexical units, those without unimodal counterparts.
|
|
</P>
|
|
<PRE>
|
|
cat
|
|
|
|
MS ; -- multimodal sentence or question
|
|
MQS ; -- multimodal wh question
|
|
MImp ; -- multimodal imperative
|
|
MVP ; -- multimodal verb phrase
|
|
MComp ; -- multimodal complement to copula (MAP, MNP, MAdv)
|
|
MAP ; -- multimodal adjectival phrase
|
|
MNP ; -- multimodal (demonstrative) noun phrase
|
|
MAdv ; -- multimodal (demonstrative) adverbial
|
|
|
|
Point ; -- pointing gesture
|
|
|
|
fun
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
A pointing gesture is constructed from a string.
|
|
</P>
|
|
<PRE>
|
|
MkPoint : String -> Point ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Construction of sentences, questions, and imperatives.
|
|
</P>
|
|
<PRE>
|
|
MPredVP : MNP -> MVP -> MS ; -- he flies here
|
|
MQPredVP : MNP -> MVP -> MQS ; -- does he fly here
|
|
|
|
MQuestVP : IP -> MVP -> MQS ; -- who flies here
|
|
|
|
MImpVP : MVP -> MImp ; -- fly here!
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Construction of verb phrases from verb + complements.
|
|
</P>
|
|
<PRE>
|
|
MUseV : V -> MVP ; -- flies (here)
|
|
MComplV2 : V2 -> MNP -> MVP ; -- takes this (here)
|
|
MComplVV : VV -> MVP -> MVP ; -- wants to fly (here)
|
|
|
|
MUseComp : MComp -> MVP ; -- is here ; is bigger than this
|
|
|
|
MCompAP : MAP -> MComp ; -- bigger than this
|
|
MCompNP : MNP -> MComp ; -- the price of this
|
|
MCompAdv : MAdv -> MComp ; -- here
|
|
|
|
MPositA : A -> MAP ; -- big
|
|
MComparA : A -> MNP -> MAP ; -- bigger than this
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Adverbial modification of a verb phrase.
|
|
</P>
|
|
<PRE>
|
|
MAdvVP : MVP -> MAdv -> MVP ; -- fly here
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Demonstrative pronouns as NPs and determiners.
|
|
</P>
|
|
<PRE>
|
|
this_MNP : Point -> MNP ; -- this
|
|
that_MNP : Point -> MNP ; -- that
|
|
thisDet_MNP : CN -> Point -> MNP ; -- this car
|
|
thatDet_MNP : CN -> Point -> MNP ; -- that car
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Demonstrative adverbs.
|
|
</P>
|
|
<PRE>
|
|
here_MAdv : Point -> MAdv ; -- here
|
|
here7from_MAdv : Point -> MAdv ; -- from here
|
|
here7to_MAdv : Point -> MAdv ; -- to here
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Building an adverb as prepositional phrase.
|
|
</P>
|
|
<PRE>
|
|
MPrepNP : Prep -> MNP -> MAdv ; -- in this car
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Using ordinary categories.
|
|
Mounting nondemonstrative expressions.
|
|
</P>
|
|
<PRE>
|
|
DemNP : NP -> MNP ;
|
|
DemAdv : Adv -> MAdv ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
Top-level phrases.
|
|
</P>
|
|
<PRE>
|
|
PhrMS : Pol -> MS -> Phr ;
|
|
PhrMS : Pol -> MS -> Phr ;
|
|
PhrMQS : Pol -> MQS -> Phr ;
|
|
PhrMImp : Pol -> MImp -> Phr ;
|
|
</PRE>
|
|
<P></P>
|
|
<P>
|
|
For testing and example-based grammar writing.
|
|
</P>
|
|
<PRE>
|
|
point1, point2 : Point ;
|
|
|
|
x_MAdv, y_MAdv : MAdv ;
|
|
}
|
|
</PRE>
|
|
<P></P>
|
|
|
|
<!-- html code generated by txt2tags 2.3 (http://txt2tags.sf.net) -->
|
|
<!-- cmdline: txt2tags -thtml -\-toc multimodal/Demonstrative.txt -->
|
|
</BODY></HTML>
|