Files
pinyin-pro/types/index.d.ts
zhoulixiang 7f658c978b feat: add traditional Chinese character recognition mode
Add support for traditional Chinese characters with the `traditional` option.
This includes new `addTraditionalDict` and `getTraditionalDict` APIs,
and integration with pinyin, html, and segment functions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 12:38:30 +08:00

11 lines
550 B
TypeScript

export { getInitialAndFinal, getFinalParts, getNumOfTone, } from "./core/pinyin/handle";
export { pinyin } from "./core/pinyin";
export { customPinyin, clearCustomDict } from "./core/custom";
export { addDict, removeDict } from "./core/dict";
export { match } from "./core/match";
export { html } from "./core/html";
export { polyphonic } from "./core/polyphonic";
export { convert } from "./core/convert";
export { segment, OutputFormat } from "./core/segment";
export { addTraditionalDict, getTraditionalDict } from "./core/traditional";