Grammar Engineering Frequently Asked Questions
I'm trying to write a lexical (or phrase structure rule), but I get the error "Rule without daughter". What does this mean, and how should I fix it?
The parameters file
lkb/globals.lsp specifies (among other things) the features through which the parser/generator can find the daughters of a phrase structure or lexical rule. If none of those features are appropriate for the rule that you defined, you will get this error. The best way to make sure that you inherit the proper features is to make your rule a subtype of either
lex-rule or
phrase.
In fact, to take full advantage of the Matrix, you almost certainly want to inherit from much more specific subtypes of those types.
Back to FAQs page
Back to main course page
--
EmilyBender - 19 May 2005