Vebot 4.0 Verbot Community
Home | About Us | Products Overview | Verbot Standard Edition | Verbots Online | Downloads | Community | Wiki | SDK
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parsing inputs/outputs together

 
Post new topic   Reply to topic    Verbots Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
michael.eves
PowerBot
PowerBot


Joined: 27 Nov 2005
Posts: 144
Location: Toronto - ON

PostPosted: Fri Jan 26, 2007 1:02 am    Post subject: Parsing inputs/outputs together Reply with quote

Hi guys, its been a busy day of posting I feel like you must be sick of reply to me now Shocked . I have another request.
Is it possible to parse inputs and outputs I.e.

If I have a rule _hello
Input: hello
Output: hi there

And a second rule _where you from?
Input: where you from?
Output: I am from Leeds, England. Where are you from?

Is there a way to parse the two inputs in such a way that the input could be….
Input: Hello again, where are you from?
Output: Hi there, I am from Leeds, England. Where are you from? Question

Presumably a comma or full stop would be need to separate the inputs so Verbot would search all inputs for a rule to govern “hello again” the comma, would tell verbot to search for a second rule to govern the latter half of the input “where are you from”

If verbot finds two such rules it would parse the two responses together using a comma to separate them. If verbot can only match one of the inputs it will respond to the recognised input and ignore what comes after the comma.

I think the ability to parse inputs/outputs in this way would give potential for an extremely powerful artificial intelligence. I am sure this question has probably been asked before so I would like to know what other people in the Verbot community think about it. Very Happy

Thanks
Michael
Back to top
View user's profile Send private message Visit poster's website
Aaron
SupremeBot
SupremeBot


Joined: 26 Feb 2004
Posts: 1261

PostPosted: Fri Jan 26, 2007 6:04 pm    Post subject: Reply with quote

We've toyed with something like this before. Usually it resulted in some strange outputs. The best we could come up with was to split the user's input at sentence breaks (. ! ?) and feed each sentence as a separate input, then combine the outputs. Unfortunately, even this tended to cause more problems than it was worth. Still, I agree that it would be cool. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
michael.eves
PowerBot
PowerBot


Joined: 27 Nov 2005
Posts: 144
Location: Toronto - ON

PostPosted: Mon Jan 29, 2007 11:50 am    Post subject: Reply with quote

Is there any chance we could get our hands on the source code and or the compiled programme? Just to have a play around with it… please J

PS. is the source code written in c#?
Back to top
View user's profile Send private message Visit poster's website
Aaron
SupremeBot
SupremeBot


Joined: 26 Feb 2004
Posts: 1261

PostPosted: Tue Jan 30, 2007 6:55 pm    Post subject: Reply with quote

The source for the core engine is available here under the GPL:
http://verbots.sourceforge.net/

Yes, it's C#.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Verbots Forum Index -> Feature Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum