Abstract
Sentiment analysis extracts the mood of a speaker or an author with respect to some subject or the overall contextual polarity of a document. In this paper, an algorithm is proposed for sentiment analysis of tweets extracted from social networking site, i.e., twitter. The comments of users are analyzed and are divided into two parts: positive and the negative sentiments. Algorithms used are keyword spotting and lexical affinity. Tweets are extracted from Twitter through REST API and real time. After that, filtration processes such as stemming, elimination of stop wordsetc are performed and then algorithms are applied on the remaining dataset. The correctness of those algorithms is checked using the results from the standard ALCHEMY API, and the accuracy of those algorithms is calculated individually. A new algorithm is proposed which is the hybrid of both keyword spotting and lexical affinity. The results of that algorithm are generated, and the accuracy is calculated and compared with rest of the algorithms. Machine learning is implemented using NLTK (natural language toolkit).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Liu, B.: Sentiment analysis and subjectivity. In: Handbook of Natural Language Processing (2010)
Binali, H., Potdar, V., Wu, C.: A state of the art opinion mining and its application domains. In: IEEE International Conference on Industrial Technology, pp. 1–6, Feb 2009
Alchemy Api.: Available from: www.alchemyapi.com. Last visited Mar 2012
Batool, R., Khattak, A.M., Maqbool, J., Lee, S.: Precise Tweet Classification and Sentiment Analysis. IEEE (2013)
Nasukawa, T., Yi, J.: Sentiment analysis: capturing favorability using natural language processing. In: Proceedings of the 2nd International Conference on Knowledge Capture, pp. 70–77. ACM (2003)
Yi, J., Nasukawa, T., Bunescu, R., Niblack, W.: Sentiment analyzer: extracting sentiments about a given topic using natural language processing techniques. In: International Conference on Data Mining, ICDM 2003, Third IEEE, pp. 427–434. IEEE (2003)
Godbole, N., Srinivasaiah, M., Skiena, S.: Large-scale sentiment analysis for news and blogs. In: Proceedings of the International Conference on Weblogs and Social Media (ICWSM), pp. 219–222 (2007)
Yang, C., Lin, K.H.Y., Chen, H.H.: Emotion classification using web blog corpora. In: WI’07 Proceedings of the IEEE/WIC/ACM International Conference on Web Intelligence, pp. 275–278. IEEE Computer Society, Washington, DC, USA (2007)
Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision. Technical Report, Stanford (2009)
Gamon, M.: Sentiment classification on customer feedback data: noisy data, large feature vectors, and the role of linguistic analysis. In: Proceedings of the 20th International Conference on Computational Linguistics (2004)
Pak, A., Paroubek, P.: Twitter as a corpus for sentiment analysis and opinion mining, 2010 IEEE (2013)
Cambria, E.: An Introduction to Concept-Level Sentiment Analysis. IEEE (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Ruprah, T.S., Trivedi, N. (2019). Sentiment Analysis of Tweets Through Data Mining Technique. In: Pati, B., Panigrahi, C., Misra, S., Pujari, A., Bakshi, S. (eds) Progress in Advanced Computing and Intelligent Engineering. Advances in Intelligent Systems and Computing, vol 713. Springer, Singapore. https://doi.org/10.1007/978-981-13-1708-8_53
Download citation
DOI: https://doi.org/10.1007/978-981-13-1708-8_53
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-1707-1
Online ISBN: 978-981-13-1708-8
eBook Packages: EngineeringEngineering (R0)