Remove pronouns, or the words such as "I", "you", "he", "she", (and many more).

strip_pronouns(text)

# S3 method for corpus
strip_pronouns(text)

# S3 method for documents
strip_pronouns(text)

# S3 method for document
strip_pronouns(text)

Arguments

text

An object inheriting of class document or corpus.

Examples

# NOT RUN {
init_textanalysis()

# build document
# must be lowercase
doc <- string_document("she is the pronoun.")

# replaces in place!
strip_pronouns(doc)
get_text(doc)
# }