Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Braille application.
-
And you need a Japanese speech.
-
Yes, I would like to have a button in between.
-
@shinya.ta I hope you don't want all of that not too quickly...
-
-
-
@shinya.ta said:
ぺ
I understand that a first character with only dot 5 transforms か into が
and dot 6 transforms へ into ぺbut your list and the list of http://www.yoihari.com/tenji/tdaku.htm
are not the same.
Thus you have to give me the list of accepted characters for each prefix. -
http://www.yoihari.com/tenji/tdaku.htm
This list is correct.
I need a Japanese speech for Pythonisa.
You can write the proper words on the Speech over the Japanese speech of PythonIsa and the Voice over the iPhone.
-
@shinya.ta said:
This list is correct.
I'm surprised, for instance,
are you're sure that ぎ isI suppose that the list of existing dots is ok but the generated image would be different...
-
@shinya.ta Please confirm that this list and their graphical representation is correct
the dots are prefix 5 or 6 | normal dotsか が 5|16 き ぎ 5|126 く ぐ 5|146 け げ 5|1246 こ ご 5|246 さ ざ 5|156 し じ 5|1256 す ず 5|1456 せ ぜ 5|12456 そ ぞ 5|2456 た だ 5|135 ち ぢ 5|1235 つ づ 5|1345 て で 5|12345 と ど 5|2345 は ば 5|136 ひ び 5|1236 ふ ぶ 5|1346 へ べ 5|12346 ほ ぼ 5|2346 は ぱ 6|136 ひ ぴ 6|1236 ふ ぷ 6|1346 へ ぺ 6|12346 ほ ぽ 6|2346
for those who would be intellectually interested, I have generated that by a little script,
after having discovered that the only difference between this 6-dots prefix is the last half-byte to which is added 1 or a 2 (ex: x8b -> x8c)def p(dots,prefix,ch): # ex: 5,か d = 1 if prefix == '5' else 2 # ex: 5 -> 1 6 -> 2 b = ch.encode('utf-8') # ex: b'\xe3\x81\x8b' n = b[:-1] + bytes([int(b[-1])+d]) # ex: b'\xe3\x81\x8c' c = str(n,'utf-8') # ex: か -> が へ -> ぺ print(ch,c,dots) for ele in Japanese_Braille.keys(): if '|' in ele: # ex: 5|1345 prefix = ele[0] # ex: 5 k = ele[2:] # ex: 1345 ch = Japanese_Braille[k] # ex: つ p(ele,prefix,ch)
-
# Version 0.7 # - bug corrected: sqlite3 operationalerror accessing HiraganaToKanji.db # was not intercepted # - new: cursor left and right move buttons # - new: support Hirgana with one/dot prefix for (han)dakuten
To input characters with dakuten or handakuten like が or ぴ
- tap the prefix dot 5 or 6
- tap ✅ to say that the dots are ended
the program recognizes this as a prefix and waits for a second dots set - tap all dots of normal character like 1236 for ひ
- tap ✅
the accentuated hirgana is generated like ぴ
This version does not yet support speech, for this, I wait that you explain when and what has to be spoken...ex: the Kanji when it is sent to the TextField
Perhaps, one day 😀,you will also ask me to support Yō-on which is supported in Japanese Braille
-
I took a test.
It's great.And I'd like to have a text field and a speech on the conversion list.
-
@shinya.ta Finish for today, I have a dinner outside.
Tomorrow, mothers' Day, thus not a lot free
Monday should be ok to go with the program, sorry for the delayDid you check the words with prefix?
Did you test with custom keyboard in another app? -
I tested the prefix.
It functioned normally.
The test for other applications is not yet done.
Just a moment, please. -
http://www.yoihari.com/tenji/tyou.htm
http://www.yoihari.com/tenji/tsuji.htm
http://www.yoihari.com/tenji/tkigo.htm
This Braille is also necessary.
There are some other details, but I don't remember well, so the necessary Braille is only this. -
@shinya.ta It becomes really complicated, let me some time to try to understand...
-
@shinya.ta The Yō-on table that you link is a katakana list, not hirgana
For instance, are you sur that you want キャ instead of きゃ
It is important to decide before I begin this very complex part...
-
The list is displayed in Katakana, but there is no distinction between Hiragana and Katakana.
Because, for visually-impaired people, the distinction between Katakana and Hiragana is irrelevant to reading a document. -
@shinya.ta Ok, understood, but for the display, what do you want? Because I have to display it to generate a voice
-
@shinya.ta Digits process is also very complex, due to this rule
Words immediately follow numbers, unless they begin with a vowel or with r-. Because the syllables a i u e o and ra ri ru re ro are homographic with the digits 0–9, a hyphen is inserted to separate them. Thus 6人 "six people" (6 nin) is written without a hyphen, ⠼⠋⠇⠴ ⟨6nin⟩, but 6円 "six yen" (6 en) is written with a hyphen, ⠼⠋⠤⠋⠴ ⟨6-en⟩, because ⠼⠋⠋⠴ would be read as ⟨66n⟩.
Thus I'll need some time to program that...
All of this would normally be done next week as I have a feast today...
I hope that you understand that this kind of program is not written very quickly 😀
-