strip_articles.Rd
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)
text | An object inheriting of class |
---|
# NOT RUN { init_textanalysis() # build document doc <- string_document("This document has an article.") # replaces in place! strip_articles(doc) get_text(doc) # }