def is_end_word(word):
    """
    Determines if a word is at the end of a sentence.
    """
    if word == 'Mr.' or word == 'Mrs.':
        return False
    punctuation = "!?."
    return word[-1] in punctuation