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.
    • 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
                          • cvp
                            cvp @shinya.ta last edited by

                            @shinya.ta Finish for today, I have a dinner outside.
                            Tomorrow, mothers' Day, thus not a lot free
                            Monday should be ok to go with the program, sorry for the delay

                            Did you check the words with prefix?
                            Did you test with custom keyboard in another app?

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

                              @cvp

                              I tested the prefix.

                              It functioned normally.
                              The test for other applications is not yet done.
                              Just a moment, please.

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

                                @cvp

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

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

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

                                This Braille is also necessary.
                                There are some other details, but I don't remember well, so the necessary Braille is only this.

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

                                  @shinya.ta It becomes really complicated, let me some time to try to understand...

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

                                    @shinya.ta The Yō-on table that you link is a katakana list, not hirgana

                                    For instance, are you sur that you want キャ instead of きゃ

                                    It is important to decide before I begin this very complex part...

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

                                      @cvp

                                      The list is displayed in Katakana, but there is no distinction between Hiragana and Katakana.
                                      Because, for visually-impaired people, the distinction between Katakana and Hiragana is irrelevant to reading a document.

                                      http://www.yoihari.com/tenji/omotegazo.html

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

                                        @shinya.ta Ok, understood, but for the display, what do you want? Because I have to display it to generate a voice

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

                                          @shinya.ta Digits process is also very complex, due to this rule

                                          Words immediately follow numbers, unless they begin with a vowel or with r-. 
                                          Because the syllables a i u e o and ra ri ru re ro are homographic with the digits 0–9, 
                                          a hyphen is inserted to separate them.
                                           Thus 6人 "six people" (6 nin) is written without a hyphen, ⠼⠋⠇⠴ ⟨6nin⟩, 
                                          but 6円 "six yen" (6 en) is written with a hyphen, ⠼⠋⠤⠋⠴ ⟨6-en⟩, 
                                          because ⠼⠋⠋⠴ would be read as ⟨66n⟩.
                                          

                                          Thus I'll need some time to program that...

                                          All of this would normally be done next week as I have a feast today...

                                          I hope that you understand that this kind of program is not written very quickly 😀

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

                                            @cvp

                                            I think you can put Katakana into the conversion list of Kanji.

                                            I won't rush.
                                            Slowly, please.

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