Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Tis been a while since I've posted, especially in SoPW. I thought up an idea while thinking about the smarterchild AIM bot. Currently this bot has somewhat "canned" responses (imho) to your statements. I thought about that bot, and the everything project and wondered if I could create a bot that would chat with it's users and ask for help in expanding it's knowledge base. Somewhat of a dictionary, with definitions submitted by the chatters.

This good and all, but what about responces to it's questions, and processing the actual words in the statements? This node (AI -- Artificial Intelligence) helped me quite a bit, but I'm not sure where to start.

It's almost as if I want to have a set of "control" words, and take words in question and compare them to the control words. A table of synonyms, antonyms (spelling mistakes..) and rate the possible control words against the results.

So if you said "My dog is a real pain" it would take "dog" and compare that to things like "animal" and then it would know that the subject of the sentence is animals, in reality "my dog". Basically, applying english language rules to text processing with perl. Yeah, that about summs it up.

Knowing "dog" is the noun and subject of the sentence, if it does not know what dog is, it would ask..

Am I crazy? Am I thinking about something that is too far fetched? Am I entering a good part of the perl community? I know this would at bare minimum help with my OOP and the like..

Welp, that about summs it up friends. Feel free to shoot me in the foot if I haven't already, but any help or insight is appreciated.

I'm only thinking about this because jmcnamara told me I couldn't help him with Spreadsheet::WriteExcel until he gets back on track. ;)

_14k4 - perlmonks@poorheart.com (www.poorheart.com)

In reply to Casual Communication, AI, and Text Processing by one4k4

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-18 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found