Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
JTalk reading
  • Loading branch information
nishimotz committed Jun 22, 2015
1 parent 78a647a commit 894384e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/jtalk/custom_dic_maker.py
Expand Up @@ -460,6 +460,12 @@
'speech':'ショキチ',
'accent':"2/3",
},

{'text':'静画',
'pos':"名詞,固有名詞,*,*,*,*",
'speech':'セイガ',
'accent':"1/3",
},
]

class DicItem(object):
Expand Down
1 change: 1 addition & 0 deletions include/jtalk/eng_dic_maker.py
Expand Up @@ -185,6 +185,7 @@ def make_dic(IN_FILE, CODE, THISDIR):
['fukushima', 'フクシマ', "2/4", 1000],
['niigata', 'ニーガタ', "0/4", 1000],
['asshuku', 'アッシュク', "0/4", ],
['sumaho', 'スマホ', "1/3", ],
['mei', 'メイ', "1/2", 100],
['meiryo', 'メイリョー', "1/4"],

Expand Down
2 changes: 2 additions & 0 deletions include/jtalk/roma_dic_maker.py
Expand Up @@ -337,6 +337,8 @@ def isGoodEntry(s):
return False
if a[0] == 'ui' and a[12] == 'ウイー':
return False
if a[0] == 'aho' and a[12] == 'アホー':
return False
return True

def make_dic(CODE, THISDIR):
Expand Down
2 changes: 2 additions & 0 deletions jptools/mecabHarness.py
Expand Up @@ -288,6 +288,8 @@
{'text':'正しく生きよう', 'speech':'タダシクイキヨウ'},
{'text':'正しく奇跡だ', 'speech':'マサシクキセキダ'},
{'text':'正しく神業だ', 'speech':'マサシクカミワザダ'},
{'text':'静画', 'speech':'セイガ'},
{'text':'sumaho', 'speech':'スマホ'},

{'text':'設定情報を初期値に戻しました', 'speech':'セッテイジョーホーヲショキチニモドシマシタ'},

Expand Down

0 comments on commit 894384e

Please sign in to comment.