quickSentiment: A Fast and Flexible Pipeline for Text Classification

A high-level pipeline that simplifies text classification into three streamlined steps: preprocessing, model training, and standardized prediction. It unifies the interface for multiple algorithms (including 'glmnet', 'ranger', 'xgboost', and 'naivebayes') and memory-efficient sparse matrix vectorization methods (Bag-of-Words, Term Frequency, TF-IDF, and Binary). Users can go from raw text to a fully evaluated sentiment model, complete with ROC-optimized thresholds, in just a few function calls. The resulting model artifact automatically aligns the vocabulary of new datasets during the prediction phase, safely appending predicted classes and probability matrices directly to the user's original dataframe to preserve metadata.

Package details

AuthorAlabhya Dahal [aut, cre]
MaintainerAlabhya Dahal <alabhya.dahal@gmail.com>
LicenseMIT + file LICENSE
Version0.3.6
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("quickSentiment")

Try the quickSentiment package in your browser

Any scripts or data that you put into this service are public.

quickSentiment documentation built on Aug. 29, 2026, 1:07 a.m.