R/fs1.R

fs1 <-
function(word){
  if(length(word) >4){
    if(paste(word[(length(word)-1):length(word)],collapse="") == '\u0633\u062A'){
      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.