strip_stopwords.Rd
Remove stopwords, or the words such as "all", "almost", "alone", (and many more).
strip_stopwords(text) # S3 method for corpus strip_stopwords(text) # S3 method for documents strip_stopwords(text) # S3 method for document strip_stopwords(text)
text | An object inheriting of class |
---|
# NOT RUN { init_textanalysis() # build document # must be lowercase doc <- string_document("The document has a stop word.") # replaces in place! strip_stopwords(doc) get_text(doc) # }