strip_indefinite_articles.Rd
Remove articles, or the words "a", "an".
strip_indefinite_articles(text) # S3 method for corpus strip_indefinite_articles(text) # S3 method for documents strip_indefinite_articles(text) # S3 method for document strip_indefinite_articles(text)
text | An object inheriting of class |
---|
# NOT RUN { init_textanalysis() # build document doc <- string_document("This is an indifite article.") # replaces in place! strip_indefinite_articles(doc) get_text(doc) # }