magicTokenizer: magicTokenizer

View source: R/tools.R

magicTokenizerR Documentation

magicTokenizer

Description

This function provides the number of tokens in a specified text, acting as a wrapper for an internal tokenizer function.

Usage

magicTokenizer(text)

Arguments

text

A character string: the text for which the number of tokens is required.

Value

Returns the number of tokens in the provided text.


MacBehaviour documentation built on Oct. 21, 2024, 1:07 a.m.