Coder Social home page Coder Social logo

coolrb / nlu-email-title Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yingj1n/nlu-email-title

0.0 1.0 0.0 271 KB

Natural Language Understanding (Text Summarization) task for autonomous email title generation.

Python 12.34% Jupyter Notebook 87.66%

nlu-email-title's Introduction

NLU-email-title

Informal and noisy text summarization is a meaningful task with practical use potentials. In this project, we adopted the data-driven attention-based neural model on the task to generate email titles. The experiment evaluations show that our model achieves 21.22 Rouge-L and 17.10 BLEU. We showed that the attention-based model outperforms the extractive methods, though informal text summarization remains to be a challenge.

Datasets

The Enron Corpus were used in this project. The original dataset can be downloaded at https://www.cs.cmu.edu/~enron/. It is parsed by the Parsing Enron Data.ipynb under the notebook folder. The parsing outputs a CSV file that contains subject line and first email body.

Baseline Model

The baseline model is TextRank, which is a extractive graph-based model. The notebook baseline_test.ipynb demonstrated the process of extracting subject lines and computing rouge scores. The extractive technique does not require further training.

Encoder-Decoder Model

This is an abstractibe model, also known as ABS. We use notebook Training Encoder Decoder.ipynb to train the model. Our encoder is a bidirectional GRU (gated recurrent unit) and the decoder is attentional based. The training takes roughly 4 hours on the entire preprocessed enron corpus.

nlu-email-title's People

Contributors

yingj1n avatar yuntianye avatar millebean avatar

Watchers

James Cloos avatar

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.