def split_hour_minute(time):
    """Split hour/minute into components."""
    stripped = time.strip().rstrip('?:!.,;')
    hourminute = stripped.split(':')
    if len(hourminute) > 1:
        hour = int(hourminute[0])
        minute = int(hourminute[1])
    else:
        hour = int(hourminute[0])
        minute = 0
    return hour, minute
