UNPKG

novel-segment

Version:

Chinese word segmentation 簡繁中文分词模块 以網路小說為樣本

26 lines (25 loc) 596 B
import { Segment } from './lib/Segment'; import { POSTAG } from '@novel-segment/postag/lib/postag/ids'; declare const _Segment: typeof Segment & { version: string; version_dict: string; versions: { "novel-segment": string; "segment-dict": string; "regexp-cjk": string; "cjk-conv": string; }; /** * 分词接口 */ Segment: typeof Segment; /** * 词性接口 */ POSTAG: typeof POSTAG; }; declare const __Segment: typeof _Segment & { default: typeof _Segment; }; export = __Segment; export * from './version';