romaji-fuzzy-search
Version:
Generates a regular expression for "Romaji Fuzzy Search"
9 lines (8 loc) • 560 B
TypeScript
import { IndexedRomajiDictionary as IndexedRomajiDictionary_, RomajiDictionaryItem as RomajiDictionaryItem_ } from './romaji-dictionary';
export declare type IndexedRomajiDictionary = IndexedRomajiDictionary_;
export declare type RomajiDictionaryItem = RomajiDictionaryItem_;
export declare const indexedRomajiDictionary: Readonly<{
[x: string]: RomajiDictionaryItem_;
}>;
export { RomajiDictionary, romajiDictionary, } from './romaji-dictionary';
export declare const convertToRegExp: (str: string, indexedDictionary?: IndexedRomajiDictionary) => string;