Description Usage Arguments Examples
Remove punctuation marks.
1 2 3 4 5 6 7 8 9 10 | strip_punctuation(text)
## S3 method for class 'corpus'
strip_punctuation(text)
## S3 method for class 'documents'
strip_punctuation(text)
## S3 method for class 'document'
strip_punctuation(text)
|
text |
An object inheriting of class |
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.