- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4
GrammarEngineeringFAQ
This is a collection of frequently asked questions related to using the LKB and the Grammar Matrix for grammar engineering. Please help contribute or improve any questions and/or answers. Please prefix page names for answers with 'GeFaq'. See also the Grammar Engineering Glossary.
- 
I don't think I'm getting any error messages. Does that mean I don't have any errors? 
- 
The LKB says I have an error at position number 873. How do I figure out where that is in my file? 
- 
The LKB says I'm missing a right bracket, but I can't figure out where. What should I do? 
- 
When I try to parse a sentence, the LKB says "probable runaway rule". How do I debug this? 
- 
When I try to generate, the LKB says "probable runaway rule". How do I debug this? 
- 
When I try to generate, the LKB says "Probable circular lexical rule". How do I debug this? 
- 
The LKB says "Cyclic check found cycle at ...". What does this mean and how do I debug it? 
- 
The LKB says that I am trying to unify a NULL with CONS. What could the problem be? 
- 
The LKB says that the Unification of rule-x and rule-y failed at path <>. What's that about? 
- 
Unifications failed to reunify when drawing parse tree. What does this mean? 
- 
One of my words branches to two lexical edges that look exactly the same. Why? 
- 
I get two (or more) parses for a sentence. How can I tell where the extra parse is coming from? 
- 
How do I get my lexical rules to apply in a particular order? 
- 
I've written a lexeme-to-lexeme rule, how do I know what information I need to copy up? 
- 
How do I know if my lexical rule should be lexeme-to-lexeme or lexeme-to-word? 
- 
What do the punctuation marks mean in the tdl files? (A very basic guide to tdl syntax.) 
- 
How do I do disjunction (constrain the value of a feature to be X or Y)? 
- 
Can I make the value of one feature dependent on the value of another? 
- 
How do I see what a type looks like with all of the constraints it inherits from supertypes? 
- 
How do I see what definition the LKB has read in for a type? 
- 
How do I write a lexical entry for a word with spaces in it? 
- 
What is a type addendum statement, and when should I use one? 
- 
I've added a rule to my grammar but the LKB doesn't seem to have found it. What's happening? 
- 
I'm trying to combine constraints on my lexical items and it's saying it can't unify. What can I do? 
- 
I'm trying to add a new feature, and the LKB doesn't like it. What should I do? 
- 
How do I get the LKB to tell me what type(s) a feature or set of features is appropriate for? 
- 
The LKB seems to be "forgetting" a constraint/definition I've coded. Why? 
- 
A menu item seems to have disappeared (e.g., Parse > Compare or Generate). How do I get it back? 
- 
How do I use tab to help me figure out where my syntax error is? 
- 
How do I change the default sentence that appears in the parse dialog box when I load up my grammar? 
- 
When I close the LKB Top Menu, is Lisp supposed to exit as well? 
- 
In LKB, when I click on nodes in a parse chart, I don't get a pop-up menu. Why not? 
Home | Forum | Discussions | Events