(mention)
return "last", mention.attributes["tokens"][-1].lower()
Compute the last token of a mention.

    Args:
        mention (Mention): A mention.

    Returns:
        The tuple ('last', TOKEN), where TOKEN is the (lowercased) last token
        of the mention.
Compute the last token of a mention.
Compute the last token of a mention .
def last(mention):
    """ Compute the last token of a mention.

    Args:
        mention (Mention): A mention.

    Returns:
        The tuple ('last', TOKEN), where TOKEN is the (lowercased) last token
        of the mention.
    """
    return "last", mention.attributes["tokens"][-1].lower()
def last ( mention ) : return "last" , mention . attributes [ "tokens" ] [ - 1 ] . lower ( )