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

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2007-02-05 - 22:32:43 - MargalitZabludowski
 

This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Privacy Statement Terms & Conditions