Frequently asked questions

Japanese version


Outputs "Parsing failure" or "Fatal error" for any inputs

Four possibilities:

LiLFeS programs are not loaded.
When Enju starts, it prints messages to say loading grammar configuration files (LiLFeS modules). Check whether grammar module, FOM module, parser module are properly loaded. If error messages are printed, module loading failed. Set an environment variable, "LILFES_PATH", to the directory where you installed LiLFeS modules (by default, "/usr/local/share/liblilfes").
Grammar data are not loaded.
When Enju starts, it prints messages to say loading grammar data. Check whether stemming database, grammar database, unigram FOM model, and syntax FOM model are properly loaded. If error messages are printed, data loading failed. Set an environment variable, "ENJU_DIR", to the directory where Enju grammar data are installed (by default, "/usr/local/lib/enju").
Initialization of a POS tagger or a stemmer failed.
Enju uses a POS tagger and a stemmer as a preprocessor. Check whether they are installed in a binary execution path and can be used properly. By default, Enju uses the POS tagger and the stemmer attached to the Enju package. Additionally, Enju assumes that a POS tagger receive a sentence in a line from a standard input, and outputs words followed by "/part-of-speech" to a standart output. Check whether your POS tagger does not output any unnecessary messages.
Grammar version is inconsistent.
Use grammar data whose major and minor versions are the same as the Enju version. For example, when you use "enju-X.Y.Z", use "enju-X.Y-data".

Outputs very low-accurate parse results

When you compile "liblilfes-1.3.2" or before using g++4, the disambiguation model of Enju does not work due to a bug of type punning. Use "liblilfes-1.3.3" or above.

Cannot input anything into text forms of FireFox

FireFox 1.0 has a problem with XSL handling, and you cannot input texts into text forms. Update to a newer version.

FireFox 1.5 or 2.0 sometimes crashes

Some versions of Firefox has a problem with handling XSLT. Update to a newer version.


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