code: def mention_to_tokens(mention, token_type="words", lowercase=False):
      
  
      tokens = mention.context.sentence.__dict__[token_type]
      return [w.lower() if lowercase else w for w in tokens]
docs: Extract tokens from the mention
  
      :param mention: mention object.
      :param token_type: token type that wants to extract.
      :type token_type: str
      :param lowercase: use lowercase or not.
      :type lowercase: bool
      :return: The token list.
      :rtype: list