![]() ![]() In any language there is a level of ambiguity that the native speaker understands through cultural cues developed within the society of the speakers and writers. The problem of course is more than just syntax, but one of syntax plus semantics. Well, a generalized NLP is still a topic of research and even the most sophisticated systems only approximate language processing (and usually within a narrowly defined domain). However the real magic for me involves using this type of defined world as the basis for testing AI. So thats a mental snapshot for starters covering what I think TAE's are and what I plan do do with one eventually. This leaves the TA Programmer the freedom to extend this base system into what makes each game special, while using the base system as a catch-all for most of the general (pick-up, drop, put in/on/under, eat, pour) etc. eventualy this would result in a TAE that can ALREADY handle all common actions and interactions. The idea being that once we get so many definitions we can find common patterns and abstract them out into more general functions. A table, chair, some containers like a cabinet, and some various objects, a basket of green apples, a basket of red apples, a knife, a bucket of water, a glass, etc.Īdding each of these things incrementally and supporting and testing all the various actions I think cane be done with them. So my original test plan (which I have not yet implemented) consists of something like this.īuild a set of a few rooms, and add some objects in there. Since all these are interactive the complexity seems to increase geometrically. display module, input module, and all the functions needed to handle all the actions which are possible, and update the database appropriately. workhorse which does all the logic of sorting out what the user/player types and launching all the correct functions.ģ. which is seperate from the functions themselves, or perhaps one small part of a larger dataset or object included in the TAE)Ģ. (comprehensive list of all verbs, objects, and object adjectives. Define actions, (verbs) which define the limits of how the previous two sets of data interact.Īll the above is probably best dumped into somekind of data structure (data base) which the TAE considers as what 'exisits' within the world, such that only operations are valid which refer to things existing in the database. ![]() Define objects, and the means of interaction between them( evertything else)ģ. Define areas, and the ways to transition between them (rooms).Ģ. One thing I have noted is that the interpreter and the parser as well as the dictionary that it is using is really based on an abstract environment, the objects in which must be instantiated into existance for the text-adventure engine (TAE) to do anything useful with.ġ. Let me know what you think of the second book. I had checkout out some of the source for the original zork interpreter but it was just too hacked for me to make much of I have the first book you mention. I'd like to hear from anyone who has written a parser and what they learned from/about making one that works.Įdit: removed non-pertinant : thanks for the links, I'll check them out. I'll be glad to share what I come up with once I get it stable and tested. I'm not sure how we could generalize/abstract them enough to be useful. I think a great Idea would be to ceate some kind of library handling most of the basics of NLP to support the FB community, like a dictionary, parser, and interpreter. I need a more robust definition for the user to interact with AI planning agents, etc. I realize this is overkill in most games, but simple verb - object parsers will not work for my application. 'with the tongs give the troll a small ruby from the leather bag under the table' What I have the most trouble with is ambiguity and multiple object phrases. ![]() I have been working on and off on one and I have not managed to achieve lift off with it yet, (mostly due to working on other aspects of my project). Bartle's articles and Na_th_an's tutorial) One aspect of my current project is a specification which includes text adventure elements.ĭo you have any suggestions for writing interpreters, or links to articles on them? (I have R.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |