Generating trees Once we are done with error correction, we want to output the trees.
what we get from the variational model are local decisions for individual labels and edges, and it is not straight-forward to generate connected trees based on these decisions.