Language model

From VectorSpaceLab/AREX-Skill · View interactive version

Language model is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Route ASRT pinyin sequences through its statistical pinyin-to-Chinese language model.

How to use this skill

Skill file

language-model

Use this sub-skill when a task needs ASRT's pinyin-to-Chinese text stage:

Do not use this sub-skill for audio loading, feature extraction, acoustic pinyin generation, or RPC wrapper design. Route acoustic pinyin generation to the acoustic-models sub-skill, audio and dictionary basics to data-and-features, and HTTP/gRPC endpoint wrappers to serving-clients.

Runtime assets

This sub-skill is self-contained and includes the files required by the ASRT language model:

Start here

  1. For workflows and model behavior, read references/pinyin-language-model.md.
  2. For API signatures and state formats, read references/api-reference.md.
  3. For failure diagnosis, read references/troubleshooting.md.
  4. For a quick self-contained decode, run:
python scripts/decode_pinyin.py ni3 hao3 ya5

Expected output:

你好呀
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.