Learn R Programming

polmineR (version 0.6.1)

as.speeches: Split partition into speeches

Description

A method designed for corpora from the PolMine corpora of plenary protocols. A partition is split into speeches.

Usage

"as.speeches"(.Object, sAttributeDates, sAttributeNames, gap = 500, mc = FALSE, verbose = FALSE)

Arguments

.Object
a partition .Object
sAttributeDates
the s-attribute that provides the dates of sessions
sAttributeNames
the s-attribute that provides the names of speakers
gap
number of tokens between strucs to identify speeches
mc
whether to use multicore, defaults to FALSE
verbose
logical, defaults to TRUE

Value

a partitionBundle object