It is easy to extend our sampling-based parsing framework to joint prediction of parsing and other labels.
when sampling the new heads, we can also sample the values of other variables at the same time.