removeDiacritics: Remove Arabic diacritics

View source: R/stemmer.R

removeDiacriticsR Documentation

Remove Arabic diacritics

Description

Removes diacritics from Arabic unicode text.

Usage

removeDiacritics(texts)

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

## 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 July 18, 2022, 9:06 a.m.