tmTextDocument: Function to create single tmTextDocument with meta data. The...

Description Usage Arguments Value Examples

View source: R/classes.R

Description

Function to create single tmTextDocument with meta data. The object can store any from of documents: raw (string), parsed or table of words counts.

Usage

1

Arguments

x

source

...

metadata to set. Can be set as language = "pl" or newmeta = "random"

Value

returns tmTextDocument

Examples

1
2
text <-  tmTextDocument("This is text")
text2 <- tmTextDocument("This is text", language = "en", title = "My test")

textmining documentation built on May 29, 2017, 8:27 p.m.