Politician – An Imitation Game

  • David Kuboň
  • Eleni Metheniti
  • Barbora Hladká
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10750)


We present the question-answering system Politician, which is a chatbot designed to imitate a fictional politician. The chatbot accepts questions on political issues and answers them accordingly. The questions are analyzed using natural language processing techniques, mainly using a custom scenario built in the Treex system, and no complex knowledge base is involved. Once morphological and syntactic annotations added by language tools are available for the question, an appropriate answer template is selected from the manually created set of answer templates based on nouns, verbs, and named entities occurring in the question. Then the answer template is transformed into a grammatically correct reply. So far, two working versions of Politician, Czech and English, have been created. We conducted a Turing-like test to test Politician’s intelligence. We also briefly investigated the differences between the two languages and potential generalization of the approach to other topics. Apparently, morphological and syntactic information provides enough data for a very basic understanding of questions on a specific topic.


Chatbot Question answering Natural language processing 



This research was supported by the Charles University project No. SVV26033.


  1. 1.
    Abu Shawar, B., Atwell, E.: Using corpora in machine-learning chatbot systems. Int. J. Corpus Linguist. 10(4), 489–516 (2005)CrossRefGoogle Scholar
  2. 2.
    Shawar, B.A., Atwell, E.: Different measurements metrics to evaluate a chatbot system. In: Proceedings of the Workshop on Bridging the Gap: Academic and Industrial Research in Dialog Technologies. Association for Computational Linguistics (2007)Google Scholar
  3. 3.
    Adams, D.: The Hitchhiker’s Guide to the Galaxy, 1st edn. Pan Books, London (1979)Google Scholar
  4. 4.
    Al-Zubaide, H., Issa, A.A.: Ontbot: ontology based chatbot. In: 2011 Fourth International Symposium on Innovation in Information & Communication Technology (ISIICT), pp. 7–12. IEEE, November 2011Google Scholar
  5. 5.
    Ask the Candidates 2012 (n.d.)., Accessed 11 Nov 2017
  6. 6.
    Ask The Donald a Question (n.d.)., Accessed 13 Nov 2017
  7. 7.
    Bao, J., Chen, P., Duan, N., Li, Z., Yan, Z., Zhou, M., Zhou, J.: DocChat: an information retrieval approach for chatbot engines using unstructured documents. In: ACL (2016)Google Scholar
  8. 8.
    Compton, K.: Little procedural people: playing politics with generators. In: Proceedings of the 12th International Conference on the Foundations of Digital Games (FDG 2017). ACM, New York, NY, USA, Article 75, 2 p. (2017)
  9. 9.
    Create Chatbot (n.d.). Accessed 11 Nov 2017
  10. 10.
    Ferrucci, D.A.: Introduction to “this is Watson”. IBM J. Res. Develop. 56(3.4), 1 (2012)CrossRefGoogle Scholar
  11. 11.
    Forelle, M.C., Howard, P.N., Monroy-Hernandez, A., Savage, S.: Political bots and the manipulation of public opinion in Venezuela. In: Proceedings of the 12th International Conference on the Foundations of Digital Games (FDG 2017). ACM, New York, NY, USA, Article 75, 2 p. (2015)
  12. 12.
    KITT.AI (n.d.). Accessed 11 Nov 2017
  13. 13.
    ManyChat - The easiest way to create Facebook Messenger bot (n.d.). Accessed 11 Nov 2017
  14. 14.
    Popel, M., Žabokrtský, Z.: TectoMT: modular NLP framework. In: Proceedings of IceTAL, 7th International Conference on Natural Language Processing, pp. 293–304, Reykjavík, Iceland (2010)Google Scholar
  15. 15.
    Shawar, B.A., Atwell, E.: Using dialogue corpora to train a chatbot. In: Proceedings of the Corpus Linguistics 2003 Conference, pp. 681–690 (2003)Google Scholar
  16. 16.
    Shawar, B.A., Atwell, E.: Chatbots: Are they really useful? In: LDV Forum, vol. 22, no. 1, pp. 29–49 (2007)Google Scholar
  17. 17.
    Turing, A.M.: Computing machinery and intelligence, pp. 433–460. Mind (1950)Google Scholar
  18. 18.
    Twyla - AI Customer Support Chat Bots That Learn From Human Agents (n.d.). Accessed 11 Nov 2017
  19. 19.
    Vinyals, O., Le, Q.: A neural conversational model. arXiv preprint arXiv:1506.05869 (2015)
  20. 20.
    Wallace, R.: The elements of AIML style, pp. 12–20. Alice AI Foundation (2003)Google Scholar
  21. 21.
    Weizenbaum, J.: ELIZA–a Computer program for the study of natural language communication between man and machine. Commun. ACM, pp. 36–45 (1966)Google Scholar
  22. 22. (n.d.). Accessed 11 Nov 2017

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  • David Kuboň
    • 1
  • Eleni Metheniti
    • 2
  • Barbora Hladká
    • 1
  1. 1.Charles UniversityPragueCzech Republic
  2. 2.Saarland UniversitySaarbrückenGermany

Personalised recommendations