Learn R Programming

corpustools (version 0.5.1)

untokenize: Reconstruct original texts

Description

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

Usage

untokenize(tc)

Value

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

Arguments

tc

A tCorpus, created with create_tcorpus, with remember_spaces = TRUE

Examples

Run this code
tc = create_tcorpus(sotu_texts, doc_column='id')
untokenize(tc)

Run the code above in your browser using DataLab