grafzahl: Supervised Machine Learning for Textual Data Using Transformers and 'Quanteda'

Duct tape the 'quanteda' ecosystem (Benoit et al., 2018) <doi:10.21105/joss.00774> to modern Transformer-based text classification models (Wolf et al., 2020) <doi:10.18653/v1/2020.emnlp-demos.6>, in order to facilitate supervised machine learning for textual data. This package mimics the behaviors of 'quanteda.textmodels' and provides a function to setup the 'Python' environment to use the pretrained models from 'Hugging Face' <https://huggingface.co/>. More information: <doi:10.5117/CCR2023.1.003.CHAN>.

Getting started

Package details

AuthorChung-hong Chan [aut, cre] (ORCID: <https://orcid.org/0000-0002-6232-7530>)
MaintainerChung-hong Chan <chainsawtiney@gmail.com>
LicenseGPL (>= 3)
Version0.0.12
URL https://gesistsa.github.io/grafzahl/ https://github.com/gesistsa/grafzahl
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("grafzahl")

Try the grafzahl package in your browser

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

grafzahl documentation built on June 18, 2025, 5:08 p.m.