types: Get word types from a tokens object

View source: R/tokens.R

typesR Documentation

Get word types from a tokens object

Description

Get unique types of tokens from a tokens object.

Usage

types(x)

Arguments

x

a tokens object

See Also

featnames

Examples

toks <- tokens(data_corpus_inaugural)
head(types(toks), 20)

quanteda documentation built on June 8, 2025, 9:41 p.m.