XML-based Natural Language Generation
Assignment 5: Surface Realization
Realization
-
Write an XSLT stylesheet
liter.realize.xslt
which will perform surace realization.
-
The stylesheet should:
-
accept as input a text specification in the format of
liter.textspec.xml
-
for each phrase specification, produce an English phrase
whose head is the
<head> word
-
output Java Speech Markup Language containing the phrases
-
Test your stylesheet using Ant:
-
Put your stylesheet
liter.realize.xslt
in XMLGen/xslt
-
Run "
ant realization"
-
Send me the following file
-
Your stylesheet
liter.realize.xslt
Graham Wilcock
Last modified: Wed Jul 23 12:47:38 EEST 2003