parsing-and-normalization
Parse and normalize Chinese time, money, location, and related entity strings.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- parsing-and-normalization
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Parse and normalize Chinese time, money, location, and related entity strings.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md2.3 KB
- 参考文档references/troubleshooting.md1.2 KB
- 脚本scripts/smoke_parsers.py1.6 KB
03 SKILL.md 正文
Parsing and normalization
Use this sub-skill when a string should be interpreted as a structured Chinese entity rather than just cleaned.
Include here
- Time parsing and extraction:
parse_time,jio.ner.extract_time - Money parsing and extraction:
parse_money,jio.ner.extract_money,money_num2char - Location parsing and recognition:
parse_location,recognize_location - Phone attribution:
phone_location,cell_phone_location,landline_phone_location - Identity and plate parsing:
parse_id_card,extract_id_card,parse_motor_vehicle_licence_plate,extract_motor_vehicle_licence_plate - Character and idiom helpers:
pinyin,char_radical,idiom_solitaire,lunar2solar,solar2lunar - String-level parsers that depend on dictionary-backed semantics
Exclude or route elsewhere
- Raw cleanup, replacement, or HTML stripping →
text-cleaning-and-extraction - Augmentation →
text-augmentation - BIO/BIOES conversion, lexicon NER, or dataset batching →
annotation-and-dataset-tools - Dictionary loaders and higher-level analytics →
dictionaries-and-language-analysis
What to read
references/api-reference.mdfor signatures, return shapes, and edge notes.references/troubleshooting.mdfor noisy input, boundary, and ambiguity issues.scripts/smoke_parsers.pyfor a representative CPU-only smoke run.
Typical flow
- Remove obvious noise first if the input is a sentence, paragraph, or clause.
- Choose the parser that matches the target structure.
- Read the parsed result before chaining to other helpers.
- Keep the parser-specific options visible when the input is ambiguous.
Quick cues
- Ask for this sub-skill when the user says "parse this time string", "normalize this amount", "find the province/city", "get the pinyin", "convert lunar to solar", or "what is this car plate or ID card".
- Stay here if the task is semantic interpretation, not surface cleanup.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).