Admittedly, this method of generating training and testing data omits some dependencies at the level of the table-of-contents as a whole.
the subtrees used in our experiments still exhibit a sufficiently deep hierarchical structure, rich with contextual dependencies.