Package: politeness 0.9.3

politeness: Detecting Politeness Features in Text

Detecting markers of politeness in English natural language. This package allows researchers to easily visualize and quantify politeness between groups of documents. This package combines prior research on the linguistic markers of politeness. We thank the Spencer Foundation, the Hewlett Foundation, and Harvard's Institute for Quantitative Social Science for support.

Authors:Mike Yeomans, Alejandro Kantor, Dustin Tingley

politeness_0.9.3.tar.gz
politeness_0.9.3.zip(r-4.5)politeness_0.9.3.zip(r-4.4)politeness_0.9.3.zip(r-4.3)
politeness_0.9.3.tgz(r-4.4-any)politeness_0.9.3.tgz(r-4.3-any)
politeness_0.9.3.tar.gz(r-4.5-noble)politeness_0.9.3.tar.gz(r-4.4-noble)
politeness_0.9.3.tgz(r-4.4-emscripten)politeness_0.9.3.tgz(r-4.3-emscripten)
politeness.pdf |politeness.html
politeness/json (API)

# Install 'politeness' in R:
install.packages('politeness', repos = c('https://myeomans.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/myeomans/politeness/issues

Datasets:
  • bowl_offers - Purchase offers for bowl
  • feature_table - Table of Politeness Features
  • phone_offers - #' Positive Emotions List #' #' Positive words. #' #' @format A list of 2006 positively-valenced words #' "positive_list"
  • polite_train - Pre-Trained Politeness
  • receptive_model - A pre-trained model for detecting conversational receptiveness. Estimated with glmnet using annotated data from a previous paper. Primarily for use within the receptiveness() function.
  • receptive_names - This is the list of variables to be extracted for the receptiveness algorithm For internal use only, within the receptiveness() function.
  • receptive_polite - Pre-Trained Receptiveness Data
  • receptive_train - Pre-Trained Receptiveness Data
  • uk2us - UK to US Conversion dictionary

On CRAN:

7 exports 25 stars 2.79 score 61 dependencies 2 dependents 37 scripts 702 downloads

Last updated 8 months agofrom:58393ce52c. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winNOTESep 14 2024
R-4.5-linuxNOTESep 14 2024
R-4.4-winNOTESep 14 2024
R-4.4-macNOTESep 14 2024
R-4.3-winNOTESep 14 2024
R-4.3-macNOTESep 14 2024

Exports:findPoliteTextspolitenesspolitenessDNMpolitenessModelpolitenessPlotpolitenessProjectionreceptiveness

Dependencies:BHclicodetoolscolorspacedata.tabledistromfansifarverfastmatchforeachgamlrggplot2glmnetgluegtablehereisobandISOcodesiteratorsjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeNLPpillarpkgconfigpngquantedaR6rappdirsRColorBrewerRcppRcppEigenRcppTOMLreticulaterlangrprojrootscalesshapeslamSnowballCspacyrstopwordsstringistringrsurvivaltextirtibbletmutf8vctrsviridisLitewithrxml2yaml

Politeness

Rendered frompoliteness.Rmdusingknitr::rmarkdownon Sep 14 2024.

Last update: 2023-10-10
Started: 2017-09-06