group prune

group prune for seg, pos, and parser