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.
-
@cvp
1.In that case, Hiragana is automatically determined as it is.2.It seems that the translation didn't go well. Numbers are also converted to Kanji.
3.In Japan, the enter key has the same function as the return key. Please use the return key.
4.Please put the toolbar on top of the Hiragana keyboard.
The kanji process has not been tested because there is a key above the key."Protect the toolbar" is probably this translation error.
I want it to be displayed above the Hiragana keyboard. -
@shinya-ta
1.In that case, Hiragana is automatically determined as it is.
Thus, if I type an Hirgana letter and then a Katakana or Alphabet without typing the Kanji key, you want that the Hirgana letter becomes inserted in the text?
It seems that the translation didn't go well. Numbers are also converted to Kanji.
Thus, digits are to be set in the temporary storage with Hirgana letters?
In Japan, the enter key has the same function as the return key. Please use the return key.
Thus, if you press the return key, I insert the letters from the temporary storage directly into the TextField without Kanji conversion?
Thus return does not generate a new line!The Kanji process has duplicated keys and has not been tested.
I don't understand this line.
I want it to be displayed above the Hiragana keyboard.
Do you want that this temporary storage to be visible in any sub-keyboards?
-
- Yes, it is.
- Yes, it is.
- The layout is wrong and there is a button in the same place and I can't press it.
-
@shinya-ta said
1.Yes, it is.
2.Yes, it is.
3.
4.The layout is wrong and there is a button in the same place and I can't press it.
5.You did not answer to 3 and 5
And please describe more clearly the problem of the Kanji layout. Thanks
Something like?
-
@cvp
I don't understand three or five questions.It's okay like that image.
-
Please,
-
describe what is wrong in the Kanji keyboard,
-
Do you want that the new temporary storage displayed (in red) would be visible only in Hirgana or also in digits? Or even in Katakana and alphabet so all keys will have same height
-
And, in Kanji sub-window, as the 1st selectable row has exactly the same content as the temporary storage displays just above, I propose to not display the temporary storage it-self, so we would have more room to display the list. Agree?
-
-
@cvp
1.The buttons are concentrated on the left end. No matter which button I press, it doesn't respond.
2.Please display only Hiragana and numbers.
3.Yes. I agree. -
@shinya-ta said
The buttons are concentrated on the left end. No matter which button I press, it doesn't respond.
I got this also during my first tests but no more, You should have a problem somewhere.
Sure your files HiraganaToKanji.db and SentencesEngJpn.dat are in the same folder as your script? -
@shinya-ta version
00.20
is availablePlease, try a maximum of cases and give me some feed-back
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis Keyboard.py
-
@cvp
It is in the same folder. -
@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