tok_token: Tokenizator of token

View source: R/tok_token.R

tok_tokenR Documentation

Tokenizator of token

Description

The function's aim is to access tokens at their single-words component level maintaining the information of the original token structure

Usage

tok_token(doc)

Arguments

doc

(chr) A character vector representing a tokenized tocument

Value

(list) of character vector each element representing the word-components of each original token

Examples

tokened_document <- c('this is', 'is a', 'a beautiful', 'beautiful day')

tok_token(tokened_document)

UBESP-DCTV/costumer documentation built on Feb. 1, 2023, 4:52 a.m.