Skip to content

Commit

Permalink
Merge pull request #41 from nvdajp/beidoru
Browse files Browse the repository at this point in the history
「米ドル」の点訳が「アメリカドル」になっている
  • Loading branch information
nishimotz committed May 26, 2017
2 parents 9bdceb1 + 1fcb4ff commit e07bfa4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/jtalk/filter_jdic.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,8 @@ def filter_jdic(s):
s = ",".join(a)
elif a[0] == '聞き捨て' and a[12] == 'キキステ' and len(a) == 15:
s = ""
elif a[0] == '米ドル' and a[12] == 'アメリカドル' and len(a) == 15:
s = ""
elif is_alpha_jp_mixed(a[0]):
#print a[0]
s = ""
Expand Down
5 changes: 5 additions & 0 deletions jptools/harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -5934,4 +5934,9 @@
'text':'47news:',
'input':'47news:',
},
# 米ドル
{
'text':'米ドル',
'input':'ベイ ドル',
},
]

0 comments on commit e07bfa4

Please sign in to comment.