cleanLatinChars: Clean Latin characters

Description Usage Arguments Value Author(s) Examples

View source: R/stemmer.R

Description

Cleans Latin characters from a string

Usage

1

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

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