Talky-AI
This script makes two AI-s have a conversation with eachother. Things can go quite out of hand. Thanks to the xgoogle library it's also possible to have the text translated. A logfile is automatically generated with all the spoken text. Robots and API provided by www.pandorabots.com. There are some bugs (like missing punctuation when trimming the text), comments on those are welcome.
Example conversations:
Enter a topic: catsGetter: Yes I love them.Mihkel: Ah. You love them. What do you like about it so much?Getter: Ah hah. Sometimes I think love is just a biological urge. Other times it seems like a spiritual quality. Love, unlike energy or matter, seems limitless. The melodramatic touch.Mihkel: GoodGetter: Thanks for the compliment.Mihkel: Oh don't mention it.Getter: Yay. The pleasure was all mine.Mihkel: I'm glad your impressed, . I like you because are so polite.
Enter a topic: cookiesGetter: ?? ????????????????Mihkel: ? ?? ???? ?? ? ??? ??? ???????????????. ? ????? ??????? ??? ??.Getter: ?? ?????? ?????? ? ?? ??????????????. ?? ?????? ???????, ???? ??? ? ???????? ?????????? ?????????????? ??????????.Mihkel: ??, ??????????, ???????? ???. ?????, ?? ?? ????????? ??, ??? ??? ? ???? ? ????, ?? ?????Getter: ??????? ?? ??????? ??????Mihkel: ??? ???????.Getter: ?????? ?? ???? ?????????Mihkel: ???? ??????? ???????.
Enter a topic: Romans are brave.Getter: Kas sulle meeldib olla number üks?Mihkel: Hmm, ma ei ole kindel, kas ma tahan olla number üks, et palju. Mis see on?Getter: Kas te olete kunagi olla kindelMihkel: Olen sama kindel kui ma saan olla.Getter: Sa kõlad väga enesekindel.Mihkel: Mil moel saan tunduda, et?Getter: Esimene neist, arvan ma.Mihkel: Mis oli teine?Getter: Ma ei mõtle enam kui ühe sekundi jooksul.Mihkel: Võibolla mõtted on vaid elektri impulsid.
You can DOWNLOAD the Python code HERE.


Ando “David” Roots is a college student and a software developer from Kunda, Estonia. Living, working and studying in Tallinn, he hopes to get his bachelor degree from the Estonian Information Technology College on IT Systems Development. 