omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    Braille application.

    Pythonista
    6
    334
    212210
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp @shinya.ta last edited by

      @shinya.ta πŸ‘

      In one hour, if you want, I'll explain you how to use it as a custom keyboard in any app using a keyboard for text input...
      Or we wait until the program is exactly like your want.

      shinya.ta 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @shinya.ta last edited by cvp

        @shinya.ta Add your custom keyboard

        1. Pythonista settings

        2. scroll until Pythonista keyboard

        3. tap + but you can also first remove unused keyboards...to be tested

        4. tap at right of script to choose your script
          Eventually choose title, color, icon (you can do later), then add

        5. Pythonista beta doc says what you have to do (only once) to enable the Pythonista keyboard:
          "You can enable the keyboard in the Settings app (General > Keyboard > Keyboards > Add New Keyboard). It already includes various script shortcuts from the examples folder that you can try right away. If you want to add your own scripts, use the new β€œShortcuts...” option from the β€˜wrench’ menu."

        6. then, is the globe key, you can choose Pythonista keyboard(s) as keyboard instead of English, Japanese, Emoji, etc...

        Now, in any app, you will receive Pythonista keyboard when you choose Japanese Braille

        and you get

        shinya.ta 1 Reply Last reply Reply Quote 0
        • shinya.ta
          shinya.ta @cvp last edited by

          @cvp

          I need six more Braille in Japanese.

          γŒγ€γŽγ€γγ€γ’γ€γ”
          γ–γ€γ˜γ€γšγ€γœγ€γž
          だ、げ、γ₯、で、ど
          ば、び、ぢ、べ、ぼ

          ぱ、ぴ、ぷ、ぺ、ぽ

          The basic six buttons have different symbols and you need to have another word.

          http://www.yoihari.com/tenji/tdaku.htm

          cvp 1 Reply Last reply Reply Quote 0
          • shinya.ta
            shinya.ta @cvp last edited by

            @cvp

            Thank you for explaining the custom keyboard.
            I'll test it right away.

            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @shinya.ta last edited by cvp

              @shinya.ta said:

              I need six more Braille in Japanese.

              Sorry, I don't understand.
              Do you want 2 x 6 dots instead of 6 dots?
              If yes, where to display them?
              If yes, how to distinguish characters with 6 dots versus characters with 12 dots?

              prefix dot nΒ°4 = dakuten, dot nΒ°6 = handakuten
              I understand better but how to say the first 6-dots is finished?
              I could for instance accept these both chars with the ok button but needing a second character before to continue...
              I'll think about it but if you have a good solution of "how to do", please tell me

              shinya.ta 2 Replies Last reply Reply Quote 0
              • cvp
                cvp @shinya.ta last edited by

                @shinya.ta said:

                ぺ

                I think I'll solve it but for the end of the week-end
                See start point of my work

                shinya.ta 1 Reply Last reply Reply Quote 0
                • shinya.ta
                  shinya.ta @cvp last edited by

                  @cvp

                  That way is good. I'd like to accept both of these letters with the OK button and decide the second letter before proceeding.

                  1 Reply Last reply Reply Quote 0
                  • shinya.ta
                    shinya.ta @cvp last edited by

                    @cvp

                    And I would like to have a cursor move button that I made before.
                    I want to just move the left and right cursor movements.

                    cvp 1 Reply Last reply Reply Quote 0
                    • cvp
                      cvp @shinya.ta last edited by

                      @shinya.ta said:

                      I want to just move the left and right cursor movements.

                      Two new buttons between dots 3 and 6?

                      shinya.ta 1 Reply Last reply Reply Quote 0
                      • shinya.ta
                        shinya.ta @cvp last edited by

                        @cvp

                        And you need a Japanese speech.

                        cvp 1 Reply Last reply Reply Quote 0
                        • shinya.ta
                          shinya.ta @cvp last edited by

                          @cvp

                          Yes, I would like to have a button in between.

                          cvp 3 Replies Last reply Reply Quote 0
                          • cvp
                            cvp @shinya.ta last edited by

                            @shinya.ta I hope you don't want all of that not too quickly...

                            1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp @shinya.ta last edited by

                              @shinya.ta said:

                              Yes, I would like to have a button in between.

                              Cursor buttons like this?

                              1 Reply Last reply Reply Quote 0
                              • cvp
                                cvp @shinya.ta last edited by

                                @shinya.ta said:

                                And you need a Japanese speech.

                                Speech automatically or asked via a button?

                                1 Reply Last reply Reply Quote 0
                                • cvp
                                  cvp @shinya.ta last edited by cvp

                                  @shinya.ta said:

                                  ぺ

                                  I understand that a first character with only dot 5 transforms か into が
                                  and dot 6 transforms へ into ぺ

                                  but your list and the list of http://www.yoihari.com/tenji/tdaku.htm
                                  are not the same.
                                  Thus you have to give me the list of accepted characters for each prefix.

                                  shinya.ta 1 Reply Last reply Reply Quote 0
                                  • shinya.ta
                                    shinya.ta @cvp last edited by

                                    @cvp

                                    http://www.yoihari.com/tenji/tdaku.htm

                                    This list is correct.

                                    I need a Japanese speech for Pythonisa.

                                    You can write the proper words on the Speech over the Japanese speech of PythonIsa and the Voice over the iPhone.

                                    cvp 2 Replies Last reply Reply Quote 0
                                    • cvp
                                      cvp @shinya.ta last edited by cvp

                                      @shinya.ta said:

                                      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...

                                      1 Reply Last reply Reply Quote 0
                                      • cvp
                                        cvp @shinya.ta last edited by cvp

                                        @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[0]										# ex: 5
                                        		k = ele[2:]												# ex:	1345
                                        		ch = Japanese_Braille[k]					# ex: ぀
                                        		p(ele,prefix,ch)
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • cvp
                                          cvp last edited by cvp

                                          New Version 0.7

                                          # 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

                                          shinya.ta 1 Reply Last reply Reply Quote 0
                                          • shinya.ta
                                            shinya.ta @cvp last edited by

                                            @cvp

                                            I took a test.
                                            It's great.

                                            And I'd like to have a text field and a speech on the conversion list.

                                            cvp 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors