Skip to main content
Log in

An evaluation of sentiment analysis for mobile devices

  • Original Article
  • Published:
Social Network Analysis and Mining Aims and scope Submit manuscript

Abstract

Sentiment analysis has become a key tool to extract knowledge from data containing opinions and sentiments, particularly, data from online social systems. With the increasing use of smartphones to access social media platforms, a new wave of applications that explore sentiment analysis in the mobile environment is beginning to emerge. However, there are various existing sentiment analysis methods and it is unclear which of them are deployable in the mobile environment. In this paper, we provide the first of a kind study in which we compare the performance of 14 sentence-level sentiment analysis methods in the mobile environment. To do that, we adapted these methods to run on Android OS and then, we measure their performance in terms of memory, CPU, and battery consumption. Our findings unveil methods that require almost no adaptations and run relatively fast as well as methods that could not be deployed due to excessive use of memory. We hope our effort provides a guide to developers and researchers interested in exploring sentiment analysis as part of a mobile application and can help new applications to be executed without the dependency of a server-side API. We also share the Android API that implements all the 14 sentiment analysis methods used in this paper.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

Notes

  1. http://saifmohammad.com/WebPages/lexicons.html.

  2. http://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html.

  3. http://saifmohammad.com/WebPages/lexicons.html.

References

  • Araújo M, Diniz JP, Bastos L, Soares E, Júnior M, Ferreira M, Ribeiro F, Benevenuto F (2016a) ifeel 2.0: a multilingual benchmarking system for sentence-level sentiment analysis. In: Proceedings of the international AAAI conference on web-blogs and social media. Cologne

  • Araújo M, Reis J, Pereira A, Benevenuto F (2016b) An evaluation of machine translation for multilingual sentence-level sentiment analysis. In: Proceedings of the ACM symposium on applied computing (SAC). ACM

  • Bollen J, Mao H, Zeng XJ (2010) Twitter mood predicts the stock market. CoRR abs/1010.3003

  • Bonnington C (2015) In less than two years, a smartphone could be your only computer. Wired. http://www.wired.com/2015/02/smartphone-only-computer/

  • Bradley MM, Lang PJ (1999) Affective norms for English words (ANEW): stimuli, instruction manual, and affective ratings. Technical report, Center for Research in Psychophysiology, University of Florida

  • Burke M, Marlow C, Lento T (2010) Social network activity and social well-being. In: Proceedings of the SIGCHI conference on human factors in computing systems

  • Cambria E, Speer R, Havasi C, Hussain A (2010) SenticNet: a publicly available semantic resource for opinion mining. In: AAAI fall symposium series

  • Canuto S, Gonçalves MA, Benevenuto F (2016) Exploiting new sentiment-based meta-level features for effective sentiment analysis. In: Proceedings of the nineth ACM international conference on web search and data mining. ACM

  • Cha M, Haddadi H, Benevenuto F, Gummadi KP (2010) Measuring user influence in Twitter: the million follower fallacy. In: International AAAI conference on weblogs and social media (ICWSM)

  • Chambers L, Tromp E, Pechenizkiy M, Gaber MM (2012) Mobile sentiment analysis. In: Proceedings of KES, pp 470–479

  • Cool-Smileys (2010) List of text emoticons: the ultimate resource. www.cool-smileys.com/text-emoticons

  • De Choudhury M, Counts S, Horvitz EJ, Hoff A (2014) Characterizing and predicting postpartum depression from shared facebook data. In: Proceedings of the 17th ACM conference on computer supported cooperative work and social computing

  • Esuli A, Sebastiani F (2006) SentiWordNet: a publicly available lexical resource for opinion mining. In: Proceedings on LREC

  • Facebook statistics (2015) https://zephoria.com/top-15-valuable-facebook-statistics. https://zephoria.com/top-15-valuable-facebook-statistics/

  • Feldman R (2013) Techniques and applications for sentiment analysis. Commun ACM 56(4):82–89

    Article  Google Scholar 

  • Go A, Bhayani R, Huang L (2009) Twitter sentiment classification using distant supervision. CS224N Project Report Stanford 1(12)

  • Gonçalves P, Araújo M, Benevenuto F, Cha M (2013a) Comparing and combining sentiment analysis methods, Proceedings of the first ACM conference on Online social networks, ACM, pp 27–38

  • Gonçalves P, Benevenuto F, Cha M (2013b) PANAS-t: a psychometric scale for measuring sentiments on Twitter abs/1308.1857v1

  • Gonçalves P, Dalip DH, Costa H, Gonçalves MA, Benevenuto F (2016) On the combination of “off-the-shelf” sentiment analysis methods. In: Proceedings of the ACM symposium on applied computing (SAC). ACM

  • Hu M, Liu B (2004) Mining and summarizing customer reviews. In: KDD, pp 168–177

  • Hutto C, Gilbert E (2014) Vader: a parsimonious rule-based model for sentiment analysis of social media text. In: Eighth international AAAI conference on weblogs and social media

  • Levallois C (2013) Umigon: sentiment analysis for tweets based on lexicons and heuristics. In: Proceedings of the international workshop on semantic evaluation, SemEval, p 13

  • LiKamWa R, Liu Y, Lane ND, Zhong L (2011) Can your smartphone infer your mood? ACM workshop on sensing applications on mobile phones (PhoneSense)

  • Messias J, Diniz JP, Soares E, Ferreira M, Araujo M, Bastos L, Miranda M, Benevenuto F (2016) Towards sentiment analysis for mobile devices. In: Proceedings of the 2016 IEEE/ACM international conference on advances in social networks analysis and mining, ASONAM

  • Miller GA (1995) Wordnet: a lexical database for english. Commun ACM 38(11):39–41

    Article  Google Scholar 

  • Mohammad S (2012) #emotional tweets. In: Proceedings of the sixth international workshop on semantic evaluation (SemEval). Association for Computational Linguistics

  • Mohammad SM, Kiritchenko S, Zhu X (2013) Nrc-Canada: building the state-of-the-art in sentiment analysis of tweets. In: Proceedings of the seventh international workshop on semantic evaluation exercises (SemEval)

  • Mohammad S, Turney PD (2013) Crowdsourcing a word-emotion association lexicon. Comput Intell 29(3):436–465

    Article  MathSciNet  Google Scholar 

  • Nielsen FÅ (2011) A new ANEW: evaluation of a word list for sentiment analysis in microblogs. arXiv preprint arXiv:1103.2903

  • Ogneva M (2010) How companies can use sentiment analysis to improve their business. Mashable

  • Oliveira N, Cortez P, Areal N (2013) On the predictability of stock market behavior using stocktwits sentiment and posting volume. In: Correia L, Reis LP, Cascalho J (eds) EPIA, lecture notes in computer science, vol 8154. Springer, pp 355–365

  • Osmonitor for android (2015) www.osmonitor.mobi. Accessed 19 Sept 2015

  • Pappas N, Popescu-Belis A (2013) Sentiment analysis of user comments for one-class collaborative filtering over ted talks. In: Proceedings of the 36th international ACM SIGIR conference on research and development in information retrieval. ACM, pp 773–776

  • Pereira M, Pádua F, Pereira A, Benevenuto F, Dalip D (2016) Fusing audio, textual and visual features for sentiment analysis of news videos. In: Proceedings of the international AAAI conference on web-blogs and social media. Cologne

  • Plutchik R (1980) A general psychoevolutionary theory of emotion. Academic press, New York, pp 3–33

    Book  Google Scholar 

  • Reis J, Benevenuto F, Vaz de Melo P, Prates R, Kwak H, An J (2015) Breaking the news: first impressions matter on online news. In: Proceedings of the 9th international AAAI conference on web-blogs and social media

  • Reis J, Goncalves P, Vaz de Melo P, Prates R, Benevenuto F (2014) Magnet news: you choose the polarity of what you read. In: International AAAI conference on web-blogs and social media

  • Ribeiro FN, Araújo M, Gonçalves P, Gonçalves MA, Benevenuto F (2016) Sentibench—a benchmark comparison of state-of-the-practice sentiment analysis methods. EPJ Data Science

  • Socher R, Perelygin A, Wu J, Chuang J, Manning CD, Ng AY, Potts C (2013) Recursive deep models for semantic compositionality over a sentiment treebank. In: 2013 conference on empirical methods in natural language processing

  • Tausczik YR, Pennebaker JW (2010) The psychological meaning of words: LIWC and computerized text analysis methods. J Lang Soc Psychol 29(1):24–54. doi:10.1177/0261927X09351676

    Article  Google Scholar 

  • Thelwall M (2013) Heart and soul: sentiment strength detection in the social web with SentiStrength. http://sentistrength.wlv.ac.uk/documentation/SentiStrengthChapter.pdf

  • Tumasjan A, Sprenger TO, Sandner PG, Welpe IM (2010) Predicting elections with Twitter: what 140 characters reveal about political sentiment. In: International AAAI conference on weblogs and social media (ICWSM)

  • Wang H, Can D, Kazemzadeh A, Bar F, Narayanan S (2012) A system for real-time Twitter sentiment analysis of 2012 US Presidential Election Cycle. In: ACL system demonstrations

  • Watson D, Clark L (1985) Development and validation of brief measures of positive and negative affect: the panas scales. J Personal Soc Psychol 54(1):1063–1070

    Google Scholar 

  • Wilson T, Hoffmann P, Somasundaran S, Kessler J, Wiebe J, Choi Y, Cardie C, Riloff E, Patwardhan S (2005) Opinionfinder: a system for subjectivity analysis. In: HLT/EMNLP on interactive demonstrations, pp 34–35

  • Youtube statistics (2015) https://www.youtube.com/yt/press/statistics.html. https://www.youtube.com/yt/press/statistics.html

Download references

Acknowledgements

This project was supported by grants from Humboldt Foundation, Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES), Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq), and Fundação de Amparo à Pesquisa do Estado de Minas Gerais (Fapemig).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Johnnatan Messias.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Messias, J., Diniz, J.P., Soares, E. et al. An evaluation of sentiment analysis for mobile devices. Soc. Netw. Anal. Min. 7, 20 (2017). https://doi.org/10.1007/s13278-017-0437-2

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s13278-017-0437-2

Keywords

Navigation