An R package adding text scaling models and classifiers for quanteda. Prior to quanteda v2, many of these were part of that package. Early development was supported by the European Research Council grant ERC-2011-StG 283794-QUANTESS.
For more details, see https://quanteda.io.
You can install it via the normal way from CRAN, using your R GUI or
install.packages("quanteda.textmodels")
Or for the latest development version:
# devtools package required to install quanteda from Github
::install_github("quanteda/quanteda.textmodels") remotes
Because this compiles some C++ and Fortran source code, you will need to have installed the appropriate compilers. On Windows platform, this means the Rtools software available from CRAN, or the macOS tools from macOS tools, including namely the Clang 6.x compiler and the GNU Fortran compiler (as quanteda requires gfortran to build). If you are still getting errors related to gfortran, follow the fixes here.
Benoit, Kenneth, Kohei Watanabe, Haiyan Wang, Paul Nulty, Adam Obeng, Stefan Müller, and Akitaka Matsuo. (2018) “quanteda: An R package for the quantitative analysis of textual data”. Journal of Open Source Software. 3(30), 774. https://doi.org/10.21105/joss.00774.
For a BibTeX entry, use the output from
citation(package = "quanteda")
.
If you like quanteda, please consider leaving feedback or a testimonial here.
Contributions in the form of feedback, comments, code, and bug reports are most welcome. How to contribute: