Building a sentiment analyzer using LSTMs