Learn R Programming

polmineR (version 0.6.1)

getTokenStream: get token stream

Description

get token stream

Usage

getTokenStream(.Object, ...)
"getTokenStream"(.Object, corpus, pAttribute, encoding = NULL, collapse = NULL, beautify = TRUE, cpos = FALSE)
"getTokenStream"(.Object, ...)
"getTokenStream"(.Object, left, right, ...)
"getTokenStream"(.Object, pAttribute, collapse = NULL, cpos = FALSE)

Arguments

.Object
an object of classe matrix or partition
...
further arguments
corpus
the CWB corpus
pAttribute
the pAttribute to decode
encoding
encoding to use
collapse
character string length 1
beautify
logical, whether to correct whitespace before and after interpunctation
cpos
logical, whether to return cpos as names of the tokens
left
left corpus position
right
right corpus position