Automatic detection of hateful comments in online discussion
Journal article, Peer reviewed
MetadataShow full item record
Original versionHammer HL. Automatic detection of hateful comments in online discussion. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering. 2017;188:164-173 http://doi.org/10.1007/978-3-319-52569-3_15
Making violent threats towards minorities like immigrants or homosexuals is increasingly common on the Internet. We present a method to automatically detect threats of violence using machine learning. A material of 24,840 sentences from YouTube was manually annotated as violent threats or not, and was used to train and test the machine learning model. Detecting threats of violence works quit well with an error of classifying a violent sentence as not violent of about 10% when the error of classifying a non-violent sentence as violent is adjusted to 5%. The best classification performance is achieved by including features that combine specially chosen important words and the distance between those in the sentence.