Package: grafzahl 0.0.12

Chung-hong Chan

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>.

Authors:Chung-hong Chan [aut, cre]

grafzahl_0.0.12.tar.gz
grafzahl_0.0.12.zip(r-4.7)grafzahl_0.0.12.zip(r-4.6)grafzahl_0.0.12.zip(r-4.5)
grafzahl_0.0.12.tgz(r-4.6-any)grafzahl_0.0.12.tgz(r-4.5-any)
grafzahl_0.0.12.tar.gz(r-4.7-any)grafzahl_0.0.12.tar.gz(r-4.6-any)
grafzahl_0.0.12.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
grafzahl/json (API)

# Install 'grafzahl' in R:
install.packages('grafzahl', repos = c('https://gesistsa.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gesistsa/grafzahl/issues

Pkgdown/docs site:https://gesistsa.github.io

Datasets:

On CRAN:

Conda:

6.24 score 43 stars 5 scripts 176 downloads 8 exports 46 dependencies

Last updated from:9040661931. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK183
source / vignettesOK196
linux-release-x86_64OK164
macos-release-arm64OK129
macos-oldrel-arm64OK110
windows-develOK122
windows-releaseOK77
windows-oldrelOK97
wasm-releaseOK121

Exports:detect_condadetect_cudaget_amharic_datagrafzahlhydratesetup_grafzahltextmodel_transformeruse_nonconda

Dependencies:assertthatclicodetoolscpp11farverfastmatchforeachggplot2glmnetgluegowergtablehereisobandISOcodesiteratorsjsonlitelabelinglatticelifecyclelimemagrittrMatrixpngquantedaR6rappdirsRColorBrewerRcppRcppEigenRcppTOMLreticulaterlangrprojrootS7scalesshapeSnowballCstopwordsstringisurvivalvctrsviridisLitewithrxml2yaml

Setup Guide

Rendered fromgrafzahl.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2024-03-25
Started: 2024-03-25