Improved parser pruning process.