Crandore Hub

textclassificationtutorial

Reproducible Text Classification Workflows

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.2 rolling linux/jammy R-4.5 textclassificationtutorial_0.1.2.tar.gz 134.2 KiB
0.1.2 rolling linux/noble R-4.5 textclassificationtutorial_0.1.2.tar.gz 134.2 KiB
0.1.2 rolling source/ R- textclassificationtutorial_0.1.2.tar.gz 89.9 KiB
0.1.2 latest linux/jammy R-4.5 textclassificationtutorial_0.1.2.tar.gz 134.2 KiB
0.1.2 latest linux/noble R-4.5 textclassificationtutorial_0.1.2.tar.gz 134.2 KiB
0.1.2 latest source/ R- textclassificationtutorial_0.1.2.tar.gz 89.9 KiB
0.1.2 2026-04-23 source/ R- textclassificationtutorial_0.1.2.tar.gz 0 B

Dependencies (latest)

Suggests