Mercurial > hg > config
changeset 195:171bd3b71e84
more letters + read from stdin
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 27 Jan 2012 15:30:24 -0800 |
parents | 931bc3353f75 |
children | 7bad4b7281f2 |
files | python/accentuate.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/python/accentuate.py Mon Jan 23 20:41:10 2012 -0800 +++ b/python/accentuate.py Fri Jan 27 15:30:24 2012 -0800 @@ -11,17 +11,17 @@ 'f': ['ᚫ', 'ഽ', 'ߓ', 'Ғ', 'ғ', 'ϝ'], 'g': ['Ꮆ', 'Ᏻ', 'ສ', 'ອ', 'ʛ', 'ɠ', 'ǵ', 'Ǵ', 'Ǥ', 'ğ'], 'h': ['Ꮵ', 'ዝ', 'ߚ', 'ի', 'Ӊ', 'Ӈ', 'ӈ', 'Һ', 'Ҥ', 'ҥ', 'ђ', 'Ϧ'], - 'i': ['ו', 'ḯ', 'í', 'ٲ', 'ї', 'ί', 'Ϊ', 'Ί', 'ɨ'], + 'i': ['ו', 'ḯ', 'í', 'ї', 'ί', 'Ϊ', 'Ί', 'ɨ'], 'j': ['ᒚ', 'ڷ', '˩', 'ʲ', 'ʝ', 'ȷ', 'ǰ'], 'k': ['ԟ', 'Ԟ', 'Ӄ', 'Ҡ', 'Ҝ', 'ќ', 'ʞ'], - 'l': ['£', '₤', 'ᥧ', 'ட', '˪', 'ʟ'], + 'l': ['£', '₤', 'ᥧ', 'ட', '˪', 'ʟ', 'ᶅ'], 'm': ['ញ', 'ᛖ', 'ጢ', 'ᆻ', 'ӎ', 'Ӎ',], 'n': ['И', 'Й', 'א', 'ᥟ', 'ᜤ', '୩', 'Ӥ', 'Ҋ', 'η', 'ή'], 'o': ['ổ', 'ȍ', 'Ѳ', '๏', 'Ӫ', 'ό', 'Ό', '˚', 'ʘ', 'Ȱ'], 'p': ['Ⴒ', 'թ', 'Ҏ', 'ҏ', 'ρ', 'Ƿ'], 'q': ['գ', 'ʠ', 'ɖ'], 'r': ['ᣨ', 'ჩ', 'я', 'Ɍ', 'ȓ', 'Ȓ', 'ȑ', 'Ȑ'], - 's': ['∫', '§', 'ᛊ', 'Ꮥ', 'క', 'ˢ', 'ȿ', 'ș'], + 's': ['∫', '§', 'ᛊ', 'Ꮥ', 'క', 'ˢ', 'ȿ', 'ș', 'ᶘ'], 't': ['Ṱ', 'ל', 'ᛠ', 'ᚁ', 'ፕ', 'Է', 'Ե', 'Ҭ', 'Ϯ', 'ʈ', 'Ⱦ', 'ȶ'], 'u': ['ṹ', 'ᥩ', 'ᥳ', 'ப', 'ն', 'Մ', 'μ', 'ǚ',], 'v': ['Ѵ', 'ᜥ', 'Ꮴ', 'Ѷ', 'ν', 'ΰ'], @@ -34,6 +34,8 @@ if __name__ == '__main__': import sys arg = ' '.join(sys.argv[1:]) + if not arg: + arg = sys.stdin.read() retval = [] for letter in arg: if letter.lower() in mapping: