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 version 00.26 is available with
modifications
- for a flicking key, lifting your finger on a blue key accepts the letter
and reads it aloud
only to check if it helps your wife for flicking selection, but some punctuations are not read
- wait 1.5 instead of 1 second before reading out "read to cursor" and "read all"
correction of bugs
- Kanji's list does not scroll any more.
From a certain ios version, ui.TableView scrolling via content_offset does not work anymore, thus now I have to use ObjectiveC
scrollToRowAtIndexPath_atScrollPosition_animated_ method of UITableView
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py
- for a flicking key, lifting your finger on a blue key accepts the letter
-
This function is the best.
It has a wonderful finish.
It seems to be a native application. -
There are also minor corrections.
As for the cursor move button, I want you to move to the beginning and the end of the whole sentence even if you start a new line.
When I select letters by flick input, can't I just make sound effects somehow?
It would be perfect if we could at least do that. -
As for the cursor move button, I want you to move to the beginning and the end of the whole sentence even if you start a new line.
Do you want new buttons? Please describe with an example. Post a text and show where you want the cursor to be moved and with which button
When I select letters by flick input, can't I just make sound effects somehow?
version 00.27 is available with
modifications
- when a flick key or one of its sub-keys become blue, it is read aloud .............to be tested
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py
Could you also test something new: in the Kanji sub-window, if you tap the "round arrow" key, I take the first kanji of the selected row, and I ask its English translation via Internet and it is read aloud so if you wife understands English, she could distinguish different Kanjis with same sound. It is only to test what it could be possible to do in the keyboard via an Internet API (if it exists) to help to distinguish Kanji with similar sound.
Just remarked: English translation read by a Japanese voice 😂, thus weird, sorry. Not vital as it's a "to be tested" functionality
-
1.I would like you to improve the existing Sentence start and end button, not a new button.
I would like you to move to the beginning of the whole sentence and to the end of the whole sentence. -
Hiragana keyboard is wonderful.
Instead, you can no longer enter Katakana punctuation. -
@shinya-ta Please try to be clear in your answers, so when I could read your answer tomorrow when I wake up and perhaps create a new version before the end of your Sunday.
whole sentence
What is a sentence for you? If it is the whole TextField/TextView, it is not possible like I explained in a previous post. If it is a group of words ended by a "point", ok. Which character is the Japanese point?
you can no longer enter Katakana punctuation.
I don't understand. Do you mean punctuation or accents?
Could you also test something new: in the Kanji sub-window, if you tap the "round arrow" key, I take the first kanji of the selected row, and I ask its English translation via Internet and it is read aloud so if you wife understands English, she could distinguish different Kanjis with same sound. It is only to test what it could be possible to do in the keyboard via an Internet API (if it exists) to help to distinguish Kanji with similar sound.
Just remarked: English translation read by a Japanese voice 😂, thus weird, sorry. Not vital as it's a "to be tested" functionality
Please give some feedback, thanks
-
1.I understand the limitations of the system. I'll give up on that.
But we need to make some corrections.
Even for short sentences of twenty characters, the "read all" button sometimes reads halfway through the sentence instead of reading the whole sentence.
The "read to cursor" button should be read from the beginning.2.I am sorry. It is my mistake. It is not a punctuation mark but a mistake of a voiced sound mark or a semi-voiced sound mark. It has stopped functioning.
3.That's a very good idea. My wife can understand English words to some extent, so she might be able to distinguish them that way.
Yes, please. -
Can I complete typing only punctuation marks directly into text view without inserting them into text fields?
-
Can I complete typing only punctuation marks directly into text view without inserting them into text fields?
Sorry, I don't understand: what is the "text view" and what is "text fields"?
Do you mean, by example, insert a punctuation mark in the TextView without passing via the temporary storage?.I am sorry. It is my mistake. It is not a punctuation mark but a mistake of a voiced sound mark or a semi-voiced sound mark. It has stopped functioning.
Yes, I know there is a bug, but I have problems because some characters like な do not exist with a voiced mark. I have to rewrite the process of both marks. That will take some time, sorry.
That's a very good idea. My wife can understand English words to some extent, so she might be able to distinguish them that way.
I'LL do it with an English reader
Even for short sentences of twenty characters, the "read all" button sometimes reads halfway through the sentence instead of reading the whole sentence.
The "read to cursor" button should be read from the beginningPlease confirm what is a "sentence" for you?
It should be the line where the cursor is located.
Each sentence terminates with a return, or "new line" character. Ok? -
-
@shinya-ta said
Do you mean long sentences are OK as long as there is no line break? Then, it's OK
No, I just want to know "what is a sentence" for you
- the whole TextView
- the text between two punctuation points
- the text between two line breaks?
-
The entire text view.
But if you can't do it, one lines will do. -
@shinya-ta said
The entire text view.
But if you can't do it, one lines will do.Ok. Let us forget the "entire TrxtView" for technical limitations in Pythonista (or even IOS), thus I'LL busy of the current line where is the cursor.
And that is for- read all = read line
- read to cursor = read from begin of line to cursor
- move up = locate cursor at begin of line
- move down = locate cursor at end of line
Please confirm before I program, thanks
-
That's fine. Thank you.
-
@shinya-ta A little remark about phonetic voiced and half-voiced marks for Hiragana and Katakana letters.
Voiced mark (゛) exists as a stand-alone character, as a combining character for letters which do not have a specific character (some Hiragana and almost all Katakana) and specific characters which have the same Unicode as the original character + 1.
Half-voiced mark (゜) exists as a stand-alone character and as a combining character for all letters. No specific character exists nor in Hiragana, nor in Katakana.For info, I have written a little program which builds a specific character by adding 1 to the ucode value of each character, to visually be able to check which ones do have the specific character and which ones do not.
See here the resulthirgana あぃ いぅ うぇ えぉ おか かが きぎ くぐ けげ こご さざ しじ すず せぜ そぞ ただ ちぢ つづ てで とど なに にぬ ぬね ねの のは はば ひび ふぶ へべ ほぼ まみ みむ むめ めも もゃ やゅ 「」 ゆょ 」『 よら らり りる るれ れろ ろゎ わゐ をん んゔ ーヽ katakana アィ イゥ ウェ エォ オカ カガ キギ クグ ケゲ コゴ サザ シジ スズ セゼ ソゾ タダ チヂ ツヅ テデ トド ナニ ニヌ ヌネ ネノ ノハ ハバ ヒビ フブ ヘベ ホボ マミ ミム ムメ メモ モャ ヤュ 「」 ユョ 」『 ヨラ ラリ リル ルレ レロ ロヮ ワヰ ヲン ンヴ ーヽ
-
That's for sure.
-
@shinya-ta said
That's for sure.
I like your humor 🙂
Explained so, it seems easy, but, believe me, it isn't (at least for me)
-
@shinya-ta version 00.28 is available with
modifications
- process of phonetic voiced and half-voiced marks
if in Katakana sub-keyboard,
use character as left of cursor as previous character
if in Hiragana sub-keyboad,
if temporay storage is empty,
use character as left of cursor as previous character
if temporary storage is not empty,
use last character of temporary storage as previous character
if previous character not an Hiragana nor a Katakana character,
append the standalone character of the phonetic mark
if previous character is an Hiragana or a Katakana character,
if mark is the half-voiced mark, append the combining character
of the phonetic mark
if mark is the voiced mark,
if character has an existing specific character (ucode + 1)
replace previous character by this specific one - if use type a punctuation in the Hiragana keyboard and if temporary storage
is still empty, the punctuation will be directly inserted in the TextView - after selection of a Kanji in the list (becomes red), tapping the "round arrow"
key will try to read (by an English reader) the translation of each Kanji (one
at a time) via an Internet search on https://kanjiapi.dev.
This to help the keyboard user to distinguish between multiple Kanjis
having same pronunciation
https://raw.githubusercontent.com/cvpe/Pythonista-scripts/master/Emojis%20Keyboard.py
I should prefer we terminate the debugging of this version before starting development of:
Not yet done, for a next version- read all = read line
- read to cursor = read from begin of line to cursor
- move up = locate cursor at begin of line
- move down = locate cursor at end of line
- process of phonetic voiced and half-voiced marks
-
The voice has changed from female to male.
It is difficult to hear the man's voice, so can I change it to a woman?
Everything else is fine.