afinn DEMO Sentment Analysis in Javascript using the AFINN lexicon The demonstration UI uses Bootstrap and a single javascript file that contains the sentiment analysis code along with the lexicon.