To examine how many posts in your dataset contain toxic words or phrases, you can use a pre-compiled dictionary of toxic terms and swear words, developed as part of the following publication: K. Hazel Kwon, & Anatoliy Gruzd. (2017). Is…