code: def author_tokenize(name):
      
      phrases = scan_author_string_for_phrases(name)
      res = {'lastnames': [], 'nonlastnames': []}
      for key, tokens in phrases.items():
          lst = res.get(key)
          if lst is None:
              continue
          for token in tokens:
              if len(token) == 1:
                  lst.append(NameInitial(token))
              else:
                  lst.append(NameToken(token))
      return res
docs: This is how the name should be tokenized for the matcher.