nltk.Alignment.symmetric_difference

Alignment.symmetric_difference()

Return the symmetric difference of two sets as a new set.

(i.e. all elements that are in exactly one of the sets.)