Skip to main content

Should You Use a Vote Module for Sentiment Classification of Online Social Text?

  • Conference paper
  • First Online:
Highlights in Practical Applications of Agents, Multi-Agent Systems, and Trust-worthiness. The PAAMS Collection (PAAMS 2020)

Abstract

In this work, we conduct a study where we compare the usage of a single classifier and the usage of a majority vote system composed of multiple classifiers. Each classifier was created using machine learning techniques and trained with real data. For the domain, we considered textual expressions present on online social networks, which can be volatile in characters count. This work seeks to prove two hypothesis: (1) the usage of a vote module that considers the output of an odd number of classifiers, will address the advantages characteristics of each classifier while mitigating their disadvantages; (2) the usage of a vote system will enable classifiers to correctly classify new labels that were not defined in the training process (like classifying neutral sentiment in addition to positive and negative). Our vote module is composed by a Naïve Bayes, a Logistic Regression, and a Support Vector Machine classifier. The tests that we conducted consider the online social textual content that varies in the character counting and our results suggests that there is no need for a vote system when considering the online social content, like comments, that is typically informal and do not surpass the count of 500 characters.

This work has been supported by FCT - Fundação para a Ciência e Tecnologia within the Project Scope: UIDB/04728/2020.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://nltk.org/.

References

  1. Barbosa, R., Santos, R.: Online social networks as sensors in smart environments. In: 2016 Global Information Infrastructure and Networking Symposium (GIIS). IEEE, October 2016. https://doi.org/10.1109/giis.2016.7814950

  2. Barbosa, R., Santos, R.: Layer by layer: a multidimensional approach to online social profiles. In: 2017 Computing Conference. IEEE, July 2017. https://doi.org/10.1109/sai.2017.8252202

  3. Barbosa, R., Santos, R.: Multidimensional approach to online interest networks. In: DEStech Transactions on Computer Science and Engineering (CMEE), January 2017. https://doi.org/10.12783/dtcse/cmee2016/5372

  4. Bespalov, D., Bai, B., Qi, Y., Shokoufandeh, A.: Sentiment classification based on supervised latent n-gram analysis. In: Proceedings of the 20th ACM International Conference on Information and Knowledge Management. CIKM 2011, pp. 375–382. ACM, New York (2011). https://doi.org/10.1145/2063576.2063635

  5. Catal, C., Nangir, M.: A sentiment classification model based on multiple classifiers. Appl. Soft Comput. 50, 135–141 (2017). https://doi.org/10.1016/j.asoc.2016.11.022

    Article  Google Scholar 

  6. Celli, F.: Adaptive Personality Recognition from Text. LAP Lambert Academic Publishing (2013). https://www.ebook.de/de/product/20375194/fabio_celli_adaptive_personality_recognition_from_text.html

  7. Chopra, D., Joshi, N., Mathur, I.: Mastering Natural Language Processing with Python. Packt Publishing, Birmingham (2016)

    Google Scholar 

  8. Harrison: Positive and negative short reviews dataset, May 2013. https://pythonprogramming.net/static/downloads/short_reviews/

  9. Jackson, D.: Know your limit: The ideal length of every social media post. https://sproutsocial.com/insights/social-media-character-counter//

  10. Kim, Y.: Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882 (2014)

  11. Koppel, M., Schler, J.: The importance of neutral examples for learning sentiment. Comput. Intell. 22(2), 100–109 (2006). https://doi.org/10.1111/j.1467-8640.2006.00276.x. https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1467-8640.2006.00276.x

    Article  MathSciNet  Google Scholar 

  12. Kotzias, D., Denil, M., De Freitas, N., Smyth, P.: From group to individual labels using deep features. In: Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 597–606. ACM (2015)

    Google Scholar 

  13. Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up?: sentiment classification using machine learning techniques. In: Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing. EMNLP 2002, vol. 10, pp. 79–86. Association for Computational Linguistics, Stroudsburg (2002). https://doi.org/10.3115/1118693.1118704

  14. Patodkar, V., I.R., S.: Twitter as a corpus for sentiment analysis and opinion mining. IJARCCE 5, 320–322 (2016). https://doi.org/10.17148/IJARCCE.2016.51274

  15. Platt, J.C.: Advances in Kernel Methods: Support Vector Learning. The MIT Press, Cambridge (1998). https://www.amazon.com/Advances-Kernel-Methods-Support-Learning/dp/0262194163?SubscriptionId=0JYN1NVW651KCA56C102&tag=techkie-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=0262194163

    Google Scholar 

  16. Severyn, A., Moschitti, A.: Unitn: training deep convolutional neural network for Twitter sentiment classification. In: Proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015), pp. 464–469 (2015)

    Google Scholar 

  17. Socher, R.,et al.: Recursive deep models for semantic compositionality over a sentiment treebank. In: Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pp. 1631–1642 (2013)

    Google Scholar 

  18. Sotiropoulos, D.N., Pournarakis, D.E., Giaglis, G.M.: SVM-based sentiment classification: a comparative study against state-of-the-art classifiers. Int. J. Comput. Intell. Stud. 6(1), 52–67 (2017)

    Article  Google Scholar 

  19. Tang, D., Wei, F., Qin, B., Liu, T., Zhou, M.: Coooolll: a deep learning system for twitter sentiment classification. In: Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014), pp. 208–212 (2014)

    Google Scholar 

  20. Vapnik, V.N.: The Nature of Statistical Learning Theory. Springer, Heidelberg (1998). https://www.amazon.com/Nature-Statistical-Learning-Theory/dp/0387945598?SubscriptionId=0JYN1NVW651KCA56C102&tag=techkie-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=0387945598

    MATH  Google Scholar 

  21. Wawre, S.V., Deshmukh, S.N.: Sentiment classification using machine learning techniques. Int. J. Sci. Res. (IJSR) 5(4), 819–821 (2016)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Ricardo Barbosa or Ricardo Santos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Barbosa, R., Santos, R., Novais, P. (2020). Should You Use a Vote Module for Sentiment Classification of Online Social Text?. In: De La Prieta, F., et al. Highlights in Practical Applications of Agents, Multi-Agent Systems, and Trust-worthiness. The PAAMS Collection. PAAMS 2020. Communications in Computer and Information Science, vol 1233. Springer, Cham. https://doi.org/10.1007/978-3-030-51999-5_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-51999-5_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-51998-8

  • Online ISBN: 978-3-030-51999-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics