(nlpDir: string, dictId: string)
| 23 | ] |
| 24 | |
| 25 | function getDictFilePath(nlpDir: string, dictId: string): string { |
| 26 | return path.join(nlpDir, `${dictId}.dict`) |
| 27 | } |
| 28 | |
| 29 | export function isDictDownloaded(nlpDir: string, dictId: string): boolean { |
| 30 | return fs.existsSync(getDictFilePath(nlpDir, dictId)) |
no outgoing calls
no test coverage detected