removeDiacritics: Remove Arabic diacritics

Description Usage Arguments Value Author(s) Examples

View source: R/stemmer.R

Description

Removes diacritics from Arabic unicode text.

Usage

1

Arguments

texts

A string from which Arabic diacritics should be removed.

Value

removeDiacritics returns a string with Arabic diacritics removed.

Author(s)

Rich Nielsen

Examples

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

x<- '\u0627\u0647\u0644\u0627\u064b \u0648\u0633\u0647\u0644\u0627\u064b'

## Remove diacritics
removeDiacritics(x)

arabicStemR documentation built on May 2, 2019, 10:14 a.m.