CMD + K

r-tokenizers

Community

Convert natural language text into tokens. Includes tokenizers for shingled n-grams, skip n-grams, words, word stems, sentences, paragraphs, characters, shingled characters, lines, tweets, Penn Treebank, regular expressions, as well as functions for counting characters, words, and sentences, and a function for splitting longer texts into separate documents, each with the same number of words. The tokenizers have a consistent interface, and the package is built on the 'stringi' and 'Rcpp' packages for fast yet correct tokenization in 'UTF-8'.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::r-tokenizers

Usage Tracking

0.3.0
0.2.3
0.2.1
0.1.4
4 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Convert natural language text into tokens. Includes tokenizers for shingled n-grams, skip n-grams, words, word stems, sentences, paragraphs, characters, shingled characters, lines, tweets, Penn Treebank, regular expressions, as well as functions for counting characters, words, and sentences, and a function for splitting longer texts into separate documents, each with the same number of words. The tokenizers have a consistent interface, and the package is built on the 'stringi' and 'Rcpp' packages for fast yet correct tokenization in 'UTF-8'.

Last Updated

Dec 27, 2022 at 05:53

License

MIT

Supported Platforms

macOS-arm64
macOS-64
linux-aarch64
linux-ppc64le
win-64
linux-64