Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patrikasvanagas/bi-lstm-glove-sentiment-classification

End-to-end review sentiment classification with text preprocessing, Bidirectional Long Short-Term Memory networks and Glove embeddings.
https://github.com/patrikasvanagas/bi-lstm-glove-sentiment-classification

bi-lstm bidirectional-lstm bidirectional-rnn glove glove-embeddings keras long-short-term-memory lstm lstm-sentiment-analysis natural-language-processing sentiment-analysis sentiment-classification text-classification text-processing

Last synced: 10 days ago
JSON representation

End-to-end review sentiment classification with text preprocessing, Bidirectional Long Short-Term Memory networks and Glove embeddings.

Awesome Lists containing this project

README

        

# Bidirectional-LSTM-Sentiment-Classification

[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1xPGlzrhixdJjNDbuj2FYJLvE1wG7nql7?pli=1)

This repository provides an example of an end-to-end approach to sentiment classification using [Bidirectional](https://en.wikipedia.org/wiki/Bidirectional_recurrent_neural_networks) [Long Short-Term Memory](https://en.wikipedia.org/wiki/Long_short-term_memory) networks with pre-trained [Glove embeddings](https://nlp.stanford.edu/projects/glove/). The workflow involves several preprocessing steps, including expansion of contractions and extraction of sentiment from multiple files, before implementing the Bi-LSTM model for classification. Additionally, experiments with early stopping, test sequences and cross-validation are carried out. The dataset, available in this repository, originates from the following paper:

> Ding, X., Liu, B. and Yu, P. S. (2008) ‘A Holistic Lexicon-Based Approach to Opinion Mining’. In *Proceedings of the 2008 International Conference on Web Search and Data Mining (WSDM '08)*. [DOI: 10.1145/1341531.1341561](https://dl.acm.org/doi/10.1145/1341531.1341561).

To run the notebook with access to a free GPU, click on the 'Open In Colab' badge above.