---+Grammar Engineering Frequently Asked Questions ---++One of my words is showing up in the chart twice. Why? This situation can arise if you have a multi-word lexical entry, and another lexical entry for just part of the multi-word, for example: <verbatim> bastille-day := noun-lex & [ STEM < "bastille", "day" >, SYNSEM.LOCAL.LKEYS.KEYREL "_bastille_day_n_rel" ]. day := noun-lex & [ STEM < "day" >, SYNSEM.LOCAL.LKEYS.KEYREL "_day_n_rel" ]. </verbatim> If you try to parse a sentence with _Bastille Day_, the LKB will find lexical entries for both _Bastille Day_ and _day_ and put them both in the chart. Unless you also have an independent lexical entry for _Bastille_, the entry for just _day_ won't be included in any complete parses, but the algorithm doesn't know this. --- [[GrammarEngineeringFAQ][Back to FAQs page]] [[http://courses.washington.edu/ling471/][Back to main course page]] -- EmilyBender - 02 Nov 2004
This topic: Main
>
WebHome
>
GrammarEngineeringFAQ
>
ChartTwice
Topic revision: r1 - 2004-11-03 - TWikiGuest
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