OSDN Git Service

updated regarding nvdajp ti31543
authorTakuya Nishimoto <nishimotz@gmail.com>
Wed, 26 Feb 2014 02:32:21 +0000 (11:32 +0900)
committerTakuya Nishimoto <nishimotz@gmail.com>
Wed, 26 Feb 2014 02:32:21 +0000 (11:32 +0900)
include/jtalk/custom_dic_maker.py
include/jtalk/make_jdic.py
jptools/harness.py

index 4155b00..fb3b380 100644 (file)
@@ -249,6 +249,11 @@ jdic = [
        {'text': '合わせ鏡', 'braille':'アワセ カガミ'},\r
        {'text': '鬘合わせ', 'braille':'カツラ アワセ'},\r
        {'text': '暗順応', 'braille':'アンジュンノー'},\r
+\r
+       {'text': '大慌て', 'braille':'オオアワテ', 'accent':'3/5'},\r
+       {'text': '大旦那', 'braille':'オオダンナ', 'accent':'3/5'},\r
+       {'text': '大人数', 'braille':'オオニンズー', 'accent':'3/6'},\r
+\r
        {'text': '付点', 'speech':'フテン', 'accent':'0/3'},\r
 \r
        {'text':'有り難う',\r
index 4f83211..c83f578 100644 (file)
@@ -101,11 +101,14 @@ def filter_jdic(s):
        elif a[0] == '繕う' and a[12] == 'ツクロウ':\r
                a[12] = 'ツクロー'\r
                s = ",".join(a)\r
-       elif a[0] in ('大きい', 'おおきい') and a[12] == 'オーキイ' and len(a) == 15:\r
-               a.append('オオキイ')\r
+       elif a[0] == 'おおきい' and a[12] == 'オーキイ' and len(a) == 15:\r
+               a.append(a[11])\r
+               s = ",".join(a)\r
+       elif a[0] == 'おおまか' and a[12] == 'オーマカ' and len(a) == 15:\r
+               a.append(a[11])\r
                s = ",".join(a)\r
-       elif a[0] in ('大まか', 'おおまか') and a[12] == 'オーマカ' and len(a) == 15:\r
-               a.append('オオマカ')\r
+       elif a[0][0] == '大' and a[12][0:2] == 'オー' and len(a) == 15:\r
+               a.append(a[11])\r
                s = ",".join(a)\r
        elif a[0] == '仰せ' and a[12] == 'オーセ':\r
                a[12] = 'オオセ'\r
index faed88c..d850600 100644 (file)
@@ -4339,6 +4339,17 @@ tests = [
        {   'text': '鬘合わせ', 'input': 'カツラ アワセ'},\r
        {   'text': '暗順応', 'input': 'アンジュンノー'},\r
 \r
+       {   'text': '大慌て', 'input': 'オオアワテ'},\r
+       {   'text': '大いなる', 'input': 'オオイナル'},\r
+       {   'text': '大男', 'input': 'オオオトコ'},\r
+       {   'text': '大川', 'input': 'オオカワ'},\r
+       {   'text': '大君', 'input': 'オオキミ'},\r
+       {   'text': '大阪', 'input': 'オオサカ'},\r
+       {   'text': '大旦那', 'input': 'オオダンナ'},\r
+       {   'text': '大づかみ', 'input': 'オオヅカミ'},\r
+       {   'text': '大人数', 'input': 'オオニンズー'},\r
+       {   'text': '大田', 'input': 'オオタ'},\r
+\r
        {   'text':'↓最新号はこちらからお楽しみください↓', 'input':'↓サイシンゴーワ コチラカラ オタノシミクダサイ↓'},\r
        {   'text':'http://www.mag2.com/o/tabi/2013/1121.html', 'input':'⠠⠦http://www.mag2.com/o/tabi/2013/1121.html⠠⠴'},\r
        {   'text':'このメルマガはHTML形式です。HTMLメール表示をオフにしている', 'input':'コノ メルマガワ HTML ケイシキデス。HTML メール ヒョージヲ オフニシテ イル'},\r