Tags:
create new tag
view all tags
---+Grammar Engineering Frequently Asked Questions ---++In which files does order matter? Order in fact matters in all of the .tdl files, but in different ways: * In =labels.tdl=, order matters because the LKB will use the first label whose constraints match the node to be labeled, even if there is a more specific label further down the file that also matches. Therefore, if you have two labels which are consistent with each other, unless you put the more specific one first, it will never get used. * In all of the .tdl files (including =labels.tdl=), order matters in that if you define two types or entries with the same identifier (string before the =:==), the second will overwrite the first. The LKB will print a warning when this happens. * [[TypeAddendum][Type addendum]] statements (=:+=) are valid only if the follow the initial type definition statement (=:==) for the type in question. * For the same reasons, order matters *across* files. If you define a type with the identifier =foo= in two or more different files, only the definition from the file loaded last (per =lkb/script=) will be retained. ---+++Related topics * [[ViewType][How do I see what definition the LKB has read in for a type?]] * [[ViewEntry][How do I look at fully specified lexical entries or rules?]] --- [[GrammarEngineeringFAQ][Back to FAQs page]] [[http://courses.washington.edu/ling471/][Back to main course page]] -- EmilyBender - 02 Nov 2004
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2004-11-03
-
TWikiGuest
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback