def heads(token):
    """
    Return the heads of a token, from the root down to immediate head

    :param token: spacy token
    :return: the heads of the token
    """
    hs = []
    while token is not token.head:
        token = token.head
        hs.append(token)
    return hs[::-1]