class_docstr: ARLSTem stemmer : a light Arabic Stemming algorithm without any dictionary.
  Department of Telecommunication & Information Processing. USTHB University,
  Algiers, Algeria.
  ARLSTem.stem(token) returns the Arabic stem for the input token.
  The ARLSTem Stemmer requires that all tokens are encoded using Unicode
  encoding.
class_docstr_tok: ["ARLSTem","stemmer",":","a","light","Arabic","Stemming","algorithm","without","any","dictionary",".","Department","of","Telecommunication","&","Information","Processing",".","USTHB","University",",","Algiers",",","Algeria",".","ARLSTem.stem","(","token",")","returns","the","Arabic","stem","for","the","input","token",".","The","ARLSTem","Stemmer","requires","that","all","tokens","are","encoded","using","Unicode","encoding","."]
docstr: remove suffixes from the word's end.
docstr_tok: ["remove","suffixes","from","the","word","'s","end","."]
code: def suff(self, token):
      """
      remove suffixes from the word's end.
      """
      if token.endswith("\u0643") and len(token) > 3:
          return token[:-1]
      if len(token) > 4:
          for s2 in self.su2:
              if token.endswith(s2):
                  return token[:-2]
      if len(token) > 5:
          for s3 in self.su3:
              if token.endswith(s3):
                  return token[:-3]
      if token.endswith("\u0647") and len(token) > 3:
          token = token[:-1]
          return token
      if len(token) > 4:
          for s2 in self.su22:
              if token.endswith(s2):
                  return token[:-2]
      if len(token) > 5:
          for s3 in self.su32:
              if token.endswith(s3):
                  return token[:-3]
      if token.endswith("\u0646\u0627") and len(token) > 4:
          return token[:-2]
      return token
  
file_path: nltk/nltk/stem/arlstem.py
imports: import re
  from nltk.stem.api import StemmerI
label_desc: Use image node_id 5 for calling the ARLSTem obj's underlying member method code with example usage: obj.suff(token) and returns: token, token, token, token, token, token, token, token