Remove articles, or the word "the".

strip_definite_articles(text)

# S3 method for corpus
strip_definite_articles(text)

# S3 method for documents
strip_definite_articles(text)

# S3 method for document
strip_definite_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 the article.")

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