Analysis and Generation of Humorous Texts in Hindi

Total Page:16

File Type:pdf, Size:1020Kb

Analysis and Generation of Humorous Texts in Hindi Computational Humour: Analysis and Generation of Humorous Texts in Hindi Thesis submitted in partial fulfillment of the requirements for the degree of Masters of Science in Computational Linguistics by Research by Srishti Aggarwal 201325049 [email protected] International Institute of Information Technology Hyderabad - 500 032, INDIA October 2018 Copyright c Srishti Aggarwal, 2018 All Rights Reserved International Institute of Information Technology Hyderabad, India CERTIFICATE It is certified that the work contained in this thesis, titled “Computational Humour: Analysis and Gener- ation of Humorous Texts in Hindi” by Srishti Aggarwal, has been carried out under my supervision and is not submitted elsewhere for a degree. Date Adviser: Prof. Radhika Mamidi To My Parents Acknowledgments I am grateful to all the wonderful people in my life for their encouragement and support for my research work. First and foremost, I thank my parents for their love, support and faith in me. Thank you for being there for me, and for always getting me last minute tickets whenever I felt like coming home. I thank my sister for always wishing me well and being my silent supporter. I thank my family - my grandparents, uncles, aunts, cousins - for celebrating the smallest of victories, encouraging me in the biggest of defeats, and for keeping a joke running about the topic of my research. I would like to express my gratitude towards my advisor Prof. Radhika Mamidi who guided and supported me at each step of this work, right from when I showed interest in this topic more than two years ago. She showed great patience in giving me the freedom to work on my own pace, while also keeping me grounded and on track. I am thankful to Kritik Mathur, who worked with me on this project for a semester and co-authored two submissions with me. All our discussions and the many ideas we tried out really helped shape this work. My sincere gratitutde towards Harshit Harchani, Nisarg Jhaveri and Madhuri Tummalapalli for sup- porting and guiding me throughout my research work, for always lending a patient ear whenever I had something to discuss, or even just wanted to talk out loud, and for giving me company all through this last year. I thank Mohit Goel for the many pep talks he gave me, at all the right times. A special thanks to Arpit Merchant for being there for me and always helping me out whenever and wherever possible. I also want to thank my other friends - Smriti Singh, Vivek Ghaisas, Sanjana Sharma, Anvesh Rao, Kaveri Anuranjana for all the fun times together that made my time at IIIT Hyderabad memorable. v Abstract Humour is an intricate part of human behaviour and a valued quality when developing interpersonal relationships. It is an interesting and challenging domain to work in owing to its subjectivity. Humour is one of the most sophisticated forms of human intelligence and creativity, intimately related with factors such as world knowledge, reasoning and perception. With our AI systems becoming increasingly intelligent, there is now a demand for systems which are more human-like than ever before. No AI system could be complete without the ability to to process and use an integral human phenomenon like humour. Humour is often expressed through language in various forms such as funny stories/anecdotes, jokes, witty sayings, puns etc. This verbally expressed humour is of interest to NLP researchers because it deals with spoken and textual language. The subfield of Computational Linguistics and Artificial Intelligence which aims to develop systems which can use and understand humour like humans do is called Computational Humour. A complete computational humour system has to contain two main modules - a humour interpreter, and a humour generator. Both these modules could have their independent uses in a variety of appli- cations, but when it comes to interactive and comprehensive AI systems, both are equally important. In this thesis, we present a first ever work for computational humour for Hindi. We consider both sub- fields in computational humour - Humour Understanding and Humour Generation, and work on specific applications in both. We study Hindi-English code mixed puns by focusing on automatic recovery of the target words/phrases in them. We define code-mixed puns, analyse the type of structures present in them, and classify them into two main categories - intra-sentential and intra-word code-mixed puns. We then propose a four-step methodology to recover intra-sentential code-mixed puns. On evaluating our model on a test dataset of such puns, we observe that we are able to successfully recover 67%. We recognise several limitations of our system, like the inability to deal with highly unusual and creative language use. For the problem of computational generation of humour, we consider two tasks. First, we build a prototype system which automatically generates a simple form of Dur-se-Dekha jokes in Hindi using a small lexicon and handcrafted rules. Second, we design an algorithm which can induce humour in a short non-humorous text by performing single word subsitutions on the basis of phonetic similarity vi vii and sentiment opposition. We perform human evaluation on the results of both and observe that we are successfully able to generate funny instances in both these cases. Contents Chapter Page 1 Introduction :::::::::::::::::::::::::::::::::::::::::: 1 1.1 Computational Humour . 2 1.2 Motivation . 3 1.3 Our Contributions . 4 1.4 Thesis Organisation . 5 2 Background and Related Work ::::::::::::::::::::::::::::::::: 6 2.1 Theories of Humour . 6 2.1.1 Conventional Theories of Humour . 6 2.1.2 Linguistic Theories of Humour . 8 2.2 Computational Humour . 9 2.2.1 Humour Detection and Understanding . 9 2.2.2 Humour Generation . 11 3 Understanding Code-Mixed Puns ::::::::::::::::::::::::::::::: 17 3.1 Introduction . 17 3.2 Our contribution . 18 3.3 Background and Related Work . 18 3.3.1 Linguistic Studies on Puns . 18 3.3.2 Code-Mixing . 19 3.4 Classification of Code-Mixed Puns . 20 3.4.1 Intra-Sentential Code-Mixed Puns . 20 3.4.2 Intra-Word Code Mixed Puns . 21 3.5 Test dataset . 21 3.6 Our Model . 23 3.7 Results and Discussion . 26 3.8 Future Work . 28 3.9 Conclusions . 28 4 Humour Generation :::::::::::::::::::::::::::::::::::::: 29 4.1 Automatic Generation of Dur-se-Dekha jokes . 29 4.1.1 Introduction . 29 4.1.2 Dur-se-Dekha ................................... 30 4.1.3 Our Model . 33 4.1.4 Evaluation and Results . 35 viii CONTENTS ix 4.1.5 Future Extensions . 36 4.1.6 Summary . 37 4.2 Word Substitutions to Induce Humour in Short Phrases . 37 4.2.1 Introduction . 37 4.2.2 Experiment . 38 4.2.3 Evaluation and Discussion . 39 4.2.4 Summary . 40 4.3 Conclusion . 40 5 Conclusion ::::::::::::::::::::::::::::::::::::::::::: 42 Bibliography :::::::::::::::::::::::::::::::::::::::::::: 45 List of Figures Figure Page 3.1 An example of an Amul advertisement containing a intra-word code-mixed pun from 2014. 22 3.2 Flowchart depicting the model for target recovery of code-mixed puns. 24 x List of Tables Table Page 3.1 Examples of intra-sentential code-mixed puns . 20 3.2 Examples of intra-word code-mixed puns . 21 3.3 Distribution of the different types of puns in our test dataset. 22 3.4 Labels for various categories in the language identification step. 23 3.5 Examples of puns successfully recovered by our system . 26 3.6 Example for the error case were a single pun word maps to more than one word in the target. 26 3.7 Example for the error case where the pun is based on the pronunciation of an abbreviation. 27 3.8 Example for the error case where the pun is based on the pronunciation of an abbreviation. 27 3.9 Example for the error case where the target is rare or a new coinage. 27 4.1 The basic structure of Dur-se-Dekha jokes . 30 4.2 The basic structure of Dur-se-Dekha jokes translated to English. 30 4.3 The structure of Type1(a) Dur-se-Dekha jokes (with NP punchlines). 31 4.4 Examples of Type1(a) Dur-se-Dekha jokes (those with NP punchlines). 31 4.5 The structure Type1(b) Dur-se-Dekha jokes (with VP punchlines) . 32 4.6 Examples of Type1(b) Dur-se-Dekha jokes (those with VP punchlines). 32 4.7 Structure of Type2 Dur-se-Dekha jokes . 33 4.8 Examples of Type2 Dur-se-Dekha jokes . 33 4.9 Examples of Dur-se-Dekha generated by our system. 35 4.10 Mean naturalness values of human created jokes vs system generated jokes. 36 4.11 Mean Funniness values, and standard deviations of system generated jokes with varying constraints. 36 4.12 Example texts from the Baseline model. 38 4.13 Example texts from the our sentiment based model. 39 4.14 Breakdown of ratings given to jokes from both models . 39 xi Chapter 1 Introduction Philosophers and researchers since the times of Aristotle [45] and Plato [58] have been trying to understand and define the concept of humour. There are dozens of different definitions of humour. The Oxford English Dictionary defines humour as “that quality of action, speech, or writing which excites amusement; oddity, jocularity, facetiousness, comicality, fun" [78]. According to other researchers, humour can been seen as “any object or event that elicits laughter, amuses or is felt to be funny" [73], or a “non-serious social incongruity" [7], or even an individual trait or a characterictic of a person(rather than a statement/event) [41, 42]. Definitions of humour have evolved from those which relied on laughter into a multi-disciplinary topic of research and spans over the fields of sociology, physiology, psychology, phiosophy, literature and linguistics.
Recommended publications
  • Proceedings of 3Rd International Workshop on Computational Humor
    Computational Humor 2012 EXTENDED ABSTRACTS OF THE (3rd INTERNATIONAL) WORKSHOP ON COMPUTATIONAL HUMOR Amsterdam, June 8, 2012 Anton Nijholt (ed.) CIP GEGEVENS KONINKLIJKE BIBLIOTHEEK, DEN HAAG Nijholt, A. Computational Humor 2012 Proceeding of 3rd International Workshop on Computational Humor A. Nijholt (ed.) Amsterdam, Universiteit Twente, Faculteit Elektrotechniek, Wiskunde en Informatica ISSN 0929–0672 CTIT Workshop Proceedings Series WP12-02 Keywords: humor, humor models, humor theory, humor generation, corpora, jokes, semantics ontologies, natural language processing © Copyright 2012; Universiteit Twente, Enschede Book orders: Ms. C. Bijron University of Twente Faculty of Electrical Engineering, Mathematics and Computer Science P.O. Box 217 NL 7500 AE Enschede tel: +31 53 4893740 fax: +31 53 4893503 Email: [email protected] Druk- en bindwerk: Ipskamp Drukkers, Enschede. Preface to Computational Humor 2012 Like its predecessors in 1996 (University of Twente, the Netherlands) and 2002 (ITC-irst, Trento, Italy), this Third International Workshop on Computational Humor (IWCH 2012) focusses on the possibility to find algorithms that allow understanding and generation of humor. There is the general aim of modeling humor, and if we can do that, it will provide us with lots of information about our cognitive abilities in general, such as reasoning, remembering, understanding situations, and understanding conversational partners. But it also provides us with information about being creative, making associations, storytelling and language use. Many more subtleties in face-to-face and multiparty interaction can be added, such as using humor to persuade and dominate, to soften or avoid a face threatening act, to ease a tense situation or to establish a friendly or romantic relationship.
    [Show full text]
  • Computational Humor [email protected] Kim Binsted, University of Hawaii
    Trends & Controversies Steven Staab University of Karlsruhe Computational Humor [email protected] Kim Binsted, University of Hawaii No, this is no April Fool’s prank. Computer scientists at labs around the world are conducting serious research into … humor. Although it might seem whimsical, many excellent reasons exist to take a closer look at this fascinating aspect of human cognition and interaction. cally addressed language phenomena that are amenable to Humor affects attention and memory, facilitates social interaction, combinatorial approaches using static and stereotypical and ameliorates communication problems. If computers are ever semantic representations. Although such approaches are going to communicate naturally and effectively with humans, they adequate for much of language, they’re not easily extended must be able to use humor. Moreover, humor provides insight into to capture humans’ more creative language interpretation how humans process language—real, complex, creative language, capacities. An alternative tack is to begin by modeling less not just a tractable subset of standard sentences. By modeling humor typical, more complex phenomena, with the goal of generation and understanding on computers, we can gain a better encompassing standard language as a trivial case.1 picture of how the human brain handles not just humor but language and cognition in general. Semantic interpretation In popular perception, computers will never be able to use or Suppose you hear someone saying, “Everyone had so appreciate humor. Fictional computers and robots are almost always much fun diving from the tree into the swimming pool, we portrayed as humorless, even if they’re skilled at natural language, decided to put in a little … ” At the point in the sentence graceful bipedal motion, and other human behaviors that current where you hear the words “put in,” you’ve already com- machines find challenging.
    [Show full text]
  • Computational Creativity: Coming of Age
    Editorial Computational Creativity: Coming of Age Simon Colton, Ramon López de Mántaras, and Oliviero Stock n This editorial provides an introduction to current AI research on computationally created A artifacts as well as to the papers and topics cov- t its heart, computational creativity is the study of build- ered by this special issue on computational cre- ing software that exhibits behavior that would be deemed cre- ativity. ative in humans. Such creative software can be used for autonomous creative tasks, such as inventing mathematical the- ories, writing poems, painting pictures, and composing music. However, computational creativity studies also enable us to understand human creativity and to produce programs for cre- ative people to use, where the software acts as a creative collab- orator rather than a mere tool. Historically, it’s been difficult for society to come to terms with machines that purport to be intel- ligent and even more difficult to admit that they might be cre- ative. For instance, in 1934, some professors at the University of Manchester in the United Kingdom built meccano models that were able to solve some mathematical equations. Groundbreak- ing for its time, this project was written up in a piece in Mecca- no Magazine. The article was titled “Are Thinking Machines Pos- sible” and was very upbeat, but surprisingly ends by stating that “Truly creative thinking of course will always remain beyond the power of any machine.” Surely, though, this attitude has changed in light of the amaz- ing advances in hardware and software technology that fol- lowed those meccano models? Sadly, no.
    [Show full text]
  • Learning to Laugh (Automatically): Computational Models for Humor
    Computational Intelligence, Volume 22, Number 2, 2006 LEARNING TO LAUGH (AUTOMATICALLY): COMPUTATIONAL MODELS FOR HUMOR RECOGNITION RADA MIHALCEA Department of Computer Science, University of North Texas, Denton, TX 76203 CARLO STRAPPARAVA ITC – irst, Istituto per la Ricerca Scientifica e Tecnologica, I-38050, Povo, Trento, Italy Humor is one of the most interesting and puzzling aspects of human behavior. Despite the attention it has received in fields such as philosophy, linguistics, and psychology, there have been only few attempts to create computational models for humor recognition or generation. In this article, we bring empirical evidence that compu- tational approaches can be successfully applied to the task of humor recognition. Through experiments performed on very large data sets, we show that automatic classification techniques can be effectively used to distinguish between humorous and non-humorous texts, with significant improvements observed over a priori known baselines. Key words: computational humor, humor recognition, sentiment analysis, one-liners. 1. INTRODUCTION ... pleasure has probably been the main goal all along. But I hesitate to admit it, because computer scientists want to maintain their image as hard-working individuals who deserve high salaries. Sooner or later society will realize that certain kinds of hard work are in fact admirable even though they are more fun than just about anything else. (Knuth 1993) Humor is an essential element in personal communication. While it is merely consid- ered a way to induce amusement, humor also has a positive effect on the mental state of those using it and has the ability to improve their activity. Therefore computational humor deserves particular attention, as it has the potential of changing computers into a creative and motivational tool for human activity (Stock, Strapparava, and Nijholt 2002; Nijholt et al.
    [Show full text]
  • Computational Humor
    Making Computers Laugh: Investigations in Automatic Humor Recognition Rada Mihalcea Carlo Strapparava Department of Computer Science Istituto per la Ricerca Scientifica e Tecnologica University of North Texas ITC – irst Denton, TX, 76203, USA I-38050, Povo, Trento, Italy [email protected] [email protected] Abstract Previous work in computational humor has fo- cused mainly on the task of humor generation (Stock Humor is one of the most interesting and and Strapparava, 2003; Binsted and Ritchie, 1997), puzzling aspects of human behavior. De- and very few attempts have been made to develop spite the attention it has received in fields systems for automatic humor recognition (Taylor such as philosophy, linguistics, and psy- and Mazlack, 2004). This is not surprising, since, chology, there have been only few at- from a computational perspective, humor recogni- tempts to create computational models for tion appears to be significantly more subtle and dif- humor recognition or generation. In this ficult than humor generation. paper, we bring empirical evidence that In this paper, we explore the applicability of computational approaches can be success- computational approaches to the recognition of ver- fully applied to the task of humor recogni- bally expressed humor. In particular, we investigate tion. Through experiments performed on whether automatic classification techniques are a vi- very large data sets, we show that auto- able approach to distinguish between humorous and matic classification techniques can be ef- non-humorous text, and we bring empirical evidence fectively used to distinguish between hu- in support of this hypothesis through experiments morous and non-humorous texts, with sig- performed on very large data sets.
    [Show full text]
  • XSYSIGMA at Semeval-2020 Task 7: Method for Predicting Headlines
    XSYSIGMA at SemEval-2020 Task 7: Method for Predicting Headlines’ Humor Based on Auxiliary Sentences with EI-Bert Jian Ma , Shu-Yi Xie , Mei-Zhi Jin, Lian-Xin Jiang , Yang Mo , Jian-Ping Shen Ping An Life Insurance AI Department ShenZhen, China fMAJIAN446,XIESHUYI542,EX-JINMEIZHI001,JIANGLIANXIN769, MOYANG853,[email protected] Abstract This paper describes xsysigma team’s system for SemEval 2020 Task 7: Assessing the Funniness of Edited News Headlines. The target of this task is to assess the funniness changes of news headlines after minor editing and is divided into two subtasks: Subtask 1 is a regression task to detect the humor intensity of the sentence after editing; and Subtask 2 is a classification task to predict funnier of the two edited versions of an original headline. In this paper, we only report our implement of Subtask 2. We first construct sentence pairs with different features for Enhancement Inference Bert(EI-Bert)’s input. We then conduct data augmentation strategy and Pseudo-Label method. After that, we apply feature enhancement interaction on the encoding of each sentence for classification with EI-Bert. Finally, we apply weighted fusion algorithm to the logits results which obtained by different pre-trained models. We achieve 64.5% accuracy in subtask2 and rank the first and the fifth in dev and test dataset1, respectively. 1 Introduction Humor detection is a significant task in natural language processing. Most of the available humor datasets treat it as a binary classification task (Khodak et al., 2017; Davidov et al., 2010; Barbieri et al., 2014), i.e., examining whether a particular text is funny.
    [Show full text]
  • Exploring Mainstream Natural Language Processing
    EXPLORING MAINSTREAM NATURAL LANGUAGE PROCESSING TECHNIQUES AND THEIR APPLICATION TO COMPUTATIONAL HUMOR An Undergraduate Research Scholars Thesis by DHANANJAY KHANNA Submitted to the Undergraduate Research Scholars program at Texas A&M University in partial fulfillment of the requirements for the designation as an UNDERGRADUATE RESEARCH SCHOLAR Approved by Research Advisor: Dr. Dylan Shell May 2018 Major: Computer Science TABLE OF CONTENTS Page ABSTRACT .................................................................................................................................. 1 ACKNOWLEDGMENTS ............................................................................................................ 2 NOMENCLATURE ..................................................................................................................... 3 CHAPTER I. INTRODUCTION ...................................................................................................... 4 II. METHODS ................................................................................................................. 9 Generation ........................................................................................................... 11 Representation ..................................................................................................... 12 III. RESULTS ................................................................................................................. 16 Generation ..........................................................................................................
    [Show full text]
  • Computers Learning Humor Is No Joke
    Harvard Data Science Review Computers Learning Humor Is No Joke Thomas Winters Published on: Apr 30, 2021 DOI: 10.1162/99608f92.f13a2337 License: Creative Commons Attribution 4.0 International License (CC-BY 4.0) Harvard Data Science Review Computers Learning Humor Is No Joke Column Editor’s note: Machine generation and comprehension of language is a difficult enough task, but it's not even funny how difficult it is for a machine to produce and detect humor. Data scientist Thomas Winters explains the reasons for this challenge, and addresses how much humor a computer can learn. (Spoiler: A bit). Keywords: computational humor, humor detection, humor generation Can a computer have a sense of humor? On reflection, this question may seem paradoxical given that humor is such an intrinsically human trait. While some primates produce laughter (Gervais & Wilson, 2005; Preuschoft & Hooff, 1997), humans are the only known species that use humor for making others laugh. Furthermore, every known human civilization also has had at least some form of humor for making others laugh (Caron, 2002; (Gervais & Wilson, 2005. Given this innately and intrinsically human skill, it might seem implausible for a machine to have any form of a sense of humor. In this article, we explore several computational techniques that have been used to detect and generate humor, and how these systems can help us improve our humor abilities and gain more insights into this uniquely human trait. Human Sense of Humor Over the whole of human history, many scholars investigated the inner workings of humor, resulting in an abundance of different theories for explaining verbally expressed humor.
    [Show full text]
  • An Evocative Humorist Chat-Bot
    Mobile Information Systems 4 (2008) 165–181 165 IOS Press EHeBby: An evocative humorist chat-bot Giovanni Pilatoa,∗, Agnese Augellob, Giorgio Vassallob and Salvatore Gaglioa,b aICAR-CNR Istituto di CAlcolo e Reti ad alte prestazioni, Italian National Research Council, Viale delle Scienze, Ed. 11, 90128 Palermo, Italy bDINFO – Dipartimento di Ingegneria Informatica, University of Palermo, Viale delle Scienze, Ed. 6, 90128 Palermo, Italy Abstract. A conversational agent, capable to have a “sense of humor” is presented. The agent can both generate humorous sentences and recognize humoristic expressions introduced by the user during the dialogue. EHeBby is an entertainment oriented conversational agent implemented using the ALICE framework embedded into an Yahoo! Messenger client. It is characterized by two areas: a rational, rule-based area and an evocative area. The first one is based on well founded techniques of computational humor and a standard AIML KB. The second one is based on a conceptual space, automatically induced by a corpus of funny documents, where KB items and user sentences are mapped. This area emulates an associative/evocative behavior of the conversational agent, making her more attractive. EHeBby includes also an avatar that changes the face expression according to humoristic content of the dialogue. 1. Introduction The interest about enhancing the interface usability of applications and entertainment platforms has increased in last years. Intelligent user interfaces can help people during the interaction with a system in a natural manner, trying to understand and anticipate user needs [22]. Pattern matching, finite-state-machines and frame-based models are commonly used as methodologies for designing chat-bots.
    [Show full text]
  • Computer, Tell Me a Joke ... but Please Make It Funny: Computational Humor with Ontological Semantics
    Computer, Tell Me a Joke ... but Please Make it Funny: Computational Humor with Ontological Semantics Christian F. Hempelmann1, Victor Raskin2, and Katrina E. Triezenberg2 Georgia Southern University1 Purdue University2 Department of Writing and Linguistics NLP Lab and Linguistics Program Statesboro, GA 30460 West Lafayette, IN 47905 [email protected] {vraskin, kattriez}@purdue.edu Abstract based human-computer interaction. Finally, an additional Computational humor is a subdiscipline of computational benefit of studying computational humor can be reaped for linguistics with applications in human computer interfaces, those interested in humor, as it requires formalization of edutainment, affective computing, intelligent agents, and the key components in order to make them palatable to the other areas. Based on ontological semantics, we develop the dumb machine. resources and algorithms the computer needs to understand and produce humor, in principle and on a detailed example. Before and since Apple’s joke teller, little progress has Our ultimate output will not be that of a toy system that fills been made in computational humor, both in humor analysis in templates, previously the only available approach, but and humor generation (HG), and we predict that extant rather true natural language generation, based on the template-based systems are not going to lead to computer approximation of the human understanding of the joke. This paper shows how ontological semantics provides breakthroughs in natural language engineering, and much for and computes the full computer understanding of humor, less in forcing us to create theories that could tell us about a sine qua non of humor generation. the mechanisms involved in human humor use.
    [Show full text]
  • Computational Creativity: Automated Pun Generation
    International Journal of Computer Applications (0975 – 8887) Volume 140 – No.10, April 2016 Computational Creativity: Automated Pun Generation Priyanshi R. Shah Chintan D. Thakkar Swati Mali K.J. Somaiya K.J. Somaiya Department of College of Engineering College of Engineering Computer Engineering Ghatkopar, Mumbai-77 Ghatkopar, Mumbai-77 K.J. Somaiya Maharashtra India Maharashtra India College of Engineering Ghatkopar, Mumbai-77 Maharashtra India ABSTRACT puns (riddles in question answer format) using richness of Humor is an integral part of our day-to-day communication English language and concepts like synonyms, homophones to making it interesting and plausible. The growing demand in help children build their vocabulary in a fun-loving way. It robotics and the constant urge for machines to pass the Turing could also be used by old retired people as a source of test to eliminate the thin line difference between human and entertainment. machine behavior make it essential for machines to be able to There has been immense research in the field of use humor in communication. computational creativity since 1992 and the JAPE Moreover, Learning is a continuous process and very algorithm[10], the only successful prototype implementation important at every stage of life. However sometimes merely proving humor could be used by machines too was reading from a book induces lassitude and lack of revolutionary. However there was no practical application of concentration may hamper strong foundation building. the prototype created as it lacked a proper GUI and the puns generated were quite often bizarre. Children suffering from Autism Spectrum Disorder (ASD) suffer from slow learning and grasping issues.
    [Show full text]
  • Neural Joke Generation
    Neural Joke Generation He Ren, Quan Yang Department of Electrical Engineering, Stanford University {heren, quanyang}@stanford.edu Abstract Humor generation is a very hard problem in the area of computational humor. In this paper, we present a joke generation model based on neural networks. The model can generate a short joke relevant to the topic that the user specifies. Inspired by the architecture of neural machine translation and neural image captioning, we use an encoder for representing user-provided topic information and an RNN decoder for joke generation. We trained the model by short jokes of Conan O’Brien with the help of POS Tagger. We evaluate the performance of our model by human ratings from five English speakers. In terms of the average score, our model outperforms a probabilistic model that puts words into slots in a fixed-structure sentence. 1 Introduction Humor research has been an important part of literature, linguistic and cognitive science for a few decades, and theorists have believed that incongruity contributes to sensations of humor. Many researchers have been studying the logic, mathematical foundations and computational models of humor [1]. Concretely, probabilistic model of sentence comprehension can help explain essential features of the complex phenomenon of linguistic humor [2], and the paper concludes that both ambiguity and distinctiveness are significant predictors of humor. Computational humor is a relatively new field of study and branch of artificial intelligence which uses computers to model humor. Joke generation is a very hard problem in this field. Researchers have proposed mathematical models to generate fixed-structure joke [3] with the help of big data.
    [Show full text]