funmi {MadanTextNetwork}R Documentation

Modify Persian Words Starting with 'Persian text here'

Description

This function modifies Persian words starting with the prefix 'Persian text here'.

Usage

funmi(v)

Arguments

v

A character vector of Persian words.

Value

Returns a character vector where each element corresponds to a word from the input vector 'v' with the specified suffix modified. This results in a transformed vector where each word ending with the specified suffix is altered. The length of the returned vector matches the length of the input vector, and each word is modified independently based on the presence of the specified suffix.

Examples

 ## Not run: 
  words <- c("Persian text here")
  modified_words <- funmi(words)

## End(Not run)

[Package MadanTextNetwork version 0.1.0 Index]