Real-World Natural Language Processing
This repository contains example code for the book "Real-World Natural Language Processing."
AllenNLP (2.5.0 or above) is required to run the example code in this repository.
Examples included in this repository:
- Sentiment analysis (LSTM) [blog article] [Colab notebook]
- Sentiment analysis (CNN) [Colab notebook]
- Sentiment analysis (with BERT) [AllenNLP config]
- Language detector [Colab notebook]
- Part-of-speech tagging [blog article] [Colab notebook]
- Named entity recognition (NER) [Colab notebook]
- Language generation [Colab notebook (LSTM)] [Colab notebook (Transformers)]