(self)
remove length three and length two suffixes in this order
remove length three and length two suffixes in this order
remove length three and length two suffixes in this order
def suf32(self):
        """remove length three and length two suffixes in this order"""
        if len(self.stm) >= 6:
            for suf3 in self.s3:
                if self.stm.endswith(suf3):
                    self.stm = self.stm[:-3]
                    return self.stm
                elif len(self.stm) >= 5:
                    for suf2 in self.s2:
                        if self.stm.endswith(suf2):
                            self.stm = self.stm[:-2]
                            return self.stm
def suf32 ( self ) : if len ( self . stm ) >= 6 : for suf3 in self . s3 : if self . stm . endswith ( suf3 ) : self . stm = self . stm [ : - 3 ] return self . stm elif len ( self . stm ) >= 5 : for suf2 in self . s2 : if self . stm . endswith ( suf2 ) : self . stm = self . stm [ : - 2 ] return self . stm