UNPKG

novel-segment

Version:

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

19 lines 669 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.TableDictStopword = void 0; const line_1 = __importDefault(require("./line")); /** * 原版 node-segment 的格式 */ class TableDictStopword extends line_1.default { constructor(type = TableDictStopword.type, options = {}, ...argv) { super(type, options, ...argv); } } exports.TableDictStopword = TableDictStopword; TableDictStopword.type = 'STOPWORD'; exports.default = TableDictStopword; //# sourceMappingURL=stopword.js.map