code: def cleanall(self,str,cleanslash=0):
          
          retstr = self.re_accent.sub(self.__sub_accent,str)
          retstr = self.re_missent.sub(self.__sub_missent,retstr)
  #         retstr = self.re_missent_space.sub('',retstr)
          retstr = self.re_morenum.sub(self.__sub_morenum,retstr)
          # 11/5/02 AA - add translation of &rsquo; and &rsquor; into
          #              single quote character
          retstr = re.sub(r'&rsquor?;',"'",retstr)
          if cleanslash:
              retstr = re.sub(r'\\','',retstr)
              retstr = re.sub(r'([Ll])/','&\g<1>strok;',retstr)
          return retstr
docs: Deals with things like:
  1./ accents with a slashes and converts them to entities.
  Example: \', \`,\^
  
  2./ Some 'missed' incomplete entities or &#x00b4; ( floating apostroph )
  and the like.
  Example: Milos&caron;evic -->  Milo&scaron;evic
          Marti&#00b4;nez  -->  Mart&iacute;nez
  
  3./ Get rid of remaining numeric entities.
  Converts them from an aproximation table or set to unknown.
  
  4./ If option 'cleanslash' is set takes 'dangerous' radical action with
  slashes. Gets rid of all of them. Also converts 'l/a' to '&lstrok;a'. Maybe cases
  in which this is substituting too much?