Detecting Politeness Features in Text
Cleaning weird encodings
Clean Text
Contraction Expander
Dictionary Wrapper
Find polite text
Feature plot
Find polite text
Fold Assignment for Cross-Validation
Extracting Tokens from Natural Language
LASSO Coefficient Plot
Cleaning leading punctuation
Politeness Features
Politeness Features
Pre-Trained Politeness Classifier
Politeness plot
Politeness projection
Conversational Receptiveness
Variance-Weighted Log Odds
Spacy Parser
Text Counter
Train a model with politeness features
UK to US conversion
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.