The solution is based on the observation that content words tend to be less involved in multiple potential correspondences than function words, and that function words tend to be attached to content words.
the basic idea amounts to trying first the alignment of content words, and only in a second phase trying the alignment of function words relative to the position of content words to which they are attached.