removeNumbers: Remove English, Arabic, and Farsi numerals.

Description Usage Arguments Value Author(s) Examples

View source: R/stemmer.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
## 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 May 2, 2019, 10:14 a.m.