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', 'Ꞩ', 'Ʂ' ],
    'T' => [ 'Ţ', 'Ť', 'Ŧ', 'Ƭ', 'Ʈ', 'Ț', 'Ⱦ', 'Ṫ', 'Ṭ', 'Ṯ', 'Ṱ' ],
    'U' => [ 'Ù', 'Ú', 'Û', 'Ü', 'Ũ', 'Ū', 'Ŭ', 'Ů', 'Ű', 'Ų', 'Ư', 'Ǔ', 'Ǖ', 'Ǘ', 'Ǚ', 'Ǜ', 'Ȕ', 'Ȗ', 'Ṳ', 'Ṵ', 'Ṷ', 'Ṹ', 'Ṻ', 'Ụ', 'Ủ', 'Ứ', 'Ừ', 'Ử', 'Ữ', 'Ự', 'Ꞹ' ],
    'V' => [ 'Ʋ', 'Ṽ', 'Ṿ', 'Ꝟ' ],
    'W' => [ 'Ŵ', 'Ẁ', 'Ẃ', 'Ẅ', 'Ẇ', 'Ẉ', 'Ⱳ' ],
    'X' => [ 'Ẋ', 'Ẍ' ],
    'Y' => [ 'Ý', 'Ŷ', 'Ÿ', 'Ƴ', 'Ȳ', 'Ɏ', 'Ẏ', 'Ỳ', 'Ỵ', 'Ỷ', 'Ỹ', 'Ỿ' ],
    'Z' => [ 'Ź', 'Ż', 'Ž', 'Ƶ', 'Ȥ', 'Ẑ', 'Ẓ', 'Ẕ', 'Ⱬ', 'Ɀ', 'Ᶎ' ],

);

# special mappings section

# control have very high or perfect similarity but letters are crammed
# and they are acronyms unlikely to be found in regular text
our %control = (

    'b' => [ '␢' ],

    'NUL' => [ '␀' ],
    'SOH' => [ '␁' ],
    'STX' => [ '␂' ],
    'ETX' => [ '␃' ],
    'EOT' => [ '␄' ],
    'ENQ' => [ '␅' ],
    'ACK' => [ '␆' ],
    'BEL' => [ '␇' ],
    'BS' => [ '␈' ],
    'HT' => [ '␉' ],
    'LF' => [ '␊' ],
    'VT' => [ '␋' ],
    'FF' => [ '␌' ],
    'CR' => [ '␍' ],
    'SO' => [ '␎' ],
    'SI' => [ '␏' ],
    'DLE' => [ '␐' ],
    'DC1' => [ '␑' ],
    'DC2' => [ '␒' ],
    'DC3' => [ '␓' ],
    'DC4' => [ '␔' ],
    'NAK' => [ '␕' ],
    'SYN' => [ '␖' ],
    'ETB' => [ '␗' ],
    'CAN' => [ '␘' ],
    'EM' => [ '␙' ],
    'SUB' => [ '␚' ],
    'ESC' => [ '␛' ],
    'FS' => [ '␜' ],
    'GS' => [ '␝' ],
    'RS' => [ '␞' ],
    'US' => [ '␟' ],
    'SP' => [ '␠' ],
    'DEL' => [ '␡' ],
    'NL' => [ '␤' ],

);

# flipped mappings should have very high similarity and no accents
# it may contain flips of other ASCII characters than alphanumerics
our %flipped = (

    '&' => [ '⅋' ],

    '1' => [ 'ᛚ' ],
    '3' => [ 'Ƹ' ],
    '5' => [ 'ဥ' ],
    '8' => [ '∞', 'ထ' ],

    'a' => [ 'ɐ' ],
    'c' => [ 'ɔ', 'ↄ', '𐑋', '⊃', 'ᴐ', 'ᴒ' ],
    'e' => [ 'ǝ', 'ɘ', 'ə' ],
    'g' => [ 'ᵷ' ],
    'h' => [ 'ɥ' ],
    'i' => [ 'ǃ' ],
    'k' => [ 'ʞ' ],
    'l' => [ 'ꞁ' ],
    'm' => [ 'ɯ', 'ᴟ' ],
    'o' => [ 'ᴑ' ],
    'r' => [ 'ɹ' ],
    's' => [ 'ƨ' ],
    't' => [ 'ʇ' ],
    'u' => [ 'ᴝ' ],
    'v' => [ 'ʌ', '⋀', '⋏' ],
    'w' => [ 'ʍ' ],
    'y' => [ 'ʎ' ],

    'A' => [ 'Ɐ', '∀', 'ꓯ' ],
    'B' => [ 'ꓭ' ],
    'C' => [ 'ꓛ', 'Ɔ', '𐐣' ],
    'D' => [ 'ꓷ', '⫏' ],
    'E' => [ '∃', 'ꓱ', '⧢' ],
    'F' => [ 'ꓞ' ],
    'G' => [ 'ꓨ', '⅁' ],
    'J' => [ 'Ꮣ', 'Ⴑ', '𐐓', 'ꓩ' ],
    'K' => [ 'ꓘ' ],
    'L' => [ 'Ꞁ', 'Ⴈ', '𐐑', 'ꓶ', 'Г' ],
    'N' => [ 'И', 'и', '𐐥', '𐑍' ],
    'P' => [ 'ꓒ' ],
    'Q' => [ 'Ꝺ' ],
    'R' => [ 'ᴚ', 'Я', 'ꓤ', 'я' ],
    'S' => [ 'Ƨ', 'Ƨ', 'လ' ],
    'T' => [ '⟘', 'ꓕ', '⊥', '⟂',  '⊢', '⊣' ],
    'U' => [ 'ꓵ', '∩', '⋂' ],
    'V' => [ 'Ʌ', 'ꓥ' ],
    'Y' => [ '⅄' ],

);


