Second, our model captures both global dependencies across different titles in the tree and local dependencies within sections.
also, the loop in line 1 of Figure 2 iterates over segment titles rather than words.