call-multilingual-code-switching-aligner
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "call-multilingual-code-switching-aligner":https://skillpi.com/zh/skills/deepskill-d760052c83196cfd42fbec32d27c20431b1e03304010639fc80c045ca0041c99。安装前核对上游来源和版本:https://github.com/CALLE-AI/awesome-phone-call-agents。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
离线实验性英语/西班牙语词典助手,用于手机工作流演示。返回语码混合比例和建议风格;不包含语音识别或大语言模型提示集成。
介绍来源: third_party · CALLE-AI · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 来源文档未说明。
- 限制与区别
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: call-multilingual-code-switching-aligner
description: Offline experimental English/Spanish lexicon helper for phone-workflow demonstrations. Returns a code-mixing ratio and suggested style; no ASR or LLM prompt integration is included.
version: 1.0.0Multilingual Code-Switching Aligner
This offline prototype counts a small Spanish vocabulary in supplied text and suggests an English/Spanish mixing style. It does not identify arbitrary matrix languages, support Hinglish, or establish improvements in inclusivity, trust, or cognitive load.
The helper returns a style label only. A separate host could use it as a suggestion, subject to the caller's stated language preference; rapport or cognitive-load benefits are not established.
Scientific Foundation
| Paper / Framework | Relevance |
|---|---|
| Output Language Alignment for CSW | Demonstrates that AI mirroring code-switching frequencies increases user trust and reduces linguistic anxiety. |
| Matrix Language Frame (MLF) model | Myers-Scotton framework for distinguishing embedded words vs the matrix language. |
| FCA Consumer Duty (Vulnerability) | Reduces cognitive load for non-native speakers by allowing them to use their natural hybrid dialects. |
How it works
- Supply a transcript string. An optional host ASR component is outside this contribution.
- It strips punctuation and detects embedded vocabularies to calculate a Code-Mixing Index (CMI).
- The system returns a structured
CodeSwitchingReportcontaining the CMI and the suggestedPromptStyle. - A host may review the suggested style before updating a prompt; the helper performs no prompt or speech mutation.
Decision Matrix
| Code-Mixing Index (CMI) | Derived Prompt Style | Expected LLM Output Behavior |
|---|---|---|
CMI == 0.0 |
monolingual_english |
Strict monolingual English (standard). |
0.0 < CMI < 0.30 |
low_code_switching |
Occasional embedded loan words (e.g., "gracias", "pero"). |
CMI >= 0.30 |
high_code_switching |
Fluid Spanglish; alternating sentence clauses. |
Expected Outcomes & Metrics
Latency is a design target, not a measured integration benchmark.
| Metric | Target | Notes |
|---|---|---|
| CMI Computation Latency | < 5ms | Runs via ultra-fast lexicon matching. |
| Rapport / Trust Score | Not measured | No A/B evaluation of this helper is supplied. |
Limitations & Known Constraints
- Lexicon Coverage: The prototype uses a hardcoded vocabulary set. Production systems should use dynamic NLP models to classify embedded words for any language pair.
- ASR Dependency: Requires an ASR model capable of transcribing code-switched audio without forcing translations (e.g. Whisper large-v3).
Integration
This is an offline text helper. Real-time middleware, ASR, language preferences, and LLM prompt updates are proposed host integration work.
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 具备明确的语码混合分析算法和决策矩阵
- 面向特定研究/工作流场景,解决小众语言处理需求
亮点
- description 明确界定功能边界,排除 ASR/LLM 集成
- 触发词覆盖合理,不易与其他 Skill 重叠
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
文档已有使用场景描述但未按标准命名章节
改进建议:建议添加显式 'When to Use' 章节以提升规范性
亮点
- CMI 计算逻辑清晰,阈值定义明确
- 作为只读分析工具无不可逆操作风险
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
来源文档未说明。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。