removeNumbers: Remove English, Arabic, and Farsi numerals.

View source: R/stemmer.R

removeNumbersR Documentation

Remove English, Arabic, and Farsi numerals.

Description

Removes English, Arabic, and Farsi numerals from a string.

Usage

removeNumbers(texts)

Arguments

texts

A string from which English, Arabic, and Farsi numerals should be removed.

Value

removeNumbers returns a string with English, Arabic, and Farsi numerals removed.

Author(s)

Rich Nielsen

Examples


## Create string with Arabic characters and number

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

## Remove Numbers

removeNumbers(x) 


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