fun.all.sums {MadanTextNetwork} | R Documentation |
Apply Suffix Modifications to Persian Words
Description
This function iteratively applies a series of suffix modifications to a vector of Persian words.
Usage
fun.all.sums(v, TYPE = TYPE.org)
Arguments
v |
A character vector of Persian words. |
TYPE |
A vector of suffix types for modification. |
Value
Returns a character vector where each element corresponds to a word from the input vector 'v' with all specified suffix modifications applied. This results in a transformed vector where each word has been modified according to the series of suffix types provided in 'TYPE'. The length of the returned vector matches the length of the input vector.
Examples
## Not run:
words <- c("Persian text here")
modified_words <- fun.all.sums(words, TYPE)
## End(Not run)
[Package MadanTextNetwork version 0.1.0 Index]