training data frequency generated for sentiment analysis