multimodal resource recreated for new API

This commit is contained in:
aarne
2005-12-05 18:31:15 +00:00
parent 936e402373
commit 7a7252223f
10 changed files with 271 additions and 8 deletions

View File

@@ -0,0 +1,70 @@
abstract Demonstrative = Cat, Tense ** {
cat
MS ; -- multimodal sentence or question
MQS ; -- multimodal wh question
MImp ; -- multimodal imperative
MVP ; -- multimodal verb phrase
DNP ; -- demonstrative noun phrase
DAdv ; -- demonstrative adverbial
Point ; -- pointing gesture
fun
-- A pointing gesture is constructed from a string.
MkPoint : String -> Point ;
-- Construction of sentences, questions, and imperatives.
PredMVP : DNP -> MVP -> MS ; -- he flies here
QuestMVP : DNP -> MVP -> MQS ; -- does he fly here
QQuestMVP : IP -> MVP -> MQS ; -- who flies here
ImpMVP : MVP -> MImp ; -- fly here!
-- Construction of verb phrases from verb + complements.
DemV : V -> MVP ; -- flies (here)
DemV2 : V2 -> DNP -> MVP ; -- takes this (here)
DemVV : VV -> MVP -> MVP ; -- wants to fly (here)
-- Adverbial modification of a verb phrase.
AdvMVP : MVP -> DAdv -> MVP ;
-- Demonstrative pronouns as NPs and determiners.
this_DNP : Point -> DNP ; -- this
that_DNP : Point -> DNP ; -- that
thisDet_DNP : Point -> CN -> DNP ; -- this car
thatDet_DNP : Point -> CN -> DNP ; -- that car
-- Demonstrative adverbs.
here_DAdv : Point -> DAdv ; -- here
here7from_DAdv : Point -> DAdv ; -- from here
here7to_DAdv : Point -> DAdv ; -- to here
-- Building an adverb as prepositional phrase.
PrepDNP : Prep -> DNP -> DAdv ;
-- Using ordinary categories.
-- Interface to $Demonstrative$.
DemNP : NP -> DNP ;
DemAdv : Adv -> DAdv ;
PhrMS : Pol -> MS -> Phr ;
PhrMS : Pol -> MS -> Phr ;
PhrMQS : Pol -> MQS -> Phr ;
PhrMImp : Pol -> MImp -> Phr ;
-- For testing and example-based grammar writing.
point1, point2 : Point ;
}