I am thinking of an application to input text using Braille.
I'm thinking about Braille in Japanese.
Is it possible for Pythonisa?
@shinya.ta With the future new version of Pythonista, you will be able to build custom keyboards which will be usable in all applications with input text.
We could thus present a Braille keyboard like the picture here-under but this one will not be full-screen, perhaps the third of the height of your iPhone. The picture is on my iPad mini 4.
This, I'm not sure this kind of small Braille keyboard is usable by your wife.
If it's that type of keyboard, I think you can operate it.
To make it easier for my wife to use it, I think I can change the size and position of buttons by myself.
If it is difficult to change the size, we will review the shape again.
@shinya.ta Ok, before to go on, you confirm your prefer such a little keyboard usable everywhere than a full-screen keyboard like my initial script but only usable in Pythonista.
Just to be sure, please confirm because the kind of script if entirely different.
And you will need either to wait for the availability of the official new version of Pythonista, either install a beta version.
This kind of script is a custom keyboard extension, very limited in functionalities. I'm not sure we could include all what you want, we will see.
I'd like a keyboard with this condition until I get a new Pythonisa.
@shinya.ta Not sure that I have been clear enough, to have this custom keyboard, you need the new Pythonista...
When will the new Pythonisa come out?
Read this topic first
@shinya.ta Sorry to insist one more time, understood that your custom keyboard will be something like this on an iPhone, see height of area of red dots.
That image is best.
It exactly matches my image.
@shinya.ta and you agree you will have a so little area for the six Braille dots?
Yes, I agree.
I'll let you go to sleep 😀
My next steps are:
- transform my script into a custom keyboard (not so easy)
- debug the problem you met with dots not always taken
- test this first part in an other app than Pythonista, with actually only hiragana
- try to find a way to convert hiragana into kanji
I hope that all this is not too urgent for you, but I'll let you know how the project goes on.
Perhaps, you should install the beta version so you will be able to test when I'll post a first version of this custom keyboard.
I try to build a conversion "hiragana into kanji"
To test it, I wanted to use your post
みずうみ -> 湖
かわ -> 川
But my conversion gives
みずうみ -> 湖 (like you)
かわ -> 鈹 (not like you)
Thus, do I go on?
Kanji is difficult.
@shinya.ta I know that it is difficult but that will say that conversion could be erroneous..
I'll go on and in a few days, I'll post a first version of my script, normally to be used with the new Pythonista version in all apps as custom keyboard but also usable, thus testable, in Pythonista of actual version.
Let me some time please and you will be able to test it your self with your Pythonista version and tell me what I need to correct.
There is no mistake in conversion.
I don't understand the meaning only with hiragana, so many conversion lists appear.
- tapping Download
- Run Pythonista3 script
- Import file
and tell me if the file is arrived in your Documents (root of Pythonista)
@shinya.ta If you have been able to download the .db file,
please test it with this little script
where you have to type your Hiragana syllables in the TextField, then press return.
You will get the list of Kanji's related to your input.
I have never used GitHub, so I don't know how to use the sign-in.