简介
基于 Azure 语音服务的发音教练工具,提供音素级精准度、流利度、韵律等多维度评分与个性化改进建议。
原始描述
Pronunciation coaching with real voice analysis using Azure Speech Services. Analyzes audio files for phoneme-level accuracy, fluency, prosody, and intonatio...
通过你的 Agent 添加
安装目录:pronunciation-coach/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
中文使用说明 来自收录源
核心用法
Pronunciation Coach 是一款集成微软 Azure Speech Services 的专业发音评估工具,专为英语学习者设计。用户只需发送语音消息,系统即可自动完成音频采集、格式转换、云端分析到报告生成的完整流程。
工作流程:
- 音频接收:自动捕获 Telegram 语音消息,存储于本地目录
- 格式处理:通过 ffmpeg 将任意格式(OGG/WAV/MP3/M4A)转换为 16kHz 单声道 WAV
- 云端分析:调用 Azure Speech Service 进行音素级识别,输出五大核心指标——发音准确度(Pronunciation)、内容准确度(Accuracy)、流利度(Fluency)、韵律(Prosody)、完整度(Completeness)
- 智能报告:生成逐词拆解报告,标注问题音素,并给出具体改进方向
- 个性化教练:识别 Top 3 薄弱音素,提供发音技巧指导(参考内置 phoneme-guide.md),并通过 TTS 发送标准示范音频
显著优点:
- 权威音素级分析:依托微软 Azure 企业级语音引擎,精确到每个音素(phoneme)的得分,远超普通 AI 的模糊评价
- 多维度量化评估:五大独立指标形成完整能力画像,避免单一分数的信息损失
- 闭环学习体验:从诊断(报告)→示范(TTS)→巩固(针对性练习)形成完整学习闭环
- 隐私可控:音频本地暂存后上传,用户可自主管理数据生命周期
潜在缺点与局限性:
- 依赖外部云服务:必须配置 Azure API Key,存在服务费用和网络延迟;离线场景不可用
- 英语专属:当前仅支持英语发音评估,无法覆盖多语种需求
- ffmpeg/Node.js 依赖:需要本地环境配置,对非技术用户有一定门槛
- 隐私敏感操作:语音数据需上传至微软云端,对数据主权敏感场景不适用
适合人群:
- 中高级英语学习者希望获得精准发音反馈
- 备考雅思、托福口语的应试者需量化跟踪进步
- 英语教师寻求自动化语音作业批改工具
- 远程语言教练辅助教学
常规风险:
- API 密钥泄露风险:Azure Speech Key 若配置不当可能暴露
- 数据传输风险:语音文件上传至微软 Azure,受微软隐私政策约束
- 评分偏差风险:AI 对语速过快、口音极重或环境噪音大的音频可能误判
- 依赖项失效风险:ffmpeg 或 Node.js 版本不兼容可能导致流程中断
技能正文
name: pronunciation-coach
description: Pronunciation coaching with real voice analysis using Azure Speech Services. Analyzes audio files for phoneme-level accuracy, fluency, prosody, and intonation scores.
env:
AZURE_SPEECH_KEY: Azure Speech Service API Key
AZURE_SPEECH_REGION: Azure Speech Service Region (e.g., southeastasia)
Pronunciation Coach
Analyze spoken English pronunciation using Azure Speech Services and provide actionable coaching feedback.
Privacy Note: This skill reads local voice messages from ~/.openclaw/media/inbound/ and transmits them to Microsoft Azure Speech Services for processing.
Prerequisites
- Azure Speech API Key: Set
AZURE_SPEECH_KEY env var
- Azure Speech Region: Set
AZURE_SPEECH_REGION env var (e.g., southeastasia)
- ffmpeg: Required for audio format conversion (must be on PATH)
- Node.js: Required for report generation
Workflow
1. Receive Audio
AZURE_SPEECH_KEY env varAZURE_SPEECH_REGION env var (e.g., southeastasia)1. Receive Audio
Voice messages from Telegram are stored in ~/.openclaw/media/inbound/. Find the latest .ogg file matching the message timestamp.
ls -lt ~/.openclaw/media/inbound/*.ogg | head -5
2. Run Assessment
scripts/pronunciation-assess.sh <audio_file> "<reference_text>"
audio_file: Path to the voice message (ogg/wav/mp3/m4a)
reference_text: What the speaker intended to say (from transcript)
- The script auto-converts any format to WAV 16kHz mono
3. Generate Report
scripts/pronunciation-assess.sh <audio_file> "<reference_text>"
audio_file: Path to the voice message (ogg/wav/mp3/m4a)reference_text: What the speaker intended to say (from transcript)Pipe the JSON output into the report generator:
scripts/pronunciation-assess.sh audio.ogg "reference text" | node scripts/pronunciation-report.js
The report includes:
- Overall scores (Pronunciation, Accuracy, Fluency, Prosody, Completeness)
- Word-by-word breakdown with per-phoneme scores
- Problem sounds highlighted
- Verdict with actionable next steps
4. Provide Coaching
After generating the report:
- Send the text report to the user (scores + word breakdown)
- Identify top 3 problem sounds from the phoneme scores
- Explain each problem — what the correct sound is and how to produce it
- See
references/phoneme-guide.mdfor phoneme descriptions and fixes
- See
- Send a voice message (via TTS) demonstrating the correct pronunciation of problem words
- Assign practice — give the user specific sentences to re-record focusing on weak sounds
Coaching Tips
- Scores ≥ 90: Excellent, minor polish
- Scores 70-89: Good, targeted practice needed
- Scores < 70: Needs focused drill on that specific sound
- "Omission" errors mean the word wasn't detected — speaker may have been too quiet or mumbled
- Prosody score < 85 suggests monotone delivery — coach on intonation rises/falls
- Compare scores across multiple recordings to track improvement
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。