Learn R Programming

MacBehaviour (version 1.2.8)

magicTokenizer: 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)

Value

Returns the number of tokens in the provided text.

Arguments

text

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