strip_punctuation.Rd
Remove punctuation marks.
strip_punctuation(text) # S3 method for corpus strip_punctuation(text) # S3 method for documents strip_punctuation(text) # S3 method for document strip_punctuation(text)
text | An object inheriting of class |
---|
# NOT RUN { init_textanalysis() # build document # must be lowercase doc <- string_document(".This is a document!!") # replaces in place! strip_punctuation(doc) get_text(doc) # }