Sentiment analysis is the most basic NLP task to determine the polarity of text data. There has been a significant amount of work in the area of multilingual text as well. Still hate and offensive speech detection faces a challenge due to inadequate availability of data, especially for Indian languages like Hindi and Marathi. In this work, we consider hate and offensive speech detection in Hindi and Marathi texts. The problem is formulated as a text classification task using the state of the art deep learning approaches. We explore different deep learning architectures like CNN, LSTM, and variations of BERT like multilingual BERT, IndicBERT, and monolingual RoBERTa. The basic models based on CNN and LSTM are augmented with fast text word embeddings. We use the HASOC 2021 Hindi and Marathi hate speech datasets to compare these algorithms. The Marathi dataset consists of binary labels and the Hindi dataset consists of binary as well as more-fine grained labels. We show that the transformer-based models perform the best and even the basic models along with FastText embeddings give a competitive performance. Moreover, with normal hyper-parameter tuning, the basic models perform better than BERT-based models on the fine-grained Hindi dataset.
翻译:感官分析是确定文本数据极性的最基本任务。 在多语种文本领域也开展了大量工作。 仇恨和冒犯性言论检测仍面临挑战,因为数据缺乏,特别是印度语(印度语和马拉地语)的数据不足。 在这项工作中,我们考虑在印地语和马拉地语文本中发现仇恨和冒犯性言论。 这个问题是使用先进的深层次学习方法作为文本分类任务来拟订的。 我们探索了CNN、LSTM等不同的深层次学习架构,以及BERT的变异,如多语言BERT、IndicBERT和单语RoBERTA。 以CNN和LSTM为基础的基本模型增加了快速文本嵌入词。 我们使用HASCOC 2021印地语和马拉地语仇恨言论数据集来比较这些算法。 Marathi数据集由二进制标签和印地数据数据集组成,由二进制和多纤维的标签组成。 我们显示,基于变异模型的模型与快速插入式嵌入模型一样,最优于快速嵌入模式。此外,我们用普通的模型进行正常的压性调整。