Description Usage Arguments Examples
Remove pronouns, or the words such as "I", "you", "he", "she", (and many more).
1 2 3 4 5 6 7 8 9 10 | strip_pronouns(text)
## S3 method for class 'corpus'
strip_pronouns(text)
## S3 method for class 'documents'
strip_pronouns(text)
## S3 method for class 'document'
strip_pronouns(text)
|
text |
An object inheriting of class |
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.