greek-text-utils
Version:
A collection of greek text utils, including conversion to ISO 843/ELOT 743, Greeklish, Phonetic Latin, and Transliterated Latin
18 lines (17 loc) • 719 B
TypeScript
import { type ReplacementMap } from '../types.js';
/**
* Type 2 - Transcription (μεταγραφή) according to ELOT 743/ISO 843
* Basic character mappings for pronunciation-based conversion
* Context-sensitive rules (αυ/ευ/ηυ, μπ) are handled separately in the conversion function
* Used for passports, ID cards, road signs, maps
*/
export declare const greekToISO843Type2Map: ReplacementMap[];
/**
* Characters that are considered vowels or voiced consonants for context-sensitive rules
*/
export declare const voicedCharacters: Set<string>;
/**
* Greek characters set for checking if a character is Greek
*/
export declare const greekCharacters: Set<string>;
export default greekToISO843Type2Map;