Cognitive Computation

, Volume 10, Issue 6, pp 1152–1166 | Cite as

Sentiment Discovery of Social Messages Using Self-Organizing Maps

  • Hsin-Chang YangEmail author
  • Chung-Hong Lee
  • Chun-Yen Wu


Introduction Predicting the sentiments and emotions of people from their texts is a critical issue in cognitive computing. The explosive growth of social network services has led to a tremendous increase of textual data, increasing the demand of the advanced analysis of these data. Sentiment analysis on textual social media data emerged in recent years to fulfill the needs of areas such as national security, business, politics, and economics; however, text messages from social networks are rather different from those of traditional text documents, especially in presentation style and lengths. Therefore, it is difficult but essential to develop an effective method to explore the sentiments of social messages. Methods In this study, we first applied a self-organizing map (SOM) algorithm to cluster social messages as well as sentiment keywords. An association discovery process was then applied to discover the associations between a message and some sentiment keywords, and the sentiment of a message was determined according to such associations. Results We performed experiments on collected Twitter messages and the results’ accuracy outperformed that of a similar approach. Conclusions A sentiment analysis approach based on SOMs was proposed. The associations between messages and keywords were derived using the proposed method. The novelty of this work arises from the adoption of association discovery process in sentiment analysis.


Sentiment analysis Social network analysis Text mining Self-organizing map 



The authors like to thank Prof. Cathy S. Lin for her advices on ethical issues of this work.

Funding Information

This study was funded by National Science Council (grant number 101-2221-E-390-032).

Compliance with Ethical Standards

Conflict of interests

Hsin-Chang Yang declares that he has no conflict of interest. Chung-Hong Lee declares that he/she has no conflict of interest. Chun-Yen Wu declares that he has no conflict of interest.


  1. 1.
    Cambria E, Hussain A. Sentic Computing. Cogn Comput 2015;7(2):183–185. Scholar
  2. 2.
    Oneto L, Bisio F, Cambria E, Anguita D. SLT-Based ELM for Big Social Data Analysis. Cogn Comput 2017;9(2):259–274. Available from: Scholar
  3. 3.
    Asghar MZ, Khan A, Bibi A, Kundi FM, Ahmad H. Sentence-Level Emotion Detection Framework Using Rule-Based Classification. Cogn Comput 2017;9(6):868–894. Available from: Scholar
  4. 4.
    Feng S, Wang Y, Song K, Wang D, Yu G. 2017. Detecting Multiple Coexisting Emotions in Microblogs with Convolutional Neural Networks. Cognitive Computation. Available from:
  5. 5.
    Kohonen T. Self-Organizing Maps. Berlin: Springer-Verlag; 2001.CrossRefGoogle Scholar
  6. 6.
    Oja M, Kaski S, Kohonen T. Bibliography of Self-Organizing map (SOM) papers: 1998-2001 addendum. Neural Comput Surv 2003;3:1–156.Google Scholar
  7. 7.
    Liu YC, Liu M, Wang XL. 2012. Application of self-organizing maps in text clustering: a review. In: Applications of Self-Organizing Maps. InTech.Google Scholar
  8. 8.
  9. 9.
  10. 10.
    Pang B, Lee L. Opinion Mining and Sentiment Analysis. Found Trends Inf Retr 2008;2(1-2):1–135. Available from: Scholar
  11. 11.
    Calvo RA, D’Mello S. Affect detection: An interdisciplinary review of models, methods, and their applications. IEEE Trans Affect Comput 2010;1(1):18–37.CrossRefGoogle Scholar
  12. 12.
    Vinodhini G, Chandrasekaran R. Sentiment analysis and opinion mining: a survey. Int J Adv Res Comput Sci Softw Eng 2012;2(6):282–292.Google Scholar
  13. 13.
    Medhat W, Hassan A, Korashy H. Sentiment analysis algorithms and applications: A survey. Ain Shams Eng J 2014;5(4):1093–1113.CrossRefGoogle Scholar
  14. 14.
    Cambria E. Affective computing and sentiment analysis. IEEE Intell Syst 2016;31(2):102–107.CrossRefGoogle Scholar
  15. 15.
    Poria S, Cambria E, Bajpai R, Hussain. Review of affective computing: From unimodal analysis to multimodal fusion. Inf Fusion 2017;37:98–125.CrossRefGoogle Scholar
  16. 16.
    Turney PD. Thumbs Up or Thumbs Down?: Semantic Orientation Applied to Unsupervised Classification of Reviews. Proceedings of the 40th Annual Meeting on Association for Computational Linguistics. ACL ’02. Stroudsburg: Association for Computational Linguistics; 2002. p. 417–424. Available from:
  17. 17.
    Pang B, Lee L, Vaithyanathan S. Thumbs Up?: Sentiment Classification Using Machine Learning Techniques. Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing - Volume 10. EMNLP ’02. Stroudsburg: Association for Computational Linguistics; 2002. p. 79–86. Available from:
  18. 18.
    Pang B, Lee L. Seeing Stars: Exploiting Class Relationships for Sentiment Categorization with Respect to Rating Scales. Proceedings of the 43rd Annual Meeting on Association for Computational Linguistics. ACL ’05. Stroudsburg: Association for Computational Linguistics; 2005. p. 115–124. Available from:
  19. 19.
    Snyder B, Barzilay R. Multiple Aspect Ranking using the Good Grief Algorithm. In: Proceedings of the Joint Human Language Technology/North American Chapter of the ACL Conference (HLT-NAACL); 2007. p. 300–307.Google Scholar
  20. 20.
    Thelwall M, Buckley K, Paltoglou G, Cai D, Kappas A. Sentiment in Short Strength Detection Informal Text. J Am Soc Inf Sci Technol 2010;61(12):2544–2558. Available from: Scholar
  21. 21.
    Kim SM, Hovy E. Identifying and Analyzing Judgment Opinions. Proceedings of the Main Conference on Human Language Technology Conference of the North American Chapter of the Association of Computational Linguistics. HLT-NAACL ’06. Stroudsburg: Association for Computational Linguistics; 2006. p. 200–207. Available from:
  22. 22.
    Cheong M, Lee V. A study on detecting patterns in Twitter intra-topic user and message clustering. In: Proceedings of 2010 20th International Conference on Pattern Recognition (ICPR). IEEE; 2010. p. 3125–3128.Google Scholar
  23. 23.
    Cheong M, Lee VC. A microblogging-based approach to terrorism informatics: Exploration and chronicling civilian sentiment and response to terrorism events via Twitter. Inf Syst Front 2011;13(1):45–59.CrossRefGoogle Scholar
  24. 24.
    Claster WB, Hung DQ, Shanmuganathan S. Unsupervised artificial neural nets for modeling movie sentiment. In: Proceedings of 2010 Second International Conference on Computational Intelligence, Communication Systems and Networks (CICSyN). IEEE; 2010, p. 349–354.Google Scholar
  25. 25.
    Sharma A, Dey S. Using Self-Organizing maps for sentiment analysis. Proceedings of Knowledge and Information Management Conference(KIM2013). In: Sassman R and Lehaney B, editors. Meriden: The OR Society; 2013. p. 300–314.Google Scholar
  26. 26.
    Pang B, Lee L. A sentimental education: Sentiment analysis using subjectivity summarization based on minimum cuts. In: Proceedings of the 42nd annual meeting on Association for Computational Linguistics. Association for Computational Linguistics; 2004. p. 271.Google Scholar
  27. 27.
    Nguyen T, Phung D, Adams B, Tran T, Venkatesh S. Classification and pattern discovery of mood in weblogs. In: Zaki M J, Yu J X, Ravindran B, and Pudi V, editors. Berlin: Springer Berlin Heidelberg; 2010. p. 283–290.Google Scholar
  28. 28.
    Akay A, Dragomir A, Erlandsson BE. Network-based modeling and intelligent data mining of social media for improving care. IEEE J Biomed Health Inf 2015;19(1):210–218.CrossRefGoogle Scholar
  29. 29.
    dos Santos CN, Gatti M. Deep Convolutional Neural Networks for Sentiment Analysis of Short Texts. In: COLING; 2014. p. 69–78.Google Scholar
  30. 30.
    Severyn A, Moschitti A. Twitter sentiment analysis with deep convolutional neural networks. In: Proceedings of the 38th International ACM SIGIR Conference on Research and Development in Information Retrieval. ACM; 2015. p. 959–962.Google Scholar
  31. 31.
    Poria S, Cambria E, Gelbukh A. Aspect extraction for opinion mining with a deep convolutional neural network. Knowl-Based Syst 2016;108:42–49.CrossRefGoogle Scholar
  32. 32.
    Poria S, Cambria E, Gelbukh A. Deep convolutional neural network textual features and multiple kernel learning for utterance-level multimodal sentiment analysis. In: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing; 2015. p. 2539–2544.Google Scholar
  33. 33.
    Zadeh A, Chen M, Poria S, Cambria E, Morency LP. Tensor fusion network for multimodal sentiment analysis. In: Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing. Copenhagen; 2017. p. 1103–1114.Google Scholar
  34. 34.
    Salton G, McGill MJ. Introduction to modern information retrieval. New York: McGraw-Hill; 1983.Google Scholar
  35. 35.
    Kohonen T, Kaski S, Lagus K, Salojärvi J, Honkela J, Paatero V, et al. Self organization of a massive document collection. IEEE Trans Neural Netw 2000;11(3):574–585.PubMedCrossRefGoogle Scholar
  36. 36.
    Isa D, Kallimani VP, Lee LH. Using the self organizing map for clustering of text documents. Expert Syst Appl 2009;36(5):9584 – 9591. Available from: Scholar
  37. 37.
    Floridi L, Taddeo M. What is data ethics? Philosophical Transactions of the Royal Society of London A: Mathematical. Physical and Engineering Sciences. 2016;374(2083). Available from:
  38. 38.
    Hildebrandt M, Gutwirth S. Profiling the European citizen. Berlin: Springer; 2008.CrossRefGoogle Scholar
  39. 39.
    Schuller B, Ganascia JG, Devillers L. Multimodal sentiment analysis in the wild: Ethical considerations on data collection, annotation, and exploitation. In: ETHI-CA2 2016: ETHics In Corpus Collection, Annotation & Application Workshop Programme; 2016, p. 29–34.Google Scholar
  40. 40.
    Hu M, Liu B. Mining and Summarizing Customer Reviews. In: Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. KDD ’04. New York: ACM; 2004. p. 168–177. Available from:
  41. 41.
    Fleiss JL. Measuring nominal scale agreement among many raters. Psychol Bullet 1971;76(5):378–382.CrossRefGoogle Scholar
  42. 42.
    Landis JR, Koch GG. The measurement of observer agreement for categorical data. Biometrics. 1977:159–174.Google Scholar
  43. 43.
    Cohen J. A coefficient of agreement for nominal scales. Educ Psychol Measur 1960;20(1):37–46.CrossRefGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Department of Information ManagementNational University of KaohsiungKaohsiungTaiwan
  2. 2.Department of Electrical EngineeringNational Kaohsiung University of Science and TechnologyKaohsiungTaiwan

Personalised recommendations