Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Grounding: add TheKitchen construction
5/25/2021: A new TheKitchen construction was added to help getting "the kitchen" to ground either to the world or to smem. This adds five rules and works very nicely without any other changes. Part of the trace of running this in Rosie shows the preference based on lexicals, demonstrating semantic precision, and looks like this: Received word #1: go Matched a SimpleAction construction. C952 Received word #2: to Received word #3: the Received word #4: kitchen Prefer >span: TheKitchen(2) > BareNoun(1). Prefer >span: SpecNoun(2) > BareNoun(1). Prefer >lexicals: TheKitchen(2) > SpecNoun(0). Matched a TheKitchen construction. C971 Matched a SimplePrepPhrase construction. C975 Snipping C952 to get to C951 . Attach PrepPhrase C975 to DriveVerb C951 . Matched a DriveVerbToTarget construction. C977 Sentence #2: "go to the kitchen" This makes "the kitchen" work very similarly to "the main office", whose trace looks like this: Received word #1: go Matched a SimpleAction construction. C1101 Received word #2: to Received word #3: the Received word #4: main Received word #5: office Prefer >span: TheMainOffice(3) > BareNoun(1). Prefer >span: PropertyNoun(2) > BareNoun(1). Prefer >span: SpecPropNoun(3) > BareNoun(1). Prefer >lexicals: TheMainOffice(3) > SpecPropNoun(0). Prefer >span: SpecPropNoun(3) > PropertyNoun(2). Prefer >span: TheMainOffice(3) > PropertyNoun(2). Matched a TheMainOffice construction. C1125 Matched a SimplePrepPhrase construction. C1129 Snipping C1101 to get to C1100 . Attach PrepPhrase C1129 to DriveVerb C1100 . Matched a DriveVerbToTarget construction. C1131 Sentence #2: "go to the main office"
- Loading branch information