Description Usage Arguments Examples
Remove corrupt UTF8 characters that might cause issues, recommended.
1 2 3 4 5 6 7 8 9 10 | remove_corrupt_utf8(text)
## S3 method for class 'corpus'
remove_corrupt_utf8(text)
## S3 method for class 'documents'
remove_corrupt_utf8(text)
## S3 method for class 'document'
remove_corrupt_utf8(text)
|
text |
An object inheriting of class |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
init_textanalysis()
# build document
doc <- string_document("this document is clean")
# replaces in place!
remove_corrupt_utf8(doc)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.