UNPKG

novel-segment

Version:

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

36 lines (28 loc) 644 B
/** * Created by user on 2018/4/21/021. */ const path = require('path'); let p = path.resolve(path.join(path.dirname(require.resolve('typedoc-themes-color')), 'theme')); console.log(p); console.log(path.relative(process.cwd(), p)); module.exports = { src : '.', out: './docs', //theme: './my-theme', // theme: path.relative(process.cwd(), p), theme: p, ignoreCompilerErrors: true, excludeExternals: true, externalPattern: "**/node_modules/**", exclude: [ "test", "node_modules", "test/", "node_modules/", "**/test", "**/node_modules", "**/test/**/*", "**/node_modules/**/*", ], }; console.log(module.exports);