(nlpDir: string, dictId: string)
| 27 | } |
| 28 | |
| 29 | export function isDictDownloaded(nlpDir: string, dictId: string): boolean { |
| 30 | return fs.existsSync(getDictFilePath(nlpDir, dictId)) |
| 31 | } |
| 32 | |
| 33 | export function getDictList(nlpDir: string): DictInfo[] { |
| 34 | return AVAILABLE_DICTS.map((d) => { |
no test coverage detected