first_to_third: first_to_third()

Description Usage Arguments

Description

This function is used by txt_to_df() to transform first-person pronouns in texts with first-person narrative voice.

Usage

1
first_to_third(input.text, egoname)

Arguments

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.


seanrsilver/novnet documentation built on June 19, 2019, 12:44 a.m.