language model(birnn-lm) is to predict a word given the previous words.
python2.7
Tensorflow 1.12
python train.py
python infer.py
- Contextual Bidirectional Long Short-Term Memory Recurrent Neural Network Language Models: A Generative Approach to Sentiment Analysis. Amr El-Desoky Mousa1 and Bjorn Schuller. EACL 2017. paper