Machine Learning Approach for the Detection of Hate Speech in Sinhala Unicode Text
S. W. A. M. D. Samarasinghe, R.G.N. Meegama, M. Punchimudiyanse
Abstract
Hate speech published online platforms has become a critical issue in Sri Lanka since this has caused conflicts between different ethnic groups. One of the main barriers to stop this crime is the lack of resources to detect online hate content in Sinhala automatically. Due to the vast amount of content published on online platforms every minute, an automatic method must be implemented in order to solve this issue. As a solution, we suggest a deep learning mechanism that utilizes two convolution neural networks (CNNs) which will first classify a given text corpus as hateful or not. Then, if the text corpus contains hate content text, it will again be classified according to its hate level which can be used by authorities to make decisions. In order to convert the text data into numerical vectors, we have used FastText word embedding in this study.Results indicate an accuracy of 83% and 60% for hate speech classification and hate level classifications, respectively.