Giter Club home page Giter Club logo

nvdajpmiscdep's Introduction

NVDA

NVDA (NonVisual Desktop Access) is a free, open source screen reader for Microsoft Windows. It is developed by NV Access in collaboration with a global community of contributors. To learn more about NVDA or download a copy, visit the main NV Access website.

Please note: the NVDA project has a Citizen and Contributor Code of Conduct. NV Access expects that all contributors and other community members will read and abide by the rules set out in this document while participating or contributing to this project.

The NVDA project is guided by a product vision statement and set of principles. The vision and principles should be always considered when planning features and prioritizing work.

NVDA is available under a modified GNU General Public License version 2. Please refer to our license for more information.

Acknowledgements

We would like to extend our sincere gratitude to SignPath for their generous support in providing code signing services to many open source projects, including NVDA. Their contribution helps us maintain the security and integrity of our releases.

NVDA Community

Contributing to NVDA

If you would like to contribute to NVDA, you can read more information in our contributing guide. This includes information on reporting issues, triaging issues, testing, translating, contributing code/documentation and creating add-ons.

Status checks

  • AppVeyor
    • Alpha build status: view latest alpha builds
    • Beta build status: view latest beta builds
  • Pre-commit status (master): view pre-commit checks on master
  • CodeQL security analysis status (master): view CodeQL security analysis checks on master

nvdajpmiscdep's People

Contributors

misonojapan avatar nishimotz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

misonojapan

nvdajpmiscdep's Issues

大文字と書いたときの点字表記

 オーモジではなく、オオモジとするのが正しいと思われます。
日本点字表記法2001年版第1節 基本的な仮名遣い→"「お」を添えるお列の長音"、参照。

NABCC モードで Here's の H と e の間に空白が入る

#37 関連

text   : Here's
correct: Here's
result : H ere's
pat    : ⡓ ⠑⠗⠑⠄⠎
res_in2: 0,0,1,2,3,4,5
res_in1: 0,1,2,3,4,5,6
res_in : 0,0,1,2,3,4,5
res_out: 0,2,3,4,5,6

0 H,記号,アルファベット,*,*,*,*,H,エイチ,エイチ,1/3,*
1 ,,,*,*,*,*
2 ,,,*,*,*,*
3 ere's,名詞,一般,*,*,*,*,ere's,エアズ,エアズ,0/3,C0

H,H,名詞,アルファベット,*,*,*,*,H,エイチ,エイチ,1/3,H,1
ere's,ere's,名詞,一般,*,*,*,*,ere's,エアズ,エアズ,0/3,ere's,0


JTalk 数字の後ろのaの読み

数字につづいてaがある場合、aが「アール」と読み上げされます。

例:

1a → 「1アール」
3A → 「3アール」

地下鉄の出口など調べているときに、4a出口を4r出口と間違えてしまうので、困ります。

mecab-dict-index.exe raises error

mecab-dict-index.exe is compiled inside the Open JTalk, however, the binary compiled by latest Visual C++ cannot run.
For now, userDic test should be excluded.

Reading of "正しく"

「正しくコピーされました」を「マサシク」ではなく「タダシク」と読ませたい。

JTalk「罰」「殺」の読み

miscDepsJp/jptools/mecabHarness.py

       {'text':'罰', 'speech':'バツ', 'braille':'バツ'},
       {'text':'殺', 'speech':'サツ', 'braille':'サツ'},

「っていう」の点訳

text   : 例えばカーソルっていうのがある
result : タトエバ カーソルッテユウノガ アル
pat    : ⠕⠞⠋⠐⠥ ⠡⠒⠺⠙⠂⠟⠬⠉⠎⠐⠡ ⠁⠙
res_in2: 0,0,1,2,2,3,4,5,6,7,8,9,10,11,12,12,13,14
res_in1: 0,1,2,3,3,4,5,6,7,8,9,10,11,12,13,14,14,15,16,17
res_in : 0,0,1,2,2,2,3,4,5,6,7,8,9,10,11,12,12,12,13,14
res_out: 0,2,3,6,7,8,9,10,11,12,13,14,15,18,19

0 例えば,接続詞,*,*,*,*,*,例えば,タトエバ,タトエバ,2/4,*
1 カーソル,名詞,一般,*,*,*,*,カーソル,カーソル,カーソル,0/4,C2
2 っていう,助詞,格助詞,連語,*,*,*,っていう,ッテイウ,ッテユウ,0/4,名詞%F1/動詞%F2@0/形容詞%F2@0
3 の,名詞,非自立,一般,*,*,*,の,ノ,ノ,0/1,動詞%F2@0/形容詞%F2@-1
4 が,助詞,格助詞,一般,*,*,*,が,ガ,ガ,0/1,名詞%F1
5 ある,動詞,自立,*,*,五段・ラ行,基本形,ある,アル,アル,1/2,C4

例えば,例えば,接続詞,*,*,*,*,*,例えば,タトエバ,タトエバ,2/4,タトエバ,1
カーソル,カーソル,名詞,一般,*,*,*,*,カーソル,カーソル,カーソル,0/4,カーソル,0
っていう,っていう,助詞,格助詞,連語,*,*,*,っていう,ッテイウ,ッテユウ,0/4,ッテユウ,0
の,の,名詞,非自立,一般,*,*,*,の,ノ,ノ,0/1,ノ,0
が,が,助詞,格助詞,一般,*,*,*,が,ガ,ガ,0/1,ガ,1
ある,ある,動詞,自立,*,*,五段・ラ行,基本形,ある,アル,アル,1/2,アル,0

数字の前のマスあけ判定の変更

過去の実装:
以下のようなものと数字が続いた場合にマスあけをする:
('零下', '西暦', 'ボーイング', 'ベスト', 'ルイ', '先', '振替', 'No.', '一人当り', '全', '満', 'レベル')

新しい実装:
以下のようなものと数字が続いた場合にマスあけしない:
('第', '築', '二男', '中')

点訳エンジンで「どういう」が「どーゆー」になる

以下 nvda-japanese-users 投稿の引用です。

以前「いう」を「ゆー」と点字表示されるという指摘があり
これは直していただきましたが、
「どういう」と書かれていると
「どーゆー」と表示されています。
「ああいう」、「こういう」、「そういう」は大丈夫なのですが、
「どういう」だけがどういうわけか「どーゆー」と表示されます。

IndexError in _makeFeatureFromLatinWordAndPostfix

https://osdn.jp/ticket/browse.php?group_id=4221&tid=35898

Huawei's

Should work as follows:

>python jtalkRunner.py
dic: C:\work\nvda\miscDepsJp\source\synthDrivers\jtalk\dic
mecab:0.996 nvdajp-jtalk-dic (utf-8) 20151217-082743
utf-8: (huawei’s)
Mecab_print size: 3
0 huawei,名詞,固有名詞,組織,*,*,*,*
1 ’,記号,括弧閉,*,*,*,*,’,’,’,*/*,*
2 s,記号,アルファベット,*,*,*,*,s,エス,エス,1/2,*

array size 1
feature size 3
Mecab_print size: 3
0 ,,,*,*,*,*
1 ,,,*,*,*,*
2 huaweis,名詞,固有名詞,組織,*,*,*,huaweis,エイチユウエイダブ
リュウイイーアイズ,エイチユウエイダブリュウイイーアイズ,0/18,C0

libjt_synthesis start.
libjt_synthesis done.
data size 170814

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

text   : UIオートメーションの有効化(設定を有効にするには再起動が必要) ⣏⣿⣹ チェックボックス
result : UI オートメーションノ ユーコーカ(セッテイヲ ユーコーニ スルニワ サイ キドーガ ヒツヨー ) イチニーサンヨンナナハチノテンイチニーサンヨンゴーロクナナハチノテンイチヨンゴーロクナナハチノテン  チェック ボックス

点訳エンジン: NABCCの場合に数字に続いてアルファベットがあるとスペースが入る

--- a/jptools/harness.py
+++ b/jptools/harness.py
@@ -5582,4 +5582,17 @@ tests = [
                'input':"イマサラ ツカッテ ミタケド、80's ヲ サイゲン デキル",
                'output':'      ',
        },
+	# NABCCの場合に数字に続いてアルファベットがあるとスペースが入る
+	{
+		'text':'30adac67',
+		'input':'30adac67',
+	},
+	{
+		'text':'[0-9A-Za-z]',
+		'input':'⠦[0-9A-Za-z]⠴',
+	},
+	{
+		'text':'47news:',
+		'input':'⠦47news:⠴',
+	},
 ]
diff --git a/jptools/nabccHarness.py b/jptools/nabccHarness.py
index 9dbe0d4..d58d2c1 100644
--- a/jptools/nabccHarness.py
+++ b/jptools/nabccHarness.py
@@ -223,4 +223,23 @@ tests = [
                'input': "how are you",
                'output': '  ',
        },
+	# 数字に続いてアルファベットがあるとスペースが入る
+	{
+		'mode':'NABCC',
+		'text':'30adac67',
+		'input':'30adac67',
+		'output':'⠒⠴⠁⠙⠁⠉⠖⠶',
+	},
+	{
+		'mode':'NABCC',
+		'text':'[0-9A-Za-z]',
+		'input':'[0-9A-Za-z]',
+		'output':'⡪⠴⠤⠔⡁⠤⡵⠁⠤⠵⡻',
+	},
+	{
+		'mode':'NABCC',
+		'text':'47news:',
+		'input':'47news:',
+		'output':'⠲⠶⠝⠑⠺⠎⠱',
+	},
        ]

点字表示の不具合報告

私信から引用:

以下の文字列をメモ帳に貼り付けて読ませると点字表示ができないようです。
現在のベータ版を使っています。

リエカエリ,  聞きたかったことを隣のテーブルのお姉さまが店員に聞いてくれた。ラッキー&ありがとうございますー 9分前,  モバツイ /
www.movatwi.jp

日本語点訳 複合形容詞の処理

複合形容詞は続けて書く:

       {   'comment': '点訳のてびき第3版 第3章 その2 10.',
               'text': '面白おかしい', 'input': 'オモシロオカシイ' },

ただし「多かれ少なかれ」は複合形容詞ではないらしく、マスあけをする。

点訳エンジンのエラー

メモ帳に下記のテキストを入れて、上下矢印で行を移動

今更使ってみたけど、80'sを再現できる
ERROR - core.CorePump.Notify (18:51:32):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyo", line 366, in Notify
  File "braille.pyo", line 1904, in pumpAll
  File "braille.pyo", line 1767, in handlePendingCaretUpdate
  File "braille.pyo", line 1773, in _doCursorMove
  File "braille.pyo", line 1087, in update
  File "braille.pyo", line 539, in update
  File "synthDrivers\jtalk\translator2.pyo", line 1362, in translate
  File "synthDrivers\jtalk\translator2.pyo", line 1310, in translateWithInPos2
  File "synthDrivers\jtalk\translator2.pyo", line 1261, in japanese_braille_separate
  File "synthDrivers\jtalk\translator2.pyo", line 502, in should_separate
IndexError: string index out of range

JTalk 英単語の読み (possibility)

設定→音声エンジン:音声エンジン=JTalk
設定→音声設定:サポートされている場合自動的に言語を切り替える=オフ

上記の設定で、"possibility"が"po"と読み上げされます。

JTalk 英単語の読み

英語環境で Windows 10 ver 1703 を使ったときに Settings の中で遭遇するテキストの読み

c:\work\nvda\miscDepsJp\source\synthDrivers\jtalk c:\work\nvda\miscDepsJp\source\synthDrivers\jtalk\dic [u'c:\\users\\nishim~1\\appdata\\local\\temp\\tmpk5axpc\\jtusr.dic']
dic: c:\work\nvda\miscDepsJp\source\synthDrivers\jtalk\dic
mecab:0.996 nvdajp-jtalk-dic (utf-8) 20170514-233308
user_dics: c:\users\nishim~1\appdata\local\temp\tmpk5axpc\jtusr.dic
input:    gaming
reading expected: 
reading result:   ガミンジー
Mecab_print size: 3
0 g,記号,アルファベット,*,*,*,*,g,ジー,ジー,1/2,*
1 amin,名詞,一般,*,*,*,*,amin,アミン,アミン,0/3,C0
2 g,記号,アルファベット,*,*,*,*,g,ジー,ジー,1/2,*

Mecab_print size: 3
0 ,,,*,*,*,*
1 gamin,名詞,固有名詞,*,*,*,*,gamin,ガミン,ガミン,0/3,C0
2 g,記号,アルファベット,*,*,*,*,g,ジー,ジー,1/2,*


input:    metered
reading expected: 
reading result:   ミートゥレッドゥ
Mecab_print size: 2
0 mete,名詞,一般,*,*,*,*,mete,ミートゥ,ミートゥ,0/4,C0
1 red,名詞,一般,*,*,*,*,red,レッドゥ,レッドゥ,0/4,C0

Mecab_print size: 2
0 mete,名詞,一般,*,*,*,*,mete,ミートゥ,ミートゥ,0/4,C0
1 red,名詞,一般,*,*,*,*,red,レッドゥ,レッドゥ,0/4,C0


input:    themes
reading expected: 
reading result:   ザメス
Mecab_print size: 2
0 the,名詞,一般,*,*,*,*,the,ザ,ザ,0/1,C0
1 mes,名詞,一般,*,*,*,*,mes,メス,メス,0/2,C0

Mecab_print size: 2
0 the,名詞,一般,*,*,*,*,the,ザ,ザ,0/1,C0
1 mes,名詞,一般,*,*,*,*,mes,メス,メス,0/2,C0


input:    inking
reading expected: 
reading result:   インクイング
Mecab_print size: 2
0 ink,名詞,一般,*,*,*,*,ink,インク,インク,0/3,C0
1 ing,名詞,固有名詞,一般,*,*,*,ing,イング,イング,1/3,C1

Mecab_print size: 2
0 ink,名詞,一般,*,*,*,*,ink,インク,インク,0/3,C0
1 ing,名詞,固有名詞,一般,*,*,*,ing,イング,イング,1/3,C1


input:    tasks
reading expected: 
reading result:   タスクズ
Mecab_print size: 2
0 task,名詞,一般,*,*,*,*,task,タスク,タスク,0/3,C0
1 s,記号,アルファベット,*,*,*,*,s,エス,エス,1/2,*

Mecab_print size: 2
0 ,,,*,*,*,*
1 tasks,名詞,一般,*,*,*,*,tasks,タスクズ,タスクズ,0/4,C0


input:    that's
reading expected: 
reading result:   ザットゥズ
Mecab_print size: 3
0 that,名詞,一般,*,*,*,*,that,ザットゥ,ザットゥ,0/4,C0
1 ’,記号,括弧閉,*,*,*,*,’,’,’,*/*,*
2 s,記号,アルファベット,*,*,*,*,s,エス,エス,1/2,*

Mecab_print size: 3
0 ,,,*,*,*,*
1 ,,,*,*,*,*
2 that's,名詞,一般,*,*,*,*,that's,ザットゥズ,ザットゥズ,0/5,C0


input:    don't explicitly
reading expected: 
reading result:   ドン’ティー explicitly
Mecab_print size: 5
0 don,名詞,一般,*,*,*,*,don,ドン,ドン,0/2,C0
1 ’,記号,括弧閉,*,*,*,*,’,’,’,*/*,*
2 t,記号,アルファベット,*,*,*,*,t,ティー,ティー,1/2,*
3  ,記号,空白,*,*,*,*, , , ,*/*,*
4 explicitly,名詞,固有名詞,組織,*,*,*,*

Mecab_print size: 5
0 don,名詞,一般,*,*,*,*,don,ドン,ドン,0/2,C0
1 ’,記号,括弧閉,*,*,*,*,’,’,’,*/*,*
2 t,記号,アルファベット,*,*,*,*,t,ティー,ティー,1/2,*
3  ,記号,空白,*,*,*,*, , , ,*/*,*
4 explicitly,名詞,固有名詞,組織,*,*,*,*


input:    updates
reading expected: 
reading result:   アップデートズ
Mecab_print size: 2
0 update,名詞,一般,*,*,*,*,update,アップデート,アップデート,0/6,C0
1 s,記号,アルファベット,*,*,*,*,s,エス,エス,1/2,*

Mecab_print size: 2
0 ,,,*,*,*,*
1 updates,名詞,一般,*,*,*,*,updates,アップデートズ,アップデートズ,0/7,C0


input:    uninstall
reading expected: 
reading result:   ウニンストール
Mecab_print size: 

- 3

0 uni,名詞,一般,*,*,*,*,uni,ユニ,ユニ,0/2,C0
1 n,記号,アルファベット,*,*,*,*,n,エヌ,エヌ,1/2,*
2 stall,名詞,一般,*,*,*,*,stall,ストール,ストール,0/4,C0

Mecab_print size: 3
0 ,,,*,*,*,*
1 unin,名詞,固有名詞,*,*,*,*,unin,ウニン,ウニン,0/3,C0
2 stall,名詞,一般,*,*,*,*,stall,ストール,ストール,0/4,C0


input:    backups
reading expected: 
reading result:   backups
Mecab_print size: 1
0 backups,名詞,固有名詞,組織,*,*,*,*

Mecab_print size: 1
0 backups,名詞,固有名詞,組織,*,*,*,*


JTalk 記号の読み (^)

NVDA 2017.4JP-beta-171107wから、JTalkでの記号"^"の読み上げ方が変わっているようです。

  1. キーボードから"^"を入力すると、「べき乗」と読み上げされます。
  2. 1)の後、左矢印キーを押してカーソルを"^"の左に移動させると、「サーカムフレックスアクセント」と読み上げされます。

ちなみに、eSpeakでは、記号"^"は「キャレット」と読み上げされます。

「サーカムフレックスアクセント」という呼称は馴染みがなく、何の記号かわからず混乱するので、
(カーソルを戻したときに「サーカムフレックスアクセント」と読み上げされると、打ち間違えたか間違って変な記号を入力したのかと思ってしまう)
できれば、JTalkでの記号"^"の読みは「べき乗」に統一してほしいです。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.