def categorize_label(speaker, pointer):
    """
    Categorize output of pointer (P1:720) into bins to format for training model
    Right now I bin as follows: (SPEAKER or NONE, ADDRESSEE) -> (0, 1)
    Returns integer from bin above
    :param speaker: Name for given player
    :param pointer: Line number where action reference points to
    :return: Int indicating bin of label
    """
    # Speaker performs action or utterance is not acted on
    if speaker in pointer or pointer == "NONE" or pointer == "NULL":
        return 0

    # Else addressee performs action as we would like
    return 1