removeFarsiNumbers: Remove Farsi numbers

View source: R/stemmer.R

removeFarsiNumbersR Documentation

Remove Farsi numbers

Description

Removes Farsi numerals from a string.

Usage

removeFarsiNumbers(texts)

Arguments

texts

A string from which Farsi numerals should be removed.

Value

removeFarsiNumbers 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 \u06f1\u06f2\u06f3\u06f4\u06f5'

## Remove Farsi numbers
removeFarsiNumbers(x)


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