def append_correct_whitespace(token, pronoun):
    """
    If the original pronoun was followed by whitespace, append whitespace to new pronoun.
    """
    if token.text_with_ws != token.text:
        whitespace = token.text_with_ws[-1]
        pronoun = pronoun + whitespace
    return pronoun