Description Usage Arguments Value Examples
isolateCharacterSpeech() isolates the speeches
of individual characters and optionally saves them in separate text files.
1 2 3 4 5 6 7 8  | 
drama | 
 A text (or multiple texts, as a QDDrama object)  | 
segment | 
 "Drama", "Act", or "Scene". Determines on what segment-level the speech is isolated.  | 
minTokenCount | 
 The minimal token count for a speech to be considered (default = 0)  | 
countPunctuation | 
 Whether to include punctuation in minTokenCount (default = TRUE)  | 
writeToFiles | 
 Whether to write each isolated speech into a new text file (default = TRUE)  | 
dir | 
 The directory into which the files will be written (default = data directory)  | 
A named list of character vectors, each corresponding to character speeches as defined by segment
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.