* Fix POS tagging bug in nbest_train script
* Improve efficiency of training data generation