Remove articles, or the words "a", "an", "the".

strip_articles(text)

# S3 method for corpus
strip_articles(text)

# S3 method for documents
strip_articles(text)

# S3 method for document
strip_articles(text)

Arguments

text

An object inheriting of class document or corpus.

Examples

# NOT RUN {
init_textanalysis()

# build document
doc <- string_document("This document has an article.")

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