Sentiment Analysis with Global Topics and Local Dependency