@shinya.ta I hope you don't want all of that not too quickly...
Yes, I would like to have a button in between.
Cursor buttons like this?
And you need a Japanese speech.
Speech automatically or asked via a button?
This list is correct.
I'm surprised, for instance,
are you're sure that ぎ is
I 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 # 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.
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 delay
Did 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.
@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...
@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 😀
I think you can put Katakana into the conversion list of Kanji.
I won't rush.
@shinya.ta I have a question for digits.
The hyphen that needs to be inserted in some cases after a digit, is it your wife who has to do it?
If yes, the program does not need to have this special process, but the blind user?
Am I right ?
I use it sometimes.
I'll use the figures.