I currently have two open-source R software packages available for the public (and third model in development, available for testing). They can be downloaded directly from CRAN.


The politeness package uses sentence structure to extract stylistic markers from natural language. It relies on the SpaCy grammar parsing library in the background, so please make sure that is installed (using the spacyr R package) to get full use from this package.

Yeomans, M., Kantor, A. & Tingley, D. (2018). Detecting Politeness in Natural Language. The R Journal, 10(2), 489-502. politeness R Package


The doc2concrete package creates easy-to-use implementations of three models of concretneess. The associated journal article describes its formation, and also shows how many popular models of linguistic concreteness have little to no validity in domains - like advice and plan-making - where social context can change the meaning of what is said.

Yeomans, M. (2021). A Concrete application of Construct Construction for Natural Language Processing. Organizational Behavior and Human Decision Processes, 162, 81-94. doc2concrete R package


The DICE package contains tools developed to measure two independent dimensions of conflict expressions - informational directness and relational intensity. The associated manuscript describes the formation of the NLP tool (the DICE-M), including benchmarks against other pre-trained models of conflict, and a corresponding human annotation guide (the DICE-H).

Yeomans, M., Bendersky, C., Weingart, L.R. & Kim, Y. (2024). A Natural Language Processing Model for Conflict Expression in Conversation. Under Review