untokenize {corpustools}R Documentation

Reconstruct original texts

Description

If the tCorpus was created with remember_spaces = T, you can rebuild the original texts.

Usage

untokenize(tc)

Arguments

tc

A tCorpus, created with create_tcorpus, with remember_spaces = TRUE

Value

A data.table with the text fields and meta fields as columns.

Examples

tc = create_tcorpus(sotu_texts, doc_column='id')
untokenize(tc)

[Package corpustools version 0.5.1 Index]