offensive_check_token: Checks for offensive words in tokenized vector

Description Usage Arguments Value Examples

View source: R/check_token.R

Description

Checks for offensive words in tokenized vector

Usage

1
2
offensive_check_token(text, words_add = character(),
  words_ignore = character())

Arguments

text

A vector of tokenized words.

words_add

Character. Words to look for.

words_ignore

Character. Words to ignore.

Value

Logical indicator.

Examples

1
2
3
text <- c("this", "will", "be", "hard", "to", "asses", "butt", "i", "think",
          "we", "will", "manage")
offensive_check_token(text)

EmilHvitfeldt/offensiveR documentation built on May 6, 2019, 12:23 p.m.