This was developed by Eugene Koontz (ekoontz@hiro-tan.dhs.org).
Start your lisp environment, and try the following steps :
The last step should produce the system's analysis of the sentence "hiro likes shiva".
(with-open-file (xmlout "hiro.xml" :direction :output) (show (first (first (parse "hiro sleeps"))) :as 'xml :stream xmlout))
After doing this, you can process the file "hiro.xml" with an XSLT processor and a stylesheet. For example, you can use the Sablotron processor (GPL licenced) and this stylesheet : type.xsl.
After installing Sablotron, you should be able to the following : sabcmd doc/type.xsl hiro.xml > hiro.html
The file "hiro.html" may now be viewed with a web browser.
Caution : old web browsers, like Netscape 4, may crash on this file due to the large amount of nesting tables. Netscape 6, Mozilla, Internet Explorer 5 and above, and Konqueror seem to work fine.
A paper on this functionality was submitted to the NLPXML-2002 Conference, which I will post here when I get permission from the organizers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.