Packages

The library Slugger can generate slugs from given strings that can be used in URLs or file names.

Current section

Files

Jump to
slugger lib replacements.exs
Raw

lib/replacements.exs

[
# This file was generated from these two files:
# https://github.com/easybook/slugger/blob/master/src/Easybook/Slugger.php
# https://github.com/keyvanakbary/slugifier/blob/master/src/Slugifier.php
# Latin
{, '0'},{, 'ae'},{, 'ae'},{, 'A'},{, 'A'},{, 'A'},{, 'A'},{, 'A'},{, 'A'},{, 'A'},
{, 'A'},{, 'AE'},{, 'AE'},{, 'a'},{, 'a'},{, 'a'},{, 'a'},{, 'a'},{, 'a'},{, 'a'},
{, 'a'},{, 'a'},{?@, 'at'},{, 'C'},{, 'C'},{, 'c'},{, 'c'},{, 'c'},{, 'D'},{, 'D'},
{, 'd'},{, 'd'},{, 'E'},{, 'E'},{, 'E'},{, 'E'},{, 'E'},{, 'E'},{, 'e'},{, 'e'},
{, 'e'},{, 'e'},{, 'e'},{, 'e'},{, 'f'},{, 'G'},{, 'G'},{, 'g'},{, 'g'},{, 'H'},
{, 'H'},{, 'h'},{, 'h'},{, 'I'},{, 'I'},{, 'I'},{, 'I'},{, 'I'},{, 'I'},{, 'I'},
{, 'I'},{, 'IJ'},{, 'i'},{, 'i'},{, 'i'},{, 'i'},{, 'i'},{, 'i'},{, 'i'},{, 'i'},
{, 'ij'},{, 'J'},{, 'j'},{, 'L'},{, 'L'},{?Ŀ, 'L'},{, 'l'},{, 'l'},{, 'l'},{, 'N'},
{, 'n'},{, 'n'},{, 'O'},{, 'O'},{, 'O'},{, 'O'},{, 'O'},{, 'O'},{, 'O'},{, 'O'},
{, 'O'},{, 'O'},{, 'OE'},{, 'o'},{, 'o'},{, 'o'},{, 'o'},{, 'o'},{, 'o'},{, 'o'},
{, 'o'},{, 'o'},{?ǿ, 'o'},{, 'o'},{, 'oe'},{, 'R'},{, 'R'},{, 'r'},{, 'r'},{, 'S'},
{, 'S'},{, 's'},{, 's'},{?ſ, 's'},{, 'T'},{, 'T'},{, 'T'},{, 'TH'},{, 't'},{, 't'},
{, 't'},{, 'th'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},
{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'U'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},
{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'u'},{, 'W'},{, 'w'},
{, 'Y'},{, 'Y'},{, 'Y'},{, 'y'},{?ÿ, 'y'},{, 'y'},{, 'C'},{, 'O'},{, 'c'},{, 'o'},
# Arabic
{, 'a'},{, 'b'},{, 't'},{, 'th'},{, 'g'},{, 'h'},{, 'kh'},{, 'd'},{, 'th'},{, 'r'},
{, 'z'},{, 's'},{, 'sh'},{, 's'},{, 'd'},{, 't'},{, 'th'},{, 'aa'},{, 'gh'},{, 'f'},
{, 'k'},{, 'k'},{, 'l'},{, 'm'},{, 'n'},{, 'h'},{, 'o'},{, 'y'},
# Croatian
{, 'D'},{, 'd'},
# Czech
{, 'C'},{, 'D'},{, 'E'},{, 'N'},{, 'R'},{, 'S'},{, 'T'},{, 'U'},{, 'Z'},{, 'c'},
{, 'd'},{, 'e'},{, 'n'},{, 'r'},{, 's'},{, 't'},{, 'u'},{, 'z'},
# Esperanto
{, 'C'},{, 'c'},{, 'G'},{, 'g'},{, 'H'},{, 'h'},{, 'J'},{, 'j'},{, 'S'},{, 's'},
{, 'U'},{, 'u'},
# German
{, 'Ae'},{, 'Oe'},{, 'Ue'},{, 'ss'},{, 'ae'},{, 'oe'},{, 'ue'},
# Greek
{, 'A'},{, 'B'},{, 'G'},{, 'D'},{, 'E'},{, 'Z'},{, 'H'},{, '8'},{, 'I'},{, 'K'},
{, 'L'},{, 'M'},{, 'N'},{, '3'},{, 'O'},{, 'P'},{, 'R'},{, 'S'},{, 'T'},{, 'Y'},
{, 'F'},{, 'X'},{, 'PS'},{, 'W'},{, 'I'},{, 'Y'},{, 'a'},{, 'e'},{, 'h'},{, 'i'},
{, 'y'},{, 'a'},{, 'b'},{, 'g'},{, 'd'},{, 'e'},{, 'z'},{, 'h'},{, '8'},{, 'i'},
{, 'k'},{, 'l'},{, 'm'},{, 'n'},{, '3'},{?ο, 'o'},{, 'p'},{, 'r'},{, 's'},{, 's'},
{, 't'},{, 'y'},{, 'f'},{, 'x'},{, 'ps'},{, 'w'},{, 'i'},{, 'y'},{, 'o'},{, 'y'},
{, 'w'},{, 'b'},{, 'th'},{, 'Y'},{, 'A'},{, 'E'},{, 'I'},{, 'O'},{, 'Y'},{, 'H'},
{, 'W'},{, 'i'},
# Latvian
{, 'A'},{, 'E'},{, 'G'},{, 'I'},{, 'K'},{, 'L'},{, 'N'},{, 'U'},{, 'r'},{, 'u'},
{, 'a'},{, 'e'},{, 'g'},{, 'i'},{, 'k'},{, 'l'},{, 'n'},{, 'R'},{, 'O'},{, 'o'},
# Lithuanian
{, 'E'},{, 'e'},{, 'I'},{, 'i'},{, 'I'},{, 'i'},{, 'U'},{, 'u'},
# Maltese
{, 'C'},{, 'c'},{, 'G'},{, 'g'},{, 'H'},{, 'h'},
# Polish
{, 'A'},{, 'C'},{, 'E'},{, 'L'},{, 'N'},{, 'O'},{, 'S'},{, 'Z'},{, 'Z'},{, 'a'},
{, 'c'},{, 'e'},{, 'l'},{, 'n'},{, 'o'},{, 's'},{, 'z'},{, 'z'},
# Russian
{, 'A'},{, 'B'},{, 'V'},{, 'G'},{, 'D'},{, 'E'},{, 'E'},{, 'Zh'},{, 'Z'},{, 'I'},
{, 'J'},{, 'K'},{, 'L'},{, 'M'},{, 'N'},{, 'O'},{, 'P'},{, 'R'},{, 'S'},{, 'T'},
{, 'U'},{, 'F'},{, 'H'},{, 'C'},{, 'Ch'},{, 'Sh'},{, 'Shch'},{, ''},{, 'Y'},{, ''},
{, 'E'},{, 'Ju'},{, 'Ja'},{, 'a'},{, 'b'},{, 'v'},{, 'g'},{, 'd'},{, 'e'},{, 'e'},
{, 'zh'},{, 'z'},{, 'i'},{, 'j'},{, 'k'},{, 'l'},{, 'm'},{, 'n'},{, 'o'},{?п, 'p'},
{, 'r'},{, 's'},{, 't'},{, 'u'},{, 'f'},{, 'h'},{, 'c'},{, 'ch'},{, 'sh'},{, 'shch'},
{, ''},{, 'y'},{, ''},{, 'e'},{, 'ju'},{, 'ja'},
# Sami
{, 'N'},{, 'n'},{, 'G'},{, 'g'},{, 'K'},{, 'k'},{, 'Z'},{, 'z'},{, 'Z'},{, 'z'},
# Serbian
{, 'dj'},{, 'j'},{, 'lj'},{, 'nj'},{, 'c'},{, 'dz'},{, 'Dj'},{, 'j'},{, 'Lj'},{, 'Nj'},
{, 'C'},{, 'Dz'},
# Slovak
{, 'L'},{, 'l'},{, 'L'},{, 'l'},{, 'R'},{, 'r'},
# Turkish
{, 'C'},{, 'G'},{, 'I'},{, 'S'},{, 'c'},{, 'g'},{, 'i'},{, 's'},
# Ukrainian
{, 'Ye'},{, 'I'},{, 'Ji'},{, 'G'},{, 'ye'},{, 'i'},{, 'ji'},{, 'g'},
# Vietnamese
{?ạ, 'a'},{?ả, 'a'},{?ầ, 'a'},{?ấ, 'a'},{?ậ, 'a'},{?ẩ, 'a'},{?ẫ, 'a'},{?ằ, 'a'},{?ắ, 'a'},{?ặ, 'a'},
{?ẳ, 'a'},{?ẵ, 'a'},{?ẹ, 'e'},{?ẻ, 'e'},{?ẽ, 'e'},{?ề, 'e'},{?ế, 'e'},{?ệ, 'e'},{?ể, 'e'},{?ễ, 'e'},
{?ị, 'i'},{?ỉ, 'i'},{?ọ, 'o'},{?ỏ, 'o'},{?ồ, 'o'},{?ố, 'o'},{?ộ, 'o'},{?ổ, 'o'},{?ỗ, 'o'},{?ờ, 'o'},
{?ớ, 'o'},{?ợ, 'o'},{?ở, 'o'},{?ỡ, 'o'},{?ụ, 'u'},{?ủ, 'u'},{?ừ, 'u'},{?ứ, 'u'},{?ự, 'u'},{?ử, 'u'},
{?ữ, 'u'},{?ỳ, 'y'},{?ỵ, 'y'},{?ỷ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