refining feature generation and CRF batch training