mirror of
https://github.com/zh-lx/pinyin-pro.git
synced 2026-03-13 09:51:38 +08:00
12 lines
416 B
TypeScript
12 lines
416 B
TypeScript
export declare function stringLength(text: string): number;
|
|
export declare function splitString(text: string): string[];
|
|
export declare function isZhChar(char: string): boolean;
|
|
export declare class FastDictFactory {
|
|
NumberDICT: string[];
|
|
StringDICT: Map<string, string>;
|
|
constructor();
|
|
get(word: string): string;
|
|
set(word: string | number, pinyin: string): void;
|
|
clear(): void;
|
|
}
|