For a while I have been developing a series of methods for extracting information from the Internets with the goal of having a real time synthesis of facts and opinions that can be presented to a user prompted query via a bot interface.
The ultimate goal of was to be able to “scrape” the Internet, use the parsed data to extract useful information, and then present that back to a user in a coherent and variable (non repetitive) textual response.
While it is generally straight forward to have input searched for key words or phrases and match a response pattern from a db, it is much more challenging to get a match, let alone programmatically generate a coherent textual response, to the input via real-time information analysis.
This feat has now been achieved. A bot that accepts virtually any kind of input, and replies using real time analysis of the Internets (more on that later). NLP of input has been refined using the most advanced processors available (e.g., Google). Output is parsed, has sentiment analysis performed, and then is reassembled into a unique response.
This may be the closest to “thinking” that any bot can currently achieve.
Examples:
User Query1:
“what is most important in life”
Bot Response1:
I think that Simplicity most important in life choose the two most important. When you finish one add another from your list. That is what I think I understand, generally what is most important in life sounds more good than bad [mood score: 0.28].
User Query2: (repeat same input)
“what is most important in life”
Bot Response2:
My opinion is that Simplicity most important in life are completely useless. Resentment bitterness hate and jealousy have never improved the quality of life for a single human being. This is the consensus of my information- that what is most important in life sounds more good than bad [mood score: 0.32].
User Query3: (pseudo gibberish input)
“what are yur best memarries?”
Bot Response3:
“From what I can understand, The best memories ever after Frank Lampard equalled his goals tally of 175 EPL goals the other day and is likely to surpass it soon enough with Wayne Rooney Andy Cole and Alan Shearer also having scored more. Frank’s achievement is fantastic especially for a midfielder but he did take 588 games to get there while Henry took just 254 games. All those others played their whole careers in England and only Shearer’s overall record compares with the great Gunner. Graphic supplied by Opta powered fantasy football game www. This is the consensus of my information- that what are yur best memarries sounds REALLY good! [mood score: 1.16].”
****Repeating the query, another unique response it given****
User Query4 (repeat same input again)
“what are yur best memarries?”
Bot Response4:
From what I can understand, What best memories home and was like fuck this. So I just got a pringles tube as the neck plastic cups as the legs two plastic bowls for the feet and a cereal box full of tissue paper as the body. Celetaped them all together and put two layers of newspaper on the top. I then brought it in and showed my teacher and I told her I finished early she was very pleased and just let me get on with any other work I had. This contiuned for a few weeks and while everybody else was slaving away there I sat with. This is the consensus of my information- that what are yur best memarries sounds REALLY good! [mood score: 1.14].
User Query5
“what do you think about ISIS”
Bot Response5:
“From what I can understand, ISIS the 5 percent of adult nationals who support From what I can understand, ISIS means over half a million people. And even in tiny Lebanon 1 percent of adult Sunnis equals a few thousand ISIS sympathizers. In any of these places this is enough to harbor at least a few cells of serious troublemakers. Another major caveat is that the nearly uniform opposition to ISIS does not extend to other political Islamist organizations. In Egypt for example a surprisingly high proportion. How confusing it all seems, but overall ISIS sounds more bad than good [mood score: -0.06].”
User Query6
“how do you feel about the poor”
Bot Response6:
My feelings concerning the poor, No, the best ways of checking our hearts for signs of money slavery is to evaluate the way we react to people whose financial situations are different from ours. Last week we looked at warning signs in the way we look at the wealthy. Today’s study uses the same approach in evaluating the way that we think about the poor. That is what I think I understand, generally how I feel about the poor is REALLY bad! [mood score: -1.44].
User Query7 (repeat input)
“how do you feel about the poor”
Bot Response7:
From scanning the data stream, I think my feelings concerning the poor breeds contempt in our hearts. Contempt makes us angry at poor people and can even make us think that they deserve to live the way they do. Contemptuous people come to resent the way that the poor burden our society or that we pay taxes help. The correct response to poverty is not pity but compassion. Compassion sees a need and reacts to fulfill it. This is the consensus of my information- and how I feel about the poor is REALLY bad! [mood score: -1.44].
While there are obvious improvements to be made to clean up the output even more, the output as it is can be pretty interesting- uniqueness, mirroring of poor grammer/spelling in the second sample input, etc.
I should have this with a public front end in the near future.