CRAN/E | quanteda.textmodels

quanteda.textmodels

Scaling Models and Classifiers for Textual Data

Installation

About

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.

github.com/quanteda/quanteda.textmodels

Key Metrics

Version 0.9.7
R ≥ 3.1.0
Published 2024-04-11 14 days ago
Needs compilation? yes
License GPL-3
CRAN checks quanteda.textmodels results
Language en-GB

Downloads

Yesterday 90 0%
Last 7 days 533 -46%
Last 30 days 2.462 +14%
Last 90 days 6.367 -35%
Last 365 days 32.130 +1%

Maintainer

Maintainer

Kenneth Benoit

kbenoit@lse.ac.uk

Authors

Kenneth Benoit

cre / aut / cph

Kohei Watanabe

aut

Haiyan Wang

aut

Patrick O. Perry

aut

Benjamin Lauderdale

aut

Johannes Gruber

aut

William Lowe

aut

Vikas Sindhwani

cph

(authored svmlin C++ source code)

European Research Council

fnd

(ERC-2011-StG 283794-QUANTESS)

Material

README
NEWS
Reference manual
Package source

Vignettes

textmodel Performance Comparisons

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

quanteda.textmodels archive

Depends

R ≥ 3.1.0
methods

Imports

glmnet
LiblineaR
Matrix ≥ 1.2
quanteda ≥ 4.0.0
RSpectra
Rcpp ≥ 0.12.12
SparseM
stringi

Suggests

ca
covr
fastNaiveBayes
knitr
lsa
microbenchmark
naivebayes
quanteda.textplots
spelling
testthat
rmarkdown

LinkingTo

Rcpp
RcppArmadillo ≥ 0.7.600.1.0
quanteda

Reverse Suggests

aifeducation
explor
grafzahl
oolong
quanteda.textplots
rainette