cleanLatinChars: Clean Latin characters

View source: R/stemmer.R

cleanLatinCharsR Documentation

Clean Latin characters

Description

Cleans Latin characters from a string

Usage

cleanLatinChars(texts)

Arguments

texts

A string from which Latin characters should be removed.

Value

cleanLatinChars returns a string with Latin characters removed.

Author(s)

Rich Nielsen

Examples

## Create string with Arabic and latin characters 

x <- '\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627 Hello'

## Rewmove latin characters from string

cleanLatinChars(x)


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