This function performs lemmatization on a vector of Persian words.
Usage
LEMMA(Y, TYPE)
Value
Returns a character vector where each element is the lemmatized
form of the corresponding element in the input vector `Y`.
Lemmatization involves removing inflectional endings and returning
the word to its base or dictionary form. The length of the returned
vector matches the length of the input vector, and each word is
lemmatized independently based on the specified suffix types in `TYPE`.