Note: This package requires external data files:
trained_tfidf_model.rds
trained_vectorizer.rds
trained_rf_ranger_model.rds, which is not packaged into CRAN due to its large size.
Please visit the following link to download manually: https://doi.org/10.5281/zenodo.15340077

After downloading, please place it in the following path:
file.path(find.package("text2emotion"), "extdata/trained_tfidf_model.rds")
file.path(find.package("text2emotion"), "extdata/trained_vectorizer.rds")
file.path(find.package("text2emotion"), "extdata/trained_rf_ranger_model.rds")


If you are interested in the .csv and .rds files required for model training,
please check this website https://github.com/Hateprograming/text2emotion

The .csv files in the above website are the results of data processing.
The original GoEmotions dataset is described in
Demszky, D. et al. (2020). GoEmotions: A Dataset of Fine-Grained Emotions.
The data is available at: https://huggingface.co/datasets/google-research-datasets/go_emotions
