Developing a Neural Network based Index for Sentiment Classification