stylest v0.1.0

0

Monthly downloads

0th

Percentile

Estimating Speaker Style Distinctiveness

Estimates distinctiveness in speakers' (authors') style. Fits models that can be used for predicting speakers of new texts. Methods developed in Spirling et al (2018) <doi:10.2139/ssrn.3235506> (working paper).

Readme

Travis-CI Build Status Build status

stylest (alpha version)

stylest estimates speaker style distinctiveness.

Installation

You can install stylest from github with:

# install.packages("devtools")
devtools::install_github("leslie-huang/stylest")

See the vignette for examples and usage.

Authors

Leslie Huang (maintainer)

Patrick O. Perry

Arthur Spirling

Bug reports

Please submit any bugs, error reports, etc. on GitHub.

Functions in stylest

Name Description
stylest_odds Pairwise prediction of the most likely speaker of texts
fit_term_usage Computes speakers' term usage rates
novels_excerpts Excerpts from English novels
stylest_term_influence Compute the influence of terms
stylest_terms Use vocab cutoff to select terms for fitting the model
stylest_predict Predict the most likely speaker of a text
stylest_select_vocab Select vocabulary using cross-validated out-of-sample prediction
print.stylest_model Custom print method for stylest_model
stylest stylest: A package for estimating textual distinctiveness
stylest_fit Fit speaker_model to a corpus
No Results!

Vignettes of stylest

Name
stylest-vignette.Rmd
stylest-vignette.md
No Results!

Last month downloads

Details

License GPL-3
URL https://github.com/leslie-huang/stylest
BugReports https://github.com/leslie-huang/stylest/issues
LazyData true
Encoding UTF-8
VignetteBuilder knitr, rmarkdown
RoxygenNote 6.0.1.9000
NeedsCompilation no
Packaged 2018-09-10 12:50:57 UTC; lesliehuang
Repository CRAN
Date/Publication 2018-09-16 18:10:03 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/stylest)](http://www.rdocumentation.org/packages/stylest)