Dependency-light tools and tutorials for teaching reproducible text classification. The package covers HTML text extraction, sentence segmentation, text preprocessing, document-term matrices, TF-IDF, keyword extraction, cosine similarity, stratified cross-validation, classification metrics, and a multinomial Naive Bayes classifier. It modernizes the code accompanying Kobayashi, V. B., Berkers, H. A., Mol, S. T. Kismihok, G., and Den Hartog, D. N. (2017) <doi:10.1177/1094428117719322> The package replaces the original scripts in the paper.
| Version: | 0.1.2 |
| Depends: | R (≥ 4.1.0) |
| Suggests: | knitr, rmarkdown, testthat (≥ 3.0.0), xml2 |
| Published: | 2026-08-26 |
| DOI: | 10.32614/CRAN.package.textclassificationtutorial (may not be active yet) |
| Author: | Vladimer Kobayashi [aut, cre], Stefan Mol [aut], Gabor Kismihok [aut] |
| Maintainer: | Vladimer Kobayashi <vladimer.kobayashi at gmail.com> |
| BugReports: | https://github.com/vkobayashi/textclassificationtutorial/issues |
| License: | Apache License (≥ 2) |
| URL: | https://github.com/vkobayashi/textclassificationtutorial |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | textclassificationtutorial results |
| Reference manual: | textclassificationtutorial.html , textclassificationtutorial.pdf |
| Vignettes: |
Getting Started with Text Classification (source, R code) Evaluating a Text Classifier (source, R code) |
| Package source: | textclassificationtutorial_0.1.2.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): textclassificationtutorial_0.1.2.tgz, r-oldrel (arm64): textclassificationtutorial_0.1.2.tgz, r-release (x86_64): textclassificationtutorial_0.1.2.tgz, r-oldrel (x86_64): textclassificationtutorial_0.1.2.tgz |
Please use the canonical form https://CRAN.R-project.org/package=textclassificationtutorial to link to this page.