def deduplicate_left_right_realisation(left_word, right_word):
    """Remove the right word realisation if it's a duplicate of the left one."""
    if (
        (
            left_word.realisation == 'de'
            and right_word.realisation in ['de', 'du', "d'"]
        )
        or (
            left_word.realisation == 'que'
            and right_word.realisation in ['que', "qu'"]
        )
    ):
        right_word.realisation = None
        return True