Package: quanteda.textmodels 0.9.10
quanteda.textmodels: Scaling Models and Classifiers for Textual Data
Scaling models and classifiers for sparse matrix objects representing textual data in the form of a document-feature matrix. Includes original implementations of 'Laver', 'Benoit', and Garry's (2003) <doi:10.1017/S0003055403000698>, 'Wordscores' model, the Perry and 'Benoit' (2017) <doi:10.48550/arXiv.1710.08963> class affinity scaling model, and the 'Slapin' and 'Proksch' (2008) <doi:10.1111/j.1540-5907.2008.00338.x> 'wordfish' model, as well as methods for correspondence analysis, latent semantic analysis, and fast Naive Bayes and linear 'SVMs' specially designed for sparse textual data.
Authors:
quanteda.textmodels_0.9.10.tar.gz
quanteda.textmodels_0.9.10.zip(r-4.7)quanteda.textmodels_0.9.10.zip(r-4.6)quanteda.textmodels_0.9.10.zip(r-4.5)
quanteda.textmodels_0.9.10.tgz(r-4.6-x86_64)quanteda.textmodels_0.9.10.tgz(r-4.6-arm64)quanteda.textmodels_0.9.10.tgz(r-4.5-x86_64)quanteda.textmodels_0.9.10.tgz(r-4.5-arm64)
quanteda.textmodels_0.9.10.tar.gz(r-4.7-arm64)quanteda.textmodels_0.9.10.tar.gz(r-4.7-x86_64)quanteda.textmodels_0.9.10.tar.gz(r-4.6-arm64)quanteda.textmodels_0.9.10.tar.gz(r-4.6-x86_64)
quanteda.textmodels_0.9.10.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
quanteda.textmodels/json (API)
NEWS
| # Install 'quanteda.textmodels' in R: |
| install.packages('quanteda.textmodels', repos = c('https://quanteda.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/quanteda/quanteda.textmodels/issues
- data_corpus_dailnoconf1991 - Confidence debate from 1991 Irish Parliament
- data_corpus_EPcoaldebate - Crowd-labelled sentence corpus from a 2010 EP debate on coal subsidies
- data_corpus_irishbudget2010 - Irish budget speeches from 2010
- data_corpus_moviereviews - Movie reviews with polarity from Pang and Lee
Last updated from:77a137ade9. Checks:2 ERROR, 11 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 227 | ||
| linux-devel-x86_64 | OK | 240 | ||
| source / vignettes | OK | 408 | ||
| linux-release-arm64 | ERROR | 237 | ||
| linux-release-x86_64 | OK | 244 | ||
| macos-release-arm64 | OK | 129 | ||
| macos-release-x86_64 | OK | 255 | ||
| macos-oldrel-arm64 | OK | 125 | ||
| macos-oldrel-x86_64 | OK | 364 | ||
| windows-devel | OK | 180 | ||
| windows-release | OK | 178 | ||
| windows-oldrel | OK | 211 | ||
| wasm-release | OK | 144 |
Exports:affinityas.coefficients_textmodelas.statistics_textmodelas.summary.textmodelcoefficients.textmodel_cacoefficients.textmodel_lsacoefficients.textmodel_wordfishtextmodel_affinitytextmodel_catextmodel_lrtextmodel_lsatextmodel_nbtextmodel_svmlintextmodel_wordfishtextmodel_wordscorestextplot_influence
Dependencies:clicodetoolsfastmatchforeachglmnetISOcodesiteratorsjsonlitelatticelifecyclemagrittrMatrixquantedaRcppRcppArmadilloRcppEigenrlangRSpectrashapeSnowballCstopwordsstringisurvivalxml2yaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Confidence debate from 1991 Irish Parliament | data_corpus_dailnoconf1991 |
| Crowd-labelled sentence corpus from a 2010 EP debate on coal subsidies | data_corpus_EPcoaldebate |
| Irish budget speeches from 2010 | data_corpus_irishbudget2010 |
| Movie reviews with polarity from Pang and Lee (2004) | data_corpus_moviereviews |
| Class affinity maximum likelihood text scaling model | textmodel_affinity |
| Correspondence analysis of a document-feature matrix | textmodel_ca |
| Logistic regression classifier for texts | textmodel_lr |
| Latent Semantic Analysis | textmodel_lsa |
| Naive Bayes classifier for texts | textmodel_nb |
| Wordfish text model | textmodel_wordfish |
| Wordscores text model | textmodel_wordscores |
