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: normalize the word by removing diacritics, replacing hamzated Alif
  with Alif replacing AlifMaqsura with Yaa and removing Waaw at the
  beginning.
docstr_tok: ["normalize","the","word","by","removing","diacritics",",","replacing","hamzated","Alif","with","Alif","replacing","AlifMaqsura","with","Yaa","and","removing","Waaw","at","the","beginning","."]
code: def norm(self, token):
      """
      normalize the word by removing diacritics, replacing hamzated Alif
      with Alif replacing AlifMaqsura with Yaa and removing Waaw at the
      beginning.
      """
      # strip Arabic diacritics
      token = self.re_diacritics.sub("", token)
      # replace Hamzated Alif with Alif bare
      token = self.re_hamzated_alif.sub("\u0627", token)
      # replace alifMaqsura with Yaa
      token = self.re_alifMaqsura.sub("\u064A", token)
      # strip the Waaw from the word beginning if the remaining is 3 letters
      # at least
      if token.startswith("\u0648") and len(token) > 3:
          token = token[1:]
      return token
  
file_path: nltk/nltk/stem/arlstem.py
imports: import re
  from nltk.stem.api import StemmerI
label_desc: Use image node_id 3 for calling the ARLSTem obj's underlying member method code with example usage: obj.norm(token) and returns: token