Using MoriV

Japanese version

You can use MoriV as a GUI to view the result of a parse and syntactic details. MoriV is a web browser for viewing feature structures and trees written in tags proposed as an extension to XHTML. Normal browser cannot be used for viewing feature structures and trees. Browsers that support XSLT and XHTML like Firefox can be used for viewing feature structures and trees converted by XSLT. For details on how to use this GUI, please refer to Viewing the result of a parse with a GUI.

The program for passing XHTML data to MoriV is "grammar/moriv.lil". Almost all the operations done by this program are handled by modules of the MAYZ toolkit. What it does is just loading the modules.

ENJU has a special feature. It allows predicate-argument structure to be viewed in a GUI on a page. Moving the mouse cursor to a word (mouse-over) in a sentence would cause the system to highlight the phrase that takes that word as argument. This feature requires Javascript. MoriV does not support this feature but Firefox supports it.

The processing related to this mouse-over is done by "grammar/moriv.lil". First, we generate something similar to the XML output of a parse described in Output. This way we can tell which word is the argument of which phrase. Next, we use this information to generate the Javascript for highlighting the phrase that takes as argument the word being mouse-overed.


Enju Developers' Manual Enju Home Page Tsujii Laboratory
MIYAO Yusuke (yusuke@is.s.u-tokyo.ac.jp)