Decision Mechanics

Insight. Applied.

  • Services
    • Decision analysis
    • Big data analysis
    • Software development
  • Articles
  • Blog
  • Privacy
  • Hire us

R analysis of frequency of swear words in Irish English by gender and age

July 13, 2018 By editor

profanity comparison charts by gender and age

Linguist Martin Schweinberger has used base R to perform a sociolinguistic analysis of swear word use in Irish English. The data analyzed is from the Irish component of the International Corpus of English.

I’m particularly tickled by the fact that the script contains a set of regular expressions that define swear words. For instance

search.pattern2 <- c (" [A|a]rse [s|d]{0 ,1} ")

Turns out that while young women swear less than young men—the latter seem to go through a period of more intense swearing—by the time people get beyond 34, there’s gender harmony in the use of profanity.

Print Friendly, PDF & Email

Share this:

  • Twitter
  • LinkedIn
  • Facebook

Filed Under: Data analysis Tagged With: age, gender, profanity, text analysis

Search

Subscribe to blog via e-mail

Subscribe via RSS

Recent posts

  • Digital transformation
  • And if thine data offend Excel, change it
  • A passion for decision analysis
  • JavaScript for data science?
  • Human brains hate probability

Copyright © 2022 · Decision Mechanics Limited · info@decisionmechanics.com