Abstract
We develop and implement a framework and a decision algorithm to determine the best feature extraction technique (FET) for supporting machine learning-based hate speech detection. Specifically, the contributions of this work are three-fold: (1) a seamless modular pipeline that automatically preprocesses, vectorizes, and classifies whether or not a text message is a hate speech; (2) a decision algorithm that determines the best FET approach among all the possible FET candidates with the linear time complexity O(N); and (3) a preliminary experimental evaluation on the tweets provided by Twitter Sentiment Analysis on Analytics Vidhya to demonstrate that our FET framework and decision algorithm are effective and produce the significant results.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
MacAvaney, S., Yao, H.-R., Yang, E., Russell, K., Goharian, N., Frieder, O.: Hate speech detection: challenges and solutions. PLoS ONE 14(8), e0221152 (2019). https://doi.org/10.1371/journal.pone.0221152
Salminen, J., Hopf, M., Chowdhury, S.A., Jung, S.G., Almerekhi, H., Jansen, B.J.: Developing an online hate classifier for multiple social media platforms. Hum. Cent. Comput. Inf. Sci. 10, 1 (2020). https://doi.org/10.1186/s13673-019-0205-6
Zhang, Z., Luo, L.: Hate speech detection: a solved problem? The challenging case of long tail on Twitter (2018). http://arxiv.org/abs/1803.03662
Von Matthias, K.: Anti-Semitic Hate Speech in the Name of Islam. https://www.spiegel.de/international/world/wipe-out-the-jews-anti-semitic-hate-speech-in-the-name-of-islam-a-553724.html (2008)
Hudson, L.: Facebook Apologizes for Tolerating Violent Imagery Toward Women. https://www.wired.com/2013/01/facebook-violence-women-2/ (2013)
Public Media Alliance: Reporting Hate Speech, Terrorism & Violence Guidelines for Journalists and Media Workers in South East Asia. https://cdn.ethicaljournalismnetwork.org/wp-content/uploads/2019/07/FInalUNESCOSEAhatespeech.pdf (2019)
Robinson, D., Zhang, Z., Tepper, J.: Hate speech detection on Twitter: feature engineering v.s. feature selection. In: The Semantic Web: ESWC 2018 Satellite Events. ESWC 2018. Lecture Notes in Computer Science, vol. 11155. Springer, Cham (2018)
Nayel, H., Shashirekha, H.L.: DEEP at HASOC2019: a machine learning framework for hate speech and offensive language detection. In: Forum for Information Retrieval Evaluation (2019)
Mossie, Z., Wang, J.H.: Social network hate speech detection for Amharic language. In: Computer Science and Information Technology (2018)
Fatahillah, N.R., Suryati, P., Haryawan, C.: Implementation of Naive Bayes classifier algorithm on social media (Twitter) to the teaching of Indonesian hate speech. In: International Conference on Sustainable Information Engineering and Technology (2017). https://doi.org/10.1109/SIET.2017.8304122
Mujadia, V., Mishra, P., Sharma, D.: IIIT-Hyderabad at HASOC 2019: Hate Speech Detection. https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjBqerE-77qAhXblXIEHS6qBlcQFjAAegQIBhAB&url=http%3A%2F%2Fceur-ws.org%2FVol-2517%2FT3-12.pdf&usg=AOvVaw3SuRvI7A3cWvyuOVAue_A9 (2019)
Fauzi, M.A.: Random forest approach for sentiment analysis in Indonesian language. Indones. J. Electr. Eng. Comput. Sci. 12, 46–50 (2018). https://doi.org/10.11591/ijeecs.v12.i1.pp46-50
Gaydhani, A., Doma, V., Kendre, S., Bhagwat, L.: Detecting hate speech and offensive language on Twitter using machine learning: an N-gram and TFIDF based approach (2018). http://arxiv.org/abs/1809.08651
Ruwandika, N.D.T., Weerasinghe, A.R.: Identification of hate speech in social media. In: The International Conference on Advances in ICT for Emerging Regions, Colombo, Sri Lanka. https://doi.org/10.1109/ICTER.2018.8615517 (2018)
Quora Inc.: What Are Advantages & Disadvantages of TF-IDF? https://www.quora.com/What-are-the-advantages-and-disadvantages-of-TF-IDF (2015)
Waseem, Z.: A Comparative Study of Embeddings Methods for Hate Speech Detection from Tweets. Semantic Scholar. https://www.semanticscholar.org/paper/A-Comparative-Study-of-Embeddings-Methods-for-Hate-Waseem/043eae47d6def331ea39e41919f1500647dac44a (2018)
Zaghi, C.: Automatic Detection of Hate Speech in Social Media. University of Malta. https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwi89pOa8b7qAhV7mHIEHUhRBTMQFjAAegQIARAB&url=https%3A%2F%2Flct-master.org%2Fgetfile.php%3Fid%3D4125%26n%3D1%26dt%3DTH%26ft%3Dpdf%26type%3DTH&usg=AOvVaw14Gl_dt2mJ3p1EhftBscaG (2018)
Stack Exchange Inc.: Word2Vec: CBOW & skip-gram performance wrt training dataset size. https://stackoverflow.com/questions/39224236/word2vec-cbow-skip-gram-performance-wrt-training-dataset-size (2016)
Analytics Vidhya: Twitter Sentiment Analysis. https://datahack.analyticsvidhya.com/contest/practice-problem-twitter-sentiment-analysis/ (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ngan, CK., Bhuva, K. (2021). A Framework and Decision Algorithm to Determine the Best Feature Extraction Technique for Supporting Machine Learning-Based Hate Speech Detection. In: Lee, R. (eds) Computer and Information Science 2021—Summer . ICIS 2021. Studies in Computational Intelligence, vol 985. Springer, Cham. https://doi.org/10.1007/978-3-030-79474-3_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-79474-3_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-79473-6
Online ISBN: 978-3-030-79474-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)