Learn R Programming

quanteda (version 1.1.1)

types: 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

Run this code
# NOT RUN {
toks <- tokens(data_corpus_inaugural)
types(toks)
# }

Run the code above in your browser using DataLab