untokenize: Reconstruct original texts

View source: R/untokenize.r

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

kasperwelbers/tcorpus documentation built on May 10, 2023, 5:10 p.m.