Converting text to numerical features requires specifically created procedures, which are implemented as steps according to the 'recipes' package. These steps allows for tokenization, filtering, counting (tf and tfidf) and feature hashing.
| Version: | 1.2.0 |
| Depends: | R (≥ 4.1), recipes (≥ 1.4.0) |
| Imports: | cli, dplyr, generics (≥ 0.1.0), glue, lifecycle, magrittr, Matrix, purrr, rlang (≥ 1.1.0), SnowballC, sparsevctrs (≥ 0.3.0), tibble, tokenizers, utils, vctrs |
| Suggests: | covr, dials (≥ 1.2.0), hardhat, httr2 (≥ 1.0.0), janitor, knitr, modeldata, reticulate, rmarkdown, safetensors, sentencepiece, spacyr, stopwords, stringi, testthat (≥ 3.0.0), text2vec, tokenizers.bpe, torch, udpipe, withr, wordpiece |
| Published: | 2026-11-03 |
| DOI: | 10.32614/CRAN.package.textrecipes |
| Author: | Emil Hvitfeldt |
| Maintainer: | Emil Hvitfeldt <emil.hvitfeldt at posit.co> |
| BugReports: | https://github.com/tidymodels/textrecipes/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/tidymodels/textrecipes, https://textrecipes.tidymodels.org/ |
| NeedsCompilation: | yes |
| SystemRequirements: | "GNU make" |
| Materials: | README, NEWS |
| CRAN checks: | textrecipes results [issues need fixing before 2026-11-25] |
| Package source: | textrecipes_1.2.0.tar.gz |
| Windows binaries: | r-devel: textrecipes_1.1.0.zip, r-release: textrecipes_1.2.0.zip, r-oldrel: textrecipes_1.2.0.zip |
| macOS binaries: | r-release (arm64): textrecipes_1.2.0.tgz, r-oldrel (arm64): textrecipes_1.2.0.tgz, r-release (x86_64): textrecipes_1.2.0.tgz, r-oldrel (x86_64): textrecipes_1.2.0.tgz |
| Old sources: | textrecipes archive |
Please use the canonical form https://CRAN.R-project.org/package=textrecipes to link to this page.