C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 331 forks source link

doesn't work with chinese. #14

Closed werererer closed 1 year ago

werererer commented 1 year ago

It doesn't read Chinese out loud If the ai responds with chinese . Which is kind of sad because I like Chinese :).

for example:

image

will not be read out loud. I have the settings like that:

image

dev-eduka commented 1 year ago

I will check it out, it might be due to the fact that the punctuation is different in Chinese. If that's the case it should be an easy fix

naoya-in commented 1 year ago

I use Japanese and have had this problem as well. I hope it helps with this issue.

dev-eduka commented 1 year ago

I use Japanese and have had this problem as well. I hope it helps with this issue.

hi @naoya-in could you give me all the common punctuation marks in japanese? I know the chinese ones because I can type chinese, but unfortunately I dont type japanese

naoya-in commented 1 year ago

hi @dev-eduka

In Japanese, () and () are used as punctuation marks. The () is used much like a comma, and the () is used in much the same way as a period in English. Also and are sometimes used in sentences with the same meaning as in English

I hope this will help.

Taounit commented 1 year ago

Same here, Japanese voice does not work. Only input.

dev-eduka commented 1 year ago

hello, this issue should be addressed in v1.6 v1.6 is available on github, you can sideload it using developer mode OR wait a couple of days until the update is approved and starts appearing on the Play store

naoya-in commented 1 year ago

This problem was resolved in Japanese. Thank you!

C-Nedelcu commented 1 year ago

Thanks naoya-in!

As for 中文: I was able to converse in Chinese perfectly using the settings below. (V1.6)

Screenshot_1 Screenshot_2

I am going to mark the issue as closed now.

werererer commented 1 year ago

image User: 你会说中文吗。 GPT: 是的,我会说中文。 In this example only 我会说中文。is being read out 是的, never gets read out aloud.

C-Nedelcu commented 1 year ago

I encountered a similar problem before, but it turns out it was caused by my use of a particular set of speakers. Any audio would get cut off for the first second or so. They were bluetooth speakers.

When I switched to my laptop's internal speakers, it stopped happening.

Could maybe look into that?

Alternatively, look for the javascript console. if it says "Saying out loud: 是的" then it means the 是的 was definitely sent to the TTS engine. And beyond that, it's out of my control.

C-Nedelcu commented 1 year ago

werererer's commit has fixed this issue. I am releasing this as v1.6.1 and publishing to the play store.

rjda11 commented 1 year ago

I am having no luck getting the extension to talk to me in Chinese. The browser I am using is Edge. Here are my settings: TalkToChatgpt Settings Am I doing something wrong with the settings?