Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Part of Speech Tagging using Social Networks

Code for the paper Stylistic Variation in Part of Speech Tagging.
The dataset used in the paper is from here.


To run the baseline Bi-LSTM Tagger

python --no-ensemble

To run just a plain ensemble of Bi-LSTM Tagger

python --just-ensemble

To run the Social Attention Tagger using the Follow network.

python --network=follow --num-basis=4

You can run the model using either, Follow, Mention or Retweet networks, with any number of basis models.

To run the Social Attention Tagger using all the three social networks.

python --use-all-networks --num-basis=4

Please feel free to contact me if you have any questions on the code or the paper.

If you use this code, please cite our paper:

  title = {Stylistic Variation in Social Media Part-of-Speech Tagging},
  author = {Murali Raghu Babu Balusu and Taha Merghani and Jacob Eisenstein},
  booktitle = {Proceedings of {NAACL} workshop on stylistic variation},
  year = {2018},
  url = {},
  code = {}