speech-rule-engine
Version:
A standalone speech rule engine for XML structures, based on the original engine from ChromeVox.
10 lines • 341 B
JavaScript
import { SystemExternal } from './system_external.js';
export function makePath(path) {
return path.match('/$') ? path : path + '/';
}
export function localePath(locale, ext = 'json') {
return (makePath(SystemExternal.jsonPath) +
locale +
(ext.match(/^\./) ? ext : '.' + ext));
}
//# sourceMappingURL=file_util.js.map