Detecting Hate Speech on Social Media Using Machine Learning
DOI:
https://doi.org/10.61841/4vzsxz09Keywords:
Detection, Clustering, Classification, Sentiments, TweetsAbstract
As times have progressed, the usage of social media has exponentially increased. Private and public opinions about a wide assortment of subjects are communicated and spread ceaselessly by means of various online social media platforms. Twitter is one of such platforms that has gained a lot of popularity. Twitter offers organizations and individual users a fast and effective way to advertise and communicate their ideas and thoughts without much hassle. Thus, analyzing customers' perspectives toward day to day events is crucial to success in the market place. Building up a program for notion examination is a way to deal with be utilized to computationally gauge people’s perceptions. This project applies sentiment analysis to a dataset containing thousands of tweets relating to a given string that is searched, all using R libraries. Searched strings could include hash tags, usernames, specific words etc. Using the processed output, we are able to determine the sentiments of people regarding any trending topic. Tweets are extracted using R and the data is wrangled by removing emoticons and URLs. Lexical Analysis is used to predict the meaning of tweets and subsequently infer the opinion graphically through ggplots, histogram, pie chart and tables.
Downloads
References
1. A Shervin Malmasi and Mark Dras. 2017. Native Language Identification using Stacked Generalization.
2. Shervin Malmasi, Mark Dras, and Marcos Zampieri. 2016a. Ltg at semeval-2016 task II: Complex word identification with classifier ensembles. In Proceedings of SemEval.
3. Pete Burnap and Matthew L Williams. 2015. Cyber hate speech on twitter: An application of machine classification and statistical modeling for policy and decision making. Policy & Internet 7(2):223–242.
4. Nemanja Djuric, Jing Zhou, Robin Morris, Mihajlo Grbovic, Vladan Radosavljevic, and Narayan Bhamidipati. 2015. Hate speech detection with comment embeddings.
5. Chikashi Nobata, Joel Tetreault, Achint Thomas, Yashar Mehdad, and Yi Chang. 2016. Abusive Language Detection in Online User Content.
6. Anna Schmidt and Michael Wiegand. 2017. A Survey on Hate Speech Detection Using Natural Language Processing.
7. Huei-Po Su, Chen-Jie Huang, Hao-Tsung Chang, and Chuan-Jie Lin. 2017. Rephrasing Profanity in Chinese Text. In Proceedings of the Workshop Workshop on Abusive Language Online (ALW). Vancouver, Canada
8. Detecting Hate Speech in Social Media Shervin Malmasi, Marcos Zampieri, Harvard Medical School Boston, MA, United States, 2017.
9. Huaishao Luo, Tianrui Li, Bing Liu, and Junbo Zhang. DOER: Dual Cross-Shared RNN for Aspect Term- Polarity Co-Extraction to appear in Proceedings of Annual Meeting of the Association for Computational Linguistics (ACL-2019), July 28 - August 2, 2019, Florence, Italy.
10. Qian Liu, Zhiqiang Gao, Bing Liu and Yuanlin Zhang. A Logic Programming Approach to Aspect Extraction in Opinion Mining. Proceedings of IEEE/WIC/ACM International Confernece on Web Intelligence (WI-2013), 2013.
11. Coulter, Ian, Gery Ryan, Lisa Kraus, Lea Xenakis, Lara Hilton, and . 2019. A Method for Deconstructing the Health Encounter in Complementary and Alternative Medicine: The Social Context. Journal of Complementary Medicine Research, 10 (2), 81-88. doi:10.5455/jcmr.20190118123212
12. Yao, L., Romero, M.J., Toque, H.A., Yang, G., Caldwell, R.B., Caldwell, R.W. The role of RhoA/Rho kinase pathway in endothelial dysfunction (2010) Journal of Cardiovascular Disease Research, 1 (4), pp. 165-170. DOI: 10.4103/0975-3583.74258
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit , provide a link to the license, and indicate if changes were made . You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation .
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
