RandolphDukeII / eyes-free

Automatically exported from code.google.com/p/eyes-free
0 stars 0 forks source link

[eSpeak] Missing Zh-Yue in 3.0 RC #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
--missing force setting for zh-yue in 3.0rc

What is the expected output? What do you see instead?
--speak putowa even it is set to cantonese.

What version of the product are you using? On what operating system?
--3.0 rc01

Original issue reported on code.google.com by clb...@gmail.com on 16 May 2010 at 3:46

GoogleCodeExporter commented 8 years ago
Which product is this bug report for?

Original comment by alanv@google.com on 17 Dec 2011 at 6:19

GoogleCodeExporter commented 8 years ago

Original comment by alanv@google.com on 17 Dec 2011 at 6:19

GoogleCodeExporter commented 8 years ago
Hello, I am the contributor of eSpeak Cantonese. Some dictionaries are missing 
in the standard version of eSpeak because of their big size. This dictionaries 
includes Russian, Cantonese and full version of Mandarin Chinese. I think this 
is the cause of the issue. Get those dictionaries and rebuild eSpeak should 
solve the problem. Let me know if I can provide help.

Cameron

Original comment by hgn...@gmail.com on 7 Apr 2012 at 6:51

GoogleCodeExporter commented 8 years ago
Can't bundle additional dictionaries due to size constraints, need to add 
interface for downloading additional languages.

Original comment by alanv@google.com on 27 May 2012 at 5:16

GoogleCodeExporter commented 8 years ago
I can reproduce the issue in eSpeak v1.46.02_r7 (both release version and debug 
version I built from source with Cantonese dictionary data). So it's NOT only a 
DICTIONARY MISSING issue.

When I switch to Chinese (YUE), which is Cantonese. Contry code HKG seems not 
pass into eSpeak Engine.
===== logcat info =====
V/TextToSpeechSettings(  274): TTS default lang/country/variant set to zh/yue/
V/eSpeak Engine(  859): isLanguageSupported("zho", "", "")
I/eSpeak Engine(  859): Found ISO3 language at index 37
I/eSpeak Engine(  859): No country specified, language is available
V/Settings(  274):  selected is 59
========== 

When I play sample text, Android TTS system seems not pass HKG contry code to 
eSpeak Engine too.
===== logcat info (there is bad encoding because I copy them from Windows, 
which is not UTF8 system) =====
V/TtsService(  859): TTS processing: 
姝e湪鏈楄鐨勬槸Chinese鐨勮闊崇ず渚?
V/TtsService(  859): TtsService.setLanguage(zho, , )
V/eSpeak Engine(  859): setLanguage("zho", "", "")
V/eSpeak Engine(  859): isLanguageSupported("zho", "", "")
I/eSpeak Engine(  859): Found ISO3 language at index 37
I/eSpeak Engine(  859): No country specified, language is available
I/SynthProxy(  859): setting speech rate to 100
V/eSpeak Engine(  859): setProperty("rate", "100", 12)
I/SynthProxy(  859): setting pitch to 100
V/eSpeak Engine(  859): setProperty("pitch", "100", 12)
I/eSpeak Engine(  859): Synthesize: 
姝e湪鏈楄鐨勬槸Chinese鐨勮闊崇ず渚?
========== 

I have read source code of eSpeak Engine and found no clue. Is it because 
Android don't support country code of HKG? Any suggestion?

Thanks a lot!

Cameron

Original comment by hgn...@gmail.com on 31 Aug 2012 at 3:49

GoogleCodeExporter commented 8 years ago
Here are some code from com_google_espeakengine.cpp for reference:
const char *eSpeakSupportedVoices[][3] = {
        {"zh",     "zho",        "Chinese (Mandarin)"},
        {"zh-yue", "zho-HKG",    "Chinese (Cantonese)"},

Original comment by hgn...@gmail.com on 31 Aug 2012 at 3:57