code: def tokenize(text, lowercase=False, deacc=False):
      
      if lowercase:
          text = text.lower()
      if deacc:
          text = deaccent(text)
      for match in PAT_ALPHABETIC.finditer(text):
          yield match.group()
docs: Iteratively yield tokens as unicode strings, optionally also lowercasing them
      and removing accent marks.