Merge pull request #22 from alibaba-damo-academy/dev
add dependency "pynini==2.1.5" for fun_text_processing into setup.py
| | |
| | | wav_id, wav_path = line.strip().split() |
| | | logging.info("decoding, utt_id: ['{}']".format(wav_id)) |
| | | rec_result = inference_pipeline(audio_in=wav_path) |
| | | text = rec_result["text"] |
| | | if 'text' in rec_result: |
| | | text = rec_result["text"] |
| | | else: |
| | | text = '' |
| | | f_out.write(wav_id + " " + text + "\n") |
| | | logging.info("best hypo: {} \n".format(text)) |
| | |
| | | "editdistance==0.5.2", |
| | | "tensorboard>=1.14", |
| | | "g2p", |
| | | # ITN |
| | | "pynini==2.1.5", |
| | | ], |
| | | # train: The modules invoked when training only. |
| | | "train": [ |