Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Talk to my robot?

  1. Talk to my robot?

    Anyone know of any software that enables me to talk to my robot like question and answer, etc?

  2. #2
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    174

    Re: Talk to my robot?

    Welcome to the forum!

    You can use voice recognition software [Dragon Naturally Speaking comes to mind], but you'll need to write the AI. Have a look at A.L.I.C.E.
    I Void Warranties�

  3. #3
    Join Date
    May 2009
    Location
    Oregon Coast
    Posts
    32
    Images
    6
    Rep Power
    31

    Re: Talk to my robot?

    Here is a link to the ALICE site with a list of ALICE interpreters. Maybe you can find an implimentation in a language you already know:

    http://www.alicebot.org/downloads/programs.html



    I'm a .Net developer and I found:

    http://ntoll.org/article/program-20

    ...but I haven't taken a look at it yet. Downloading now though...might be "fun".

  4. #4
    Join Date
    May 2009
    Location
    Oregon Coast
    Posts
    32
    Images
    6
    Rep Power
    31

    Re: Talk to my robot?

    Ok, ALICE is pretty cool.

    In the .Net port there is a project called AIMLGUI. I opened the solution (had to upgrade to VS 2008 - no issues) and ran the application.

    The UI is a chat interface where the "bot" is instantiated and responds based on a library (xml) behind the scenes. Within 5 minutes you can be talking to an AI personality on your computer.

    The code couldn't be any easier either...


    Code:
     
    private void processInputFromUser()
    {
      /* instantiated at class level
    
      private Bot myBot;
      private User myUser;
      private Request lastRequest = null;
      private Result lastResult = null;
    
      */
     
      if (this.myBot.isAcceptingUserInput)
      {
        string rawInput = this.richTextBoxInput.Text;
        this.richTextBoxInput.Text = string.Empty;
        this.richTextBoxOutput.AppendText("You: " + rawInput + Environment.NewLine);
        Request myRequest = new Request(rawInput, this.myUser, this.myBot);
        Result myResult = this.myBot.Chat(myRequest);
        this.lastRequest = myRequest;
        this.lastResult = myResult;
        this.richTextBoxOutput.AppendText("Bot: " + myResult.Output + Environment.NewLine +         Environment.NewLine);
        if (this.toolStripMenuItemSpeech.Checked)
        {
          SpVoice objSpeech = new SpVoice();
          objSpeech.Speak(myResult.Output, SpeechVoiceSpeakFlags.SVSFlagsAsync);
          objSpeech.SynchronousSpeakTimeout = 20;
          objSpeech.Rate = 4;
        }
      }
      else
      {
        this.richTextBoxInput.Text = string.Empty;
        this.richTextBoxOutput.AppendText("Bot not accepting user input." + Environment.NewLine);
      }
    }
    The example also uses Microsoft text to speach so if you've got your speakes on it will read off the responses. Prett cool!

  5. #5
    Join Date
    May 2009
    Location
    Oregon Coast
    Posts
    32
    Images
    6
    Rep Power
    31

    Re: Talk to my robot?

    Quote Originally Posted by Adrenalynn View Post
    Welcome to the forum!

    You can use voice recognition software [Dragon Naturally Speaking comes to mind], but you'll need to write the AI. Have a look at A.L.I.C.E.
    Great suggestion. Thanks!

  6. #6
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    174

    Re: Talk to my robot?

    Sure!

    I should also point out that Microsoft has SAPI for speech, but it's pretty primitive compared to something like Naturally Speaking.
    I Void Warranties�

  7. Re: Talk to my robot?

    Alice uses a predefined question and answe database. All you will say or ask already has a corresponding response. I am looking for something that makes the robot almost know nothing yet but learns from the current conversation and use what he learned for future conversations.

    Something like

    Conversation today:

    You: Do you read any books?
    Robot: I don't know any books.
    You: I like reading the Chronicles of Narnia
    Robot: Ok

    After 2 days
    You: Do you know any books?
    Robot, Yes i know the Chronicles of Narnia

  8. #8
    Join Date
    Apr 2008
    Location
    Sacramento, CA, USA Area
    Posts
    5,341
    Rep Power
    174

    Re: Talk to my robot?

    When you get that working universally, you'll be the wealthiest person on the planet - please keep us peons in mind!
    I Void Warranties�

  9. #9
    Join Date
    May 2008
    Posts
    2,228
    Images
    155
    Rep Power
    125

    Re: Talk to my robot?

    Quote Originally Posted by robotech View Post
    Alice uses a predefined question and answe database. All you will say or ask already has a corresponding response. I am looking for something that makes the robot almost know nothing yet but learns from the current conversation and use what he learned for future conversations.

    Something like

    Conversation today:

    You: Do you read any books?
    Robot: I don't know any books.
    You: I like reading the Chronicles of Narnia
    Robot: Ok

    After 2 days
    You: Do you know any books?
    Robot, Yes i know the Chronicles of Narnia
    I'm actually working on a project just like this. Sponsered by the EU. 17 universities on 3 continents, probably > 200 people involved... in over 2 years, it's accomplished almost nothing towards making a system like this. It's *almost* easy to make a system like this in a very small domain... but of course you have to deal with the problems of ASR sucking (forget people with accents, use only common words, and oh, if the radio is on, robot dies...), knowledge representation and fuzzy matching.... fun stuff.

    Really, what you're describing could be termed "AI Complete"... and of course AI has such a great track record in providing successes

    -Fergs

  10. #10
    Join Date
    May 2009
    Location
    Oregon Coast
    Posts
    32
    Images
    6
    Rep Power
    31

    Talking Re: Talk to my robot?

    Quote Originally Posted by lnxfergy View Post

    Really, what you're describing could be termed "AI Complete"...

    -Fergs
    IMO "AI complete" would mean it could replicate itself to an equal or greater degree. That would be a neat trick.

    I wasnt sure what you meant by "ASR sucking" so I Googled it. I figure you meant "Automatic Speech Recognition" but the first result that came up was good for a laugh.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Contest Entry RC truck robot conversion
    By Orac in forum Project Showcase
    Replies: 24
    Last Post: 11-13-2012, 11:50 PM
  2. Contest Entry The eyeRobot: Robot Blind Aid
    By Shrimpy in forum Project Showcase
    Replies: 16
    Last Post: 02-07-2011, 09:20 AM
  3. Question(s) Writing an educatonal book on robotics
    By darkback2 in forum Robotics General Discussion
    Replies: 107
    Last Post: 05-24-2010, 11:51 PM
  4. Contest Entry Butler Robot
    By airman00 in forum Project Showcase
    Replies: 11
    Last Post: 07-31-2008, 09:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •