{'fraction_non_alphanumeric': 0.01680672268907563, 'fraction_numerical': 0.006111535523300229, 'mean_word_length': 5.0368663594470044, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Exploring Twitter news biases using urdu-based sentiment lexicon

Social media has become a tremendous success in recent times. It has enabled people to keep in touch with each other anytime and anywhere around the globe. People share their opinions and experiences publically through such platforms. Twitter is one of the significant social networking platform that is used by many news media to disseminate breaking news instantaneously. Sentiment analysis of social media is successfully used to gain insights regarding collective behavior of the society. In addition, sentiment analysis is used to detect positive or negative content posted on the social media for various purposes such as riots detection. In this paper, we focus on the sentiment analysis of news tweets in Urdu language by major news sources in Pakistan. By gathering tweets data over the period of 10 months, we built a sentiment lexicon in Urdu language. Moreover, we devise an algorithm that classifies Urdu text into positive, negative, or neutral classes based on the cumulative sentiment score of the text. Our sentiment analysis algorithm achieves 77% accuracy. Furthermore, we have done perspective analysis in which we estimated the bias in the news reporting through tweets with respect to the government with 77.45% accuracy.