改進ASR錯誤判斷相似音詞彙的問題

SherryLiu c67e7fea70 我要看孫子 7 mesi fa
dictionary 8faf33fe29 commit before checkout branch 7 mesi fa
src c67e7fea70 我要看孫子 7 mesi fa
README.md 1fadd4f95c update audio file name parameter 7 mesi fa
asr_api.py 8faf33fe29 commit before checkout branch 7 mesi fa
requirements.txt fed1681308 added tone 7 mesi fa
soundex.py 8faf33fe29 commit before checkout branch 7 mesi fa
whisper.py 8faf33fe29 commit before checkout branch 7 mesi fa

README.md

語音轉文字 ASR

自定義字典從Supabase下載

Prerequisite

  • 語音檔需存取於src/data/
  • openai key & supabase keys 放src/environment.env

To run the code

pip install -r requirements.txt

執行主程式

python src/main_script.py <audio filename>