Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

untokenize

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)

corpustools

Managing, Querying and Analyzing Tokenized Text

v0.4.10
GPL-3
Authors
Kasper Welbers and Wouter van Atteveldt
Initial release
2022-05-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.