Description Usage Arguments Value Author(s) Examples
Stems Arabic broken plurals and returns singulars.
1 | FixBrokenPlurals(texts)
|
texts |
A string with Arabic broken plurals that should be stemmed. |
FixBrokenPlurals
returns a string with Arabic broken plurals stemmed.
Safshekan, Nielsen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Create string with Arabic broken plurals
x <- '\u0645\u0635\u0627\u062F\u06CC\u0642
\u0648\u0632\u0631\u0627
\u062D\u062F\u0648\u062F'
# Remove new line characters and fixe half-spaces from a string.
x <- RemNewlineHalfspace(x)
# Remove all characters that are not Latin, Persian or punctuation,
# and standardize Persian characters.
x <- RefineChars(x)
# Stem Arabic broken plurals
FixBrokenPlurals(x)
|
[1] "مصداق وزیر حد"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.