removePunctuation: Remove punctuation.

Description Usage Arguments Value Author(s) Examples

Description

Removes punctuation from a string, including some specialized Arabic characters.

Usage

1

Arguments

texts

A string from which punctuation should be removed.

Value

Returns a string with punctuation removed.

Author(s)

Rich Nielsen

Examples

1
2
3
4
5
6
7
## Create string with Arabic characters and punctuation

x <- '\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627!!!?'

## Remove punctuation

removePunctuation(x)  


Search within the arabicStemR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.