f3 {MadanText} | R Documentation |
Persian Text Normalization and Stemming
Description
This function normalizes Persian text by replacing specific characters and applies stemming.
Usage
f3(x)
Arguments
x |
A character vector of Persian text. |
Value
Returns a character vector where each element is the normalized and stemmed version of the corresponding element in the input vector. Specifically, it performs character replacement and stemming on each element of the input, thereby returning a vector of the same length but with processed text. If an element cannot be processed, it will be returned as NA in the output vector.
Examples
## Not run:
text <- c("Persian text here")
normalized_text <- f3(text)
## End(Not run)
[Package MadanText version 0.1.0 Index]