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

SherryLiu 8faf33fe29 commit before checkout branch пре 10 месеци
dictionary 8faf33fe29 commit before checkout branch пре 10 месеци
src 1fadd4f95c update audio file name parameter пре 10 месеци
README.md 1fadd4f95c update audio file name parameter пре 10 месеци
asr_api.py 8faf33fe29 commit before checkout branch пре 10 месеци
requirements.txt fed1681308 added tone пре 10 месеци
soundex.py 8faf33fe29 commit before checkout branch пре 10 месеци
whisper.py 8faf33fe29 commit before checkout branch пре 10 месеци

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>