Help Mentifex solve the AI problem: rewrite ANDRU in your language of choice.
ANDRU is a chatbot, it should wait for the user to enter a string and reply with an English sentence. It doesn't need to make too much sense but should output grammatically valid sentences.
Your ANDRU should not need to be trained nor should he learn its vocabulary with user input (no Markov Chain).
You are allowed, on the other hand to scrape any data from Internet (website, forum, file, twitter, IRC ...). You may not use computer-generated data (don't pipe another chatbot).
Keep it short (10-20 LoC)
Bonus points for passing the Turing test with an average retard. Deadline: 24h.
Name:
Anonymous2013-07-11 4:49
Come look at the /b/tards talking to themselves
Name:
Anonymous2013-07-11 5:28
>>40
convo/93 is alright but it seems that ANDRU usually outsmarts your users.
Name:
Anonymous2013-07-11 5:30
convo/90:
You: nigger
ANDRU: oh, so you just think you are better than others and are little judgemental and opinionated? most people are, and that's fine as long as you don't pretend that the people you perceive as 'douchebags' are the coolest people in the world and don't kiss their asses
You: >implying i give a fuck
ANDRU: So, OK. Now what do you do here?
You: anal
ANDRU: >If you're wondering whether you're creepy or not, you're creepy. Probably because you're so nervous that you over think it.
brb killing self
You: an hero you fag
ANDRU: Agreed
>Dat porn
>Dat vidya
You: meth
ANDRU: isuse
>>>/soc/16706291
Name:
Anonymous2013-07-11 5:31
Bring your ass here, Mentifex, we made a better ANDRU for you and solved the AI problem!
>>56
It's a big webapp, I expected a small CGI script (10-20 LoC was the constraint). Nevermind.
There's many way to improve the fake intelligence. You could scrape a huge amount of posts and replies and link their words. E.g. If a post has the word `nigger' and replies have the word `faggot', you connect those words. Now if a ANDRU user say the word `nigger' you give him one of the `faggot' answer. It will look more or less connected, much like those Markov chain bots.
>>59
If you want some good tricks, try to find the NLP (Natural Language Processing) Coursera videos by Dan Jurafsky. You can scrape huge amounts of data too (Twitter, Yahoo questions, Reddit, IRC ...)
Name:
Anonymous2013-07-12 6:07
So... it just needs to be 10-20 lines of code and just needs to output a valid English sentence... am I to take it that it does not need to output something intelligent, and thus the human input does not in any sense matter?
>>61 it that it does not need to output something intelligent, and thus the human input does not in any sense matter?
Yes. Those are the correct specifications for an ANDRU.