Learn R Programming

highlightr (version 1.2.0)

token_transcript: Tokenize Transcript

Description

This function tokenizes a transcript document that is to be used in collocate_comments_fuzzy() or collocate_comments()

Usage

token_transcript(transcript_file)

Value

a tokenized object

Arguments

transcript_file

data frame of the transcript, where the transcript text is in a column named text.

Examples

Run this code
# Rename relevant column in the source document to text
transcript_example_rename <- dplyr::rename(transcript_example, text=Text)
# Tokenize source document
toks_transcript <- token_transcript(transcript_example_rename)

Run the code above in your browser using DataLab