def get_position (pair, s_mention) :

    """Get the position of the antecedent : {beginning (0)  , middle(1), end (2)} of the sentence """

    antd_index=int(pair[0][-1])-1
    if antd_index == 0 :
        return 0
    if antd_index == len(s_mention) -1 :
        return 2
    return 1