ConverterTM: ConverterTM

Description Usage Arguments Format Details Author(s) See Also

Description

ConverterTM Converts NLPStudio Corpus objects to and from tm corpus objects.

Usage

1
ConverterTM$new()$convert(x)

Arguments

x

Object to be converted

Format

An object of class R6ClassGenerator of length 24.

Details

Given an NLPStudio Corpus object, this object returns a tm SimpleCorpus object. Alternatively, a SimpleCorpus, VCorpus, or PCorpus produces a NLPStudio Corpus object. Note: Document level metadata is not maintained when converting from NLPStudio Document objects to tm Corpus objects. Document level metadata must be added separately to the tm Corpus object.

Author(s)

John James, [email protected]

See Also

Other Converter Classes: Converter0, ConverterQ, Converter


DecisionScients/NLPStudio documentation built on May 15, 2019, 12:51 p.m.