| ||||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Create a program that has similar parsing skills and domain knowledge that Terry Winograd's SHRDLU had.
OutlineBasically, SHRDLU had knowledge of a small 'world' and it could understand instructions to modify the world. For example, the world normally consisted of a couple of different coloured and sized objects (cube, pyramids etc.). You could say "put the red pyramid on the blue block" and a vision-enabled robot would follow your instructions.Since it knowledge of the world, it could figure out linguistic ambiguities. For example, look at the two situations below and the instruction your system would be given:
Put the pyramid on the block on the blue block Put the pyramind on the block on the blue blockSo, if the world was in the left situation, the robot would move the pyramid from the red block to the blue block. If it was the right situation, the robot wouldn't do anything since neither interpretations are applicable to the world. GuidelinesThe easiest way to parse the user input and create a sentence tree, and pattern matching it to known grammar patterns. For example:PUT x ON THE yObviously, the grammar sentences can be much more complicated than that so you should look at creating embedded patterns. For example: S = PUT np ON THE np. NP = blue box OR red box OR green triangleYou could decompose the NP structure to something like: NP = Determiner, noun OR determiner, adjective, noun OR noun phrase, PP PP = Preposition, noun phraseThen decomposing the values of determiners (the, an, a), nouns (block, pyramid) and adjectives (red, green, blue, small, big) into words that fitted into your world domain. While this all sounds very complicated, it is not too hard as long as you have a good grip on a programming language. AdvancedHere are some additional ideas for advanced readers:
SolutionsNo solutions submitted.
Submitted: 01/07/2002 Article content copyright © James Matthews, 2002.
|
|
|||||||||||||
All content copyright © 1998-2007, Generation5 unless otherwise noted.
- Privacy Policy - Legal - Terms of Use -