Formally, we assign each attachment a numerical depth (0 for top, 1 for the position below the top, and so on) and then we find argmax a 1 ,...,an n 1 P (a 1 ) .
lex Pairs the headword of the modifier with the noun it is modifying.