Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Parsing english

by wolis (Scribe)
on Oct 07, 2003 at 07:28 UTC ( [id://297218]=note: print w/replies, xml ) Need Help??


in reply to Re: Parsing english
in thread Parsing english

Yes, I aspire for the latter.

However I do assume the sentences being typed in would match a logical structure so:

Create some sticks Create a pile of wooden sticks Create a great big pile of burning wooden sticks Create a small bundle of red sticks of dynamite Create a stick of dynamite
All these would (and currently do) work in my parser. However I am working within the confines of creating objects so 'sticks are to be created that are made of wood and grouped into a pile' is outside my 'world view' :-) and ignoerd.. or accuratly 'said' to the other players not acted upon like a 'create' command.

And yes you guessed it:

Create a small white rabbit Put the rabbit on the sticks Put the dynamite on the rabbit etc..
Will also logically be parsed and 'work' so players will see 'a pile of sicks with a small white rabbit on it. On the rabbit is a small bundle of red sticks of dynamite' etc..

___ /\__\ "What is the world coming to?" \/__/ www.wolispace.com

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://297218]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-19 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found