R/fs4.R

fs4 <-
function(word){
  if(length(word) >4){
    if(paste(word[(length(word)-1):length(word)],collapse="") == '\u06CC\u06CC'){
      word <- word[1:(length(word)-2)]}}; return(word)}

Try the PersianStemmer package in your browser

Any scripts or data that you put into this service are public.

PersianStemmer documentation built on June 28, 2019, 5:03 p.m.