OSDN Git Service

ti34369 Japanese postal code symbol
authorTakuya Nishimoto <nishimotz@gmail.com>
Wed, 22 Oct 2014 05:25:20 +0000 (14:25 +0900)
committerTakuya Nishimoto <nishimotz@gmail.com>
Wed, 22 Oct 2014 05:25:20 +0000 (14:25 +0900)
jptools/harness.py
source/synthDrivers/jtalk/translator1.py

index 0a5cf98..bdfeb8c 100644 (file)
@@ -4340,6 +4340,12 @@ tests = [
                'input': '×',\r
                'output': '⠰⠡⠂',\r
                },\r
+       {\r
+               'comment': '郵便番号記号 56 2356 ユービン 0 バンゴー 2356 23',\r
+               'text': '〒',\r
+               'input': '〒',\r
+               'output': '⠰⠶⠬⠒⠐⠧⠴ ⠐⠥⠴⠐⠪⠒⠶⠆',\r
+               },\r
        { 'note': '==== 8.パーセント ====' },\r
        {\r
                'comment': '点訳のてびき第3版 第4章 その4 8.',\r
index 01ac431..9045a05 100644 (file)
@@ -255,6 +255,7 @@ jp_symbol_dic = {
        '→':' ⠒⠒⠕ ', # 矢印 前後に1マスあける\r
        '←':' ⠪⠒⠒ ', # 矢印 前後に1マスあける\r
        ',':'⠄',\r
+       '〒':'⠰⠶⠬⠒⠐⠧⠴ ⠐⠥⠴⠐⠪⠒⠶⠆', # ⠰⠶ユービン バンゴー⠶⠆\r
        }\r
 info_symbol_dic = {\r
        ',':'⠂',\r