fun.one.sums {MadanTextNetwork} | R Documentation |
General Persian Suffix Modification
Description
This function modifies Persian words based on a specified suffix type.
Usage
fun.one.sums(v, type)
Arguments
v |
A character vector of Persian words. |
type |
A character string representing the suffix type. |
Value
Returns a character vector where each element corresponds to a word from the input vector 'v' with the specified suffix type modified. This results in a transformed vector where each word has been modified to remove or alter the specified suffix. The length of the returned vector matches the length of the input vector, and each word is modified independently based on the specified suffix type.
Examples
## Not run:
words <- c("Persian text here")
modified_words <- fun.one.sums(words, "Persian text here")
## End(Not run)
[Package MadanTextNetwork version 0.1.0 Index]