The R Journal: article published in 2018, volume 10:2

The politeness Package: Detecting Politeness in Natural Language PDF download
Michael Yeomans, Alejandro Kantor and Dustin Tingley , The R Journal (2018) 10:2, pages 489-502.

Abstract This package provides tools to extract politeness markers in English natural language. It also allows researchers to easily visualize and quantify politeness between groups of documents. This package combines and extends prior research on the linguistic markers of politeness (Brown and Levinson, 1987; Danescu-Niculescu-Mizil et al., 2013; Voigt et al., 2017). We demonstrate two applications for detecting politeness in natural language during consequential social interactions— distributive negotiations, and speed dating.

Received: 2018-05-29; online 2018-12-08, supplementary material, (869.6 KiB)
CRAN packages: tidytext, tm, quanteda, coreNLP, spacyR, SentimentAnalysis, syuzhet, topicmodeling, stm, glmnet, textir, hunspell, data.table, politeness
CRAN Task Views implied by cited CRAN packages: NaturalLanguageProcessing, HighPerformanceComputing, Finance, MachineLearning, Survival


CC BY 4.0
This article and supplementary materials are licensed under a Creative Commons Attribution 4.0 International license.

@article{RJ-2018-079,
  author = {Michael Yeomans and Alejandro Kantor and Dustin Tingley},
  title = {{The politeness Package: Detecting Politeness in Natural
          Language}},
  year = {2018},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2018-079},
  url = {https://doi.org/10.32614/RJ-2018-079},
  pages = {489--502},
  volume = {10},
  number = {2}
}