removeArabicNumbers: Remove Arabic numbers

View source: R/stemmer.R

removeArabicNumbersR Documentation

Remove Arabic numbers

Description

Removes Arabic numerals from a string.

Usage

removeArabicNumbers(texts)

Arguments

texts

A string from which Arabic numerals should be removed.

Value

removeArabicNumbers returns a string with Arabic numerals removed.

Author(s)

Rich Nielsen

Examples

## Create string with Arabic characters and numbers 

x <- '\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627 \u0661\u0662\u0663'

## Remove Arabic numbers
removeArabicNumbers(x)


arabicStemR documentation built on July 18, 2022, 9:06 a.m.