Package: politeness 0.9.4

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.4.tar.gz
politeness_0.9.4.zip(r-4.5)politeness_0.9.4.zip(r-4.4)politeness_0.9.4.zip(r-4.3)
politeness_0.9.4.tgz(r-4.4-any)politeness_0.9.4.tgz(r-4.3-any)
politeness_0.9.4.tar.gz(r-4.5-noble)politeness_0.9.4.tar.gz(r-4.4-noble)
politeness_0.9.4.tgz(r-4.4-emscripten)politeness_0.9.4.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.26 score 25 stars 1 packages 40 scripts 540 downloads 11 exports 65 dependencies

Last updated 2 months agofrom:7f319b0100. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winNOTEOct 31 2024
R-4.5-linuxNOTEOct 31 2024
R-4.4-winNOTEOct 31 2024
R-4.4-macNOTEOct 31 2024
R-4.3-winNOTEOct 31 2024
R-4.3-macNOTEOct 31 2024

Exports:exampleTextsfeaturePlotfindPoliteTextsmodelPlotpolitenesspolitenessDNMpolitenessModelpolitenessPlotpolitenessProjectionreceptivenesstrainModel

Dependencies:BHclicodetoolscolorspacedata.tabledistromdplyrfansifarverfastmatchforeachgamlrgenericsggplot2ggrepelglmnetgluegtablehereisobandISOcodesiteratorsjsonlitelabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeNLPpillarpkgconfigpngquantedaR6rappdirsRColorBrewerRcppRcppEigenRcppTOMLreticulaterlangrprojrootscalesshapeslamSnowballCspacyrstopwordsstringistringrsurvivaltextirtibbletidyselecttmutf8vctrsviridisLitewithrxml2yaml

Politeness

Rendered frompoliteness.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2024-10-01
Started: 2017-09-06