dictionary-class: dictionary class objects and functions

Description Usage Arguments Slots

Description

The dictionary2 class constructed by dictionary(), and associated core class functions.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'dictionary2'
as.list(x, flatten = FALSE, levels = 1:100)

## S4 method for signature 'dictionary2,index,ANY,ANY'
x[i]

## S4 method for signature 'dictionary2,index'
x[[i]]

## S3 method for class 'dictionary2'
x$name

## S4 method for signature 'dictionary2'
c(x, ...)

Arguments

flatten

flatten the nested structure if TRUE

levels

integer vector indicating levels in the dictionary. Used only when flatten = TRUE.

i

index for entries

name

the dictionary key

...

dictionary objects to be concatenated

object

the dictionary to be extracted

Slots

.Data

named list of mode character, where each element name is a dictionary "key" and each element is one or more dictionary entry "values" consisting of a pattern match

meta

list of object metadata


koheiw/quanteda.core documentation built on Sept. 21, 2020, 3:44 p.m.