Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点字パターンをそのまま出力できない場合がある #45

Closed
nishimotz opened this issue Aug 12, 2017 · 2 comments
Closed
Milestone

Comments

@nishimotz
Copy link
Member

text   : UIオートメーションの有効化(設定を有効にするには再起動が必要) ⣏⣿⣹ チェックボックス
result : UI オートメーションノ ユーコーカ(セッテイヲ ユーコーニ スルニワ サイ キドーガ ヒツヨー ) イチニーサンヨンナナハチノテンイチニーサンヨンゴーロクナナハチノテンイチヨンゴーロクナナハチノテン  チェック ボックス
@nishimotz nishimotz added this to the 2017.3jp milestone Aug 12, 2017
nishimotz added a commit that referenced this issue Aug 12, 2017
nishimotz added a commit that referenced this issue Aug 12, 2017
nishimotz added a commit that referenced this issue Aug 12, 2017
@nishimotz
Copy link
Member Author

なおっていないパターン

	{ 'text':'!⣏ 感嘆符', 'input':'!⣏ カンタンフ', },
	{ 'text':'# ⣏ シャープと半角スペース', 'input':'# ⣏ シャープト ハンカク スペース', },
	{ 'text':'$⣏ ドル', 'input':'$⣏ ドル', },
	{ 'text':'%⣏ パーセント', 'input':'%⣏ パーセント', },
	{ 'text':') ⣏ 括弧閉じと半角スペース', 'input':') ⣏ カッコ トジト ハンカク スペース', },
	{ 'text':'-⣏ マイナス', 'input':'-⣏ マイナス', },

@nishimotz nishimotz reopened this Aug 12, 2017
nishimotz added a commit that referenced this issue Aug 13, 2017
nishimotz added a commit to nvdajp/nvdajp that referenced this issue Aug 13, 2017
@nishimotz
Copy link
Member Author

作業メモ

点字パターンを読みに変換するために辞書を使うのをやめて、
形態素解析は点字パターンをそのまま出力し、
後処理で読みに変換するように変更した。

また、連続する記号や空白が形態素解析で未知語としてひとまとめにされたときに、
末尾が空白になっている単語にさらにマスアケを行わないように修正した。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant