Skip to contents

All functions

ad_tone
Wisconsin political ads (2008)
ad_tone_validation
Validation results for the ad-tone model
annotate_comparisons()
Annotate pairwise comparisons using an LLM
cm_comparisons
Pairwise annotations from Carlson & Montgomery (2017)
fit_model()
Fit a textscale model
generate_comparisons()
Generate pairwise comparisons from a set of documents
get_embeddings()
Get text embeddings with optional caching
score_documents()
Score documents on the latent dimension
textscale()
Measure a latent quantity from text
validate_model() plot(<textscale_validation>)
Validate a textscale model on held-out comparisons