postprocess n-best trees