phpmorphy-locutus
Version:
The original package is located at https://github.com/antixrist/node-phpmorphy however it used the phpjs module, which contained dependencies with critical vulnerabilities and is not maintained anymore. This package was swapped for the newer lucutus packa
14 lines (12 loc) • 444 B
JavaScript
export const STORAGE_FILE = 'file';
export const STORAGE_MEM = 'mem';
export const SOURCE_FSA = 'fsa';
export const RESOLVE_ANCODES_AS_TEXT = 0;
export const RESOLVE_ANCODES_AS_DIALING = 1;
export const RESOLVE_ANCODES_AS_INT = 2;
export const NORMAL = 0;
export const IGNORE_PREDICT = 2;
export const ONLY_PREDICT = 3;
export const PREDICT_BY_NONE = 'none';
export const PREDICT_BY_SUFFIX = 'by_suffix';
export const PREDICT_BY_DB = 'by_db';