dramaling-vocab-learning/backend/DramaLing.Api/Services/Review
鄭沛軒 9bebe78740 feat: 完整實現 Azure Speech Services 例句口說練習功能
🎤 Azure Speech Services 整合:
- 安裝 Microsoft.CognitiveServices.Speech v1.38.0
- 實現 IPronunciationAssessmentService 和 AzurePronunciationAssessmentService
- 創建 SpeechController API 端點 (/api/speech/pronunciation-assessment)
- 更新 PronunciationAssessment 資料庫實體和 Migration
- 完整的多維度評分系統 (準確度/流暢度/完整度/韻律)

🖥️ 前端例句口說練習:
- 實現 AudioRecorder 共用組件 (Web Audio API 錄音)
- 創建 speechAssessmentService.ts API 客戶端
- 完整的 SentenceSpeakingQuiz 組件含錄音/評分/結果顯示
- 擴展複習系統支援第3種題目類型 (sentence-speaking)

🔧 系統修復和優化:
- 修復 FlashcardReviewRepository Include 關聯查詢問題
- 修復 ReviewService 圖片 URL 處理邏輯
- 更新 appsettings.json Azure Speech 配置
- 修復 Swagger 文檔生成問題
- 完善依賴注入和服務註冊

📱 用戶體驗:
- 響應式錄音 UI 含進度條和計時
- 智能評分結果展示和改善建議
- 完整的錯誤處理和狀態管理
- 圖片輔助的語境理解

現在 DramaLing 具備完整的 AI 驅動三合一學習系統:
翻卡記憶 → 詞彙選擇 → 例句口說練習 🎉

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 02:45:11 +08:00
..
ReviewService.cs feat: 完整實現 Azure Speech Services 例句口說練習功能 2025-10-09 02:45:11 +08:00