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.
Flick button keyboard.
-
@shinya-ta sometimes, for me, a new version of keyboard script is not taken by the system, I have to loop on all keyboards, and surely, I have to close the current one (X at top right)
-
@cvp
I need a Kanji button on a number page.
It is okay to make the size of the toolbar a little smaller. I want you to make the button bigger as much as possible. -
@shinya-ta said
I need a Kanji button on a number page.
It is okay to make the size of the toolbar a little smaller. I want you to make the button bigger as much as possible.I 'LL do it in the next version, but, please, confirm first that the script works even in the Kanji part
I need a Kanji button on a number page.
I don't understand that, as Kanji conversion of a digit is the digit it-self
-
@cvp
You will get the following error :.Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/ 263EB98D-49AC-45A8-9637-2EF523D820AC/Pythonista3/
Documents/custom-keyboard/pythonista-gestures-master 4/ pythonista-gestures-master/keyboard_10.8.py", line 690, in conversion_button_action
(t ,))
sqlite3. OperationalError: no such table:
Hiragana_to_Kanji
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/ 263EB98D-49AC-45A8-9637-2EF523D820AC/Pythonista3/
Documents/custom-keyboard/pythonista-gestures-master_4/ pythonista-gestures-master/keyboard_10.8.py", line 676, in b kanii action
self.conversion button action ()
File "/private/var/mobile/Containers/Shared/AppGroup/ 263EB98D-49AC-45A8-9637-2EF523D820AC/Pythonista3/
Documents/custom-keyboard/pythonista-gestures-master 4/ pythonista-gestures-master/keyboard_10.8.py", line 692, in conversion button action
console.hud_alert('be sure that HiraganaTokanji.db file is present™
'error'
NameError: name 'console"' is not defined -
@shinya-ta ok, the error seems to be that the file HiraganaToKanji.db is not present on the same folder as the keyboard script. Or, if your file is on iCloud, it is not downloaded. And the 2nd erroris that to display an error message, "import console" is missing, this will be fixed in next version.
But first, be sure the .db file is present.
-
@shinya-ta version
00.21
is available with- Kanji key added in digits sub-keyboard
- temporary letters displayed with smaller size font
- Kanji key only enabled if t something in temporary storage
Please, try a maximum of cases and give me some feed-back
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis Keyboard.py
-
@cvp
The file problem has been resolved.
For some reason, the content of the Hiragana file was empty.
I found a file with contents in another place, so I solved it by moving it.
It was my fault. I'm sorry.I tested it. There are some problems.
In the temporary storage of characters, you can't delete when you make a mistake in uchima of characters.
Please correct it.Also, you can't convert numbers on the page of numbers to Kanji numbers.
“1→一”,”2→二”,”3→三”,”4→四”,”5→五”,”6→六”,”7→七”,”8→八”,”9→九”,”0→零”
-
For some reason, the content of the Hiragana file was empty.
If the .db file is not found, the standard python code creates an empty file
-
Digits were not converted to Kanji in the Braille keyboard, thus I did not imagine that you wanted something more, I'll do it
In the temporary storage of characters, you can't delete when you make a mistake in uchima of characters.
If you use the standard backspace key at last line of keyboard, I can't intercept it. But if you use the 左削除 key, I can and will do it.
version
00.22
is available with- left delete in temporary storage
- digits to Kanji conversion
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis Keyboard.py
-
-
@cvp
Wonderful. I was impressed.I have a problem with the system of kanji conversion.
It might be impossible to solve this problem.If you use voice over, you can pronounce only sounds of Kanji in the Kanji list.
Usually, there is an explanation of which Kanji you have chosen.As an example.
"葉" is described as a leaf of a tree.
"葉" and "歯" have the same pronunciation.
The "歯" are the teeth on the toothbrush.
It is distinguished by sound, so it is difficult if there is no explanation.I don't know what to do.
-
@shinya-ta said
Usually, there is an explanation of which Kanji you have chosen.
Do you mean than in other keyboards, you get an explanation?
That's why I use the SentencesEngJpn.dat file. It contains 40.000 English sentences and their traduction in Kanji.
The script tries to find a sentence containing the selected Kanji and pronouns the sentence with the Kanji.
The retry key (round arrow) allows to search another eventual sentence containing the Kanji -
@cvp
There are other explanations. Because of that, you can use different Kanji with the same pronunciation.
Maybe, only the native application can do it. -
@shinya-ta said
There are other explanations. Because of that, you can use different Kanji with the same pronunciation.
Did you try the script with SentencesEngJpn.dat file existing
in the same folder as the script.
If the script really reads a sentence containing the Kanji, you could identify which it is. -
@cvp
I don't understand what you are saying.For now, I can't convert even simple Kanji.
You cannot convert from "かんじ" to "漢字".
When writing sentences, it's not enough just to read them. -
@cvp
Also, it is a list of bugs other than Kanji.1.The "read all" button doesn't read everything. If a new line, it doesn't read from the beginning.
And if a sentence is too long, you don't read it out from the beginning and start in the middle.2.Similarly, the read to cursor button does not read from the beginning if it is a new line.
And if the sentences are too long, you don't read them out from the beginning and start in the middle.3.When you select text with the flick input button, if it is out of the frame, you don't enter text. When it is blue at the time of selection, you want sound effects or voice-over tactile response.
4.When I activate the lower case button and return to the original keyboard, the color of the lower case button does not return.
5.It's not a bug, but I want you to shorten the response time of the flick input button.
It's better if the selection comes out the moment you press it.6.The "(笑)" in the emoji list shows only "(".
-
@shinya-ta said
it is a list of bugs other than Kanji.
I’m in the waiting room of the surgeon thus the bugs list is far from my mind
-
Please take our best wishes with you... @cvp
-
@ccc Thanks a lot for your kindness. My operation is now planned for mid-December, with some exams before to prepare it and to check if my tumor becomes bigger... Wait and see
-
.It's not a bug, but I want you to shorten the response time of the flick input button.
It's better if the selection comes out the moment you press it.The fact that you say "you press it" means a (long) press instead of a tap.
Then we can make the duration of a press smaller than the default duration which is 0.5 secondWhen I activate the lower case button and return to the original keyboard, the color of the lower case button does not return.
By "lower case button" , do you mean "uppercase"?
If you return to the original (Hirgana) keyboard, there is no such button, so how could you see its color?
Sincerely, I don't understand.You cannot convert from "かんじ" to "漢字".
What is this letter じ I don't find it
-
I’m in the waiting room of the surgeon thus the bugs list is far from my mind
I sincerely hope that you will get better.
-