Skip to main content

Table 8 Simple features

From: Developing an online hate classifier for multiple social media platforms

Feature

Definition

Words

The number of words in the comment

Uppercase

The number of uppercase characters in the comment

Uppercase_per_word

The average number of uppercase characters in the words of the comment (i.e., number of uppercases divided by the number of words)

Punctuation

The number of punctuations such as a full stop, comma, or question mark used in the comment

Punctuation_per_word

The number of punctuation marks divided by the number of words in the comment

Numbers

The number of numbers in the comment

Numbers_per_word

The number of numbers divided by the number of words in the comment