AbstractsComputer Science

Chatbot trained on movie dialogue

by Alexander Roghult




Institution: KTH Royal Institute of Technology
Department:
Year: 2014
Keywords: Natural Sciences; Computer and Information Science; Computer Science; Naturvetenskap; Data- och informationsvetenskap; Datavetenskap (datalogi)
Record ID: 1363474
Full text PDF: http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-157637


Abstract

A chatbot is a computer program that engages in written or spoken conversation with a human user. This project aims to investigate the possibility of training a chatbot in using movie dialogue in generating the response. Movie dialogue can be found in both movie scripts as well as subtitles, though using subtitles is much easier as they follow a special formatting. Using one subtitle as a response to each word found in the preceding subtitle, the implemented chatbot links together subtitles. The responses are stored in a frequency distribution table that maps each word to all responses found. Though the responses generated by the chatbot were not desirable, the responsese tmost often contained responses which would be more fitting. The result drawn from hisis that ,with further work and improvement,the chatbot could perform acceptably