This function is used by txt_to_df() to transform first-person pronouns in texts with first-person narrative voice.
1 | first_to_third(input.text, egoname)
|
input.text |
A character vector of a text, with punctuation left in. Each element may be a line, sentence, paragraph, etc... |
egoname |
A character string of the alternate name token to signal the first-person narrator. This function transforms non-dialogic 1st-person pronouns into this variable's value (i.e. "EgoName", etc...). It must therefore match a unique alternate name on the associated Char.csv file. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.