Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mhagiwara/realworldnlp

Example code for "Real-World Natural Language Processing"
https://github.com/mhagiwara/realworldnlp

Last synced: 3 months ago
JSON representation

Example code for "Real-World Natural Language Processing"

Awesome Lists containing this project

README

        

# Real-World Natural Language Processing

This repository contains example code for the book ["Real-World Natural Language Processing."](https://www.manning.com/books/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](http://www.realworldnlpbook.com/blog/training-sentiment-analyzer-using-allennlp.html)] [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_classifier.ipynb)]
* Sentiment analysis (CNN) [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_cnn_classifier.ipynb)]
* Sentiment analysis (with BERT) [[AllenNLP config](https://github.com/mhagiwara/realworldnlp/blob/master/examples/sentiment/sst_classifier_bert.jsonnet)]
* Language detector [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/sentiment/language_detector.ipynb)]
* Part-of-speech tagging [[blog article](http://www.realworldnlpbook.com/blog/how-to-convert-an-allennlp-model-and-deploy-on-caffe2-and-tensorflow.html)] [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/pos/pos_tagger.ipynb)]
* Named entity recognition (NER) [[Colab notebook](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/ner/ner.ipynb)]
* Language generation [[Colab notebook (LSTM)](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/generation/lm.ipynb)] [[Colab notebook (Transformers)](https://colab.research.google.com/github/mhagiwara/realworldnlp/blob/master/examples/generation/transformers.ipynb)]