Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilingual Mycroft #1898

Open
beemorris opened this issue Dec 3, 2018 · 6 comments
Open

Multilingual Mycroft #1898

beemorris opened this issue Dec 3, 2018 · 6 comments
Labels
Difficulty: hard Status: For discussion Feature proposal in development. Community input and discussion is invited. Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap.

Comments

@beemorris
Copy link

Hello! I was wondering if it is or if it will be possible to use Mycroft in multiple languages simultaneously? I would like to be able to use Mycroft in English and Swedish, but I don't think that this is currently possible, and I think having Mycroft be multilingual would be a feature that a lot of people would use. Thank you!

@ftyers
Copy link
Contributor

ftyers commented Dec 3, 2018

It would also be la hostia si Mycroft pudiera permitir codeswitching! :D

@forslund
Copy link
Collaborator

forslund commented Dec 4, 2018

I for one would really like that. It's something we've briefly talked about and will happen down the road. Hopefully sooner rather than later.

@Extarys
Copy link

Extarys commented Apr 1, 2019

I would be amaze if I could use it in english and french! That would be awesome!

@penrods
Copy link
Contributor

penrods commented Apr 1, 2019

At the moment, the core technologies (STT / TTS) are built around a single language. I see two approaches to become multi-lingual:

  • Maintain single-language technologies and switch between tech based on some trigger. E.g. "Hey Mycroft" hotword makes it operate in English, "Bork bork" hotword makes it operate in Swedish (or at least Swedish Chef). This would not allow mixing of languages within a single interaction.
  • We train multi-lingual models for STT and TTS. Specifically, I can imagine Language X + English. This approach would not support the system speaking French and Spanish, for example. This would allow mixing of languages in the same interaction.

Both of the above seem in striking distance. Other approaches such as arbitrary, dynamic language detection seem more likely to fail in the near term.

Regardless, this is not on the main development roadmap for quite some time. At least a year, unless something major changes.

@Extarys
Copy link

Extarys commented Apr 2, 2019

I think your first approach is simpler and I, personally, would be very happy with that.

  • Yo Mickey (English)
  • Hey Mike (French, shorter for main/prefered language)

@krisgesling krisgesling added Difficulty: hard Status: For discussion Feature proposal in development. Community input and discussion is invited. Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap. labels Sep 24, 2020
@ChanceNCounter
Copy link
Contributor

I think this issue could benefit from separate discussions for each of the moving parts:

  • Multiple passes at utterances to determine language
  • STT (streaming STT determines language ASAP, can't afford to wait)
  • TTS (how does it pick a language to reply with?)
  • Wake word switching?
  • Lingua Franca
  • Mycroft config (user/system)
  • Language switching intent (tweak settings by voice, or just switch/add languages?)

Also, any solution to this is probably an inherent solution to switching the one language that Mycroft is using, for folks who don't want a multilingual assistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: hard Status: For discussion Feature proposal in development. Community input and discussion is invited. Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap.
Projects
None yet
Development

No branches or pull requests

7 participants