moving filtering nbest list from kaldi.py to script