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

Share:

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")