返回顶部
j

japanese-smart-home-command-normalizer日语智能家居指令标准化

Normalize short Japanese smart-home voice transcripts after STT into safe structured intents and slots. Use when handling Japanese commands for lights and air conditioners, especially when transcripts contain STT drift such as れーぼー, だんぼー, そうふう, エアコントメテ, or 電気化して.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
102
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

japanese-smart-home-command-normalizer

japanese-smart-home-command-normalizer

在需要将简短的日语STT转录文本进行规范化处理后再执行智能家居操作时,使用此技能。

工作流程

  1. 1. 阅读 references/design.md,了解规范化处理流程及结果格式。
  2. 阅读 references/domains.md,了解支持的领域和词汇。
  3. 复用 lib/normalize.js 作为核心纯函数模块。
  4. 使用 scripts/demo.js 在终端尝试示例转录文本。
  5. 将规范化结果集成到设备控制技能(如 switchbot-light)或钩子(如 audio-router)中。

当前领域

  • - light(灯光)
- 设备别名:電気, ライト, 照明 - 操作:on(开), off(关)
  • - aircon(空调)
- 设备别名:エアコン - 操作:on(开), off(关), set_mode(设置模式) - 模式:cool(制冷), heat(制热), dry(除湿), fan(送风)

注意事项

  • - 此技能仅负责文本规范化和分类,不调用设备API。
  • 对于安全关键的家居操作,优先使用固定词汇加轻量级模糊匹配,而非开放式LLM解释。
  • 当置信度较低或缺少必要槽位时,返回 needsConfirmation: true,而非自动执行。
  • 如需添加新设备,应扩展领域词汇表,而非在调用方堆砌更多临时正则表达式。

资源

  • - lib/normalize.js:核心规范化和分类模块。
  • scripts/demo.js:打印样本输入的规范化结果。
  • fixtures/samples.json:示例转录文本及预期结果。
  • references/design.md:处理流程、API格式及置信度规则。
  • references/domains.md:支持的词汇表及扩展指南。
  • references/openclaw-integration.md:轻量级钩子集成指南。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 japanese-smart-home-command-normalizer-1775930065 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 japanese-smart-home-command-normalizer-1775930065 技能

通过命令行安装

skillhub install japanese-smart-home-command-normalizer-1775930065

下载

⬇ 下载 japanese-smart-home-command-normalizer v1.0.0(免费)

文件大小: 9.23 KB | 发布时间: 2026-4-12 10:18

v1.0.0 最新 2026-4-12 10:18
- Initial release of japanese-smart-home-command-normalizer.
- Normalizes short Japanese smart-home voice transcripts (primarily lights and air conditioners) into safe, structured intents and slots.
- Handles common STT transcription errors and device/action aliases (e.g., れーぼー, だんぼー, 電気, エアコン).
- Supports confidence estimation, returning needsConfirmation when intent is ambiguous or incomplete.
- Structured to safely extend supported devices and actions in the future.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部