Tags:
create new tag
view all tags
---+Grammar Engineering Frequently Asked Questions ---++ When I load my grammar, I get *"Feature ... is introduced at multiple types (...)". What is causing this? Features can only be declared for one type. If two types need the same feature, they need to have a common supertype from which to inherit it. You might hit this error if you happen to try to reuse a feature name already in use in the matrix, or if you try to declare a feature for two types at the same time (e.g., FORM on =verb= and =prep=) instead of putting it on a supertype. NB: You can of course mention features on multiple types, and often need to in order to constrain their values appropriately. They just need to be introduced on a supertype to all types that they are appropriate for. This doesn't mean that e.g., =trans-verb-lex= needs to inherit from =noun= in order to constrain a value of CASE on one of its arguments. In the example below, CASE remains a feature of =noun=, which happens to be the value at the end of a path inside =verb-lex=. <verbatim> trans-verb-lex := verb-lex & transitive-lex-item & [ SYNSEM.LOCAL.CAT.VAL.COMPS < [ LOCAL.CAT.HEAD noun & [ CASE acc ] ] > ]. </verbatim> ---+++Related topics * [[NewFeature][I'm trying to add a new feature, and the LKB doesn't like it. What should I do?]] * [[NoPossibleType][When I load my grammar, I get *"no possible type for features (...) at path (...)"*. What is causing this?]] --- [[GrammarEngineeringFAQ][Back to FAQs page]] [[http://courses.washington.edu/ling567/][Back to main course page]] -- Main.EmilyBender - 18 May 2005
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 - 2005-05-18
-
EmilyBender
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
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