stylest2
Estimating Speakers of Texts
Estimates the authors or speakers of texts. Methods developed in Huang, Perry, and Spirling (2020) <doi:10.1017/pan.2019.49>. The model is built on a Bayesian framework in which the distinctiveness of each speaker is defined by how different, on average, the speaker's terms are to everyone else in the corpus of texts. An optional cross-validation method is implemented to select the subset of terms that generate the most accurate speaker predictions. Once a set of terms is selected, the model can be estimated. Speaker distinctiveness and term influence can be recovered from parameters in the model using package functions. Once fitted, the model can be used to predict authorship of new texts.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
0.1 |
rolling linux/jammy R-4.5 | stylest2_0.1.tar.gz |
75.3 KiB |
0.1 |
rolling linux/noble R-4.5 | stylest2_0.1.tar.gz |
75.3 KiB |
0.1 |
rolling source/ R- | stylest2_0.1.tar.gz |
45.3 KiB |
0.1 |
latest linux/jammy R-4.5 | stylest2_0.1.tar.gz |
75.3 KiB |
0.1 |
latest linux/noble R-4.5 | stylest2_0.1.tar.gz |
75.3 KiB |
0.1 |
latest source/ R- | stylest2_0.1.tar.gz |
45.3 KiB |
0.1 |
2026-04-26 source/ R- | stylest2_0.1.tar.gz |
45.3 KiB |
0.1 |
2026-04-23 source/ R- | stylest2_0.1.tar.gz |
45.3 KiB |
0.1 |
2026-04-09 windows/windows R-4.5 | stylest2_0.1.zip |
80.1 KiB |
0.1 |
2025-04-20 source/ R- | stylest2_0.1.tar.gz |
45.3 KiB |