Coder Social home page Coder Social logo

samjkwong / nlg-nmt Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 34.01 MB

Text generation for humorous and cohesive dialogue scripts.

Python 6.33% Erlang 93.50% Shell 0.15% JavaScript 0.02%
natural-language-processing natural-language-generation nlp-machine-learning

nlg-nmt's Introduction

Natural Language Generation of The Office Using a Neural Machine Translation Context

Final project for CS224N: Natural Language Processing with Deep Learning.

Abstract

Advances in deep learning and neural networks in recent years have led to impressive advancements in text generation. However, text generation by neural networks is still often incomprehensible to a human reader beyond a single sentence. This problem is especially noticeable in film dialogue scripts. In a script, each line of dialogue is made by a particular character, with the next line of dialogue often being a response to that speaker from another speaker. Our goal in this paper is to improve the flow of exchange between characters in the script dialogue, namely, when exactly characters choose to speak and what they say in response to each other. We propose a natural language generation model using a neural machine translation context. Words spoken to a certain character in a script are treated as source sentences, and their responses are target sentences. Using this unique model, we are able to significantly improve on coherence and humor when compared to Recurrent Neural Network language models.

Paper

https://github.com/samjkwong/cs224n-final/blob/master/paper.pdf

Poster

https://github.com/samjkwong/cs224n-final/blob/master/poster.pdf

nlg-nmt's People

Contributors

wintony avatar samjkwong avatar

Stargazers

 avatar

Forkers

rseet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.