Re: regular expression and speech dic

Mr. Wong Chi Wai, William <>

I finally got it working like this:

Brian Vogel 於 26/8/2018 11:46 寫道:


        Everything's good, your command of English is far, far, far, far [. . .] better than my command of Chinese.

        If the last regular expression I offered does not catch what you need it to catch and/or the substitution does not break it into the appropriate units, what would be best next is to have examples of what it did not capture and how those examples should be split apart into words to be fed to the synthesizer.  I will always presume that "lv" is meant to be replaced with the English word "level."

Brian - Windows 10 Home, 64-Bit, Version 1803, Build 17134  

    The psychology of adultery has been falsified by conventional morals, which assume, in monogamous countries, that attraction to one person cannot co-exist with a serious affection for another.  Everybody knows that this is untrue. . .

           ~ Bertrand Russell



Join to automatically receive all group messages.