UNPKG

1.03 kBSource Map (JSON)View Raw
1{"version":3,"file":"stopword.js","sourceRoot":"","sources":["stopword.ts"],"names":[],"mappings":";;;AAMA,iCAAmC;AAEnC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,cAAa;IAInD,YAAY,OAAe,iBAAiB,CAAC,IAAI,EAAE,UAAoB,EAAE,EAAE,GAAG,IAAI;QAEjF,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,CAAA;IAC9B,CAAC;;AAPF,8CAQC;AANgB,sBAAI,GAAG,UAAU,CAAC;AAQnC,kBAAe,iBAAiB,CAAA","sourcesContent":["import { IDICT_SYNONYM, IWord } from '../Segment';\nimport { IDictRow, stringifyLine } from '@novel-segment/loader-line';\nimport CjkConv from 'cjk-conv';\nimport { cloneDeep } from '../util';\nimport { text_list } from '../util/cjk';\nimport AbstractTableDictCore, { IDICT, IDICT2, IOptions } from './core';\nimport TableDictLine from './line';\n\n/**\n * 原版 node-segment 的格式\n */\nexport class TableDictStopword extends TableDictLine\n{\n\tstatic readonly type = 'STOPWORD';\n\n\tconstructor(type: string = TableDictStopword.type, options: IOptions = {}, ...argv)\n\t{\n\t\tsuper(type, options, ...argv)\n\t}\n}\n\nexport default TableDictStopword\n"]}
\No newline at end of file