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