epistle_to_third: epistle_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
epistle_to_third(input.text, author.name, addressee.name)

Arguments

input.text

A character vector of a single epistle, with punctuation left in. Each element may be a line, sentence, paragraph, etc...

author.name

A character string of the alternate name token to signal the first-person author of an epistle. This function transforms non-dialogic 1st-person pronouns into this variable's value. It must therefore match a unique alternate name on the associated Char.csv file.

addressee.name

A character string of the alternate name token to signal the second-person recipient of an epistle. This function transforms 2nd-person pronouns into this variable's value. 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.