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

STT fallback #567

Open
JulienSambre opened this issue Jul 24, 2019 · 6 comments
Open

STT fallback #567

JulienSambre opened this issue Jul 24, 2019 · 6 comments
Labels
Feature Request ask for a new feature

Comments

@JulienSambre
Copy link

Hi!

I'm working heavily on Kalliope to make a lot of things and one of key feature is the offline STT (which is coherent with the purpose of having a self-hosted AI).

I'm starting using CMUSphinx wich will be fine I expect (just did the install + conf, will see the quality of matching during a few days).

I was asking myself how to handle unmatched orders, due to wrong voice analyze from CMUSphinx (which should be less effective than popular online STT, like Google).

How would it be possible to make a fallback to use another STT if an order is not matched? I already have a neurone to handle some case of unmatched order (i'm starting to work on a "machine learning" code to learn from unmatched orders), and it would be nice to call another STT when local fix of fail order is not possible. From python code for example or something else.

@Sispheor Sispheor added the Feature Request ask for a new feature label Jul 24, 2019
@Sispheor
Copy link
Member

Technically it would be possible.
But, from my point of view, a such feature would take time to process. And so the final result would not looks fluid enough deserve an implementation.

@JulienSambre
Copy link
Author

I am curious to know how would you do that, technically. I have no clear idea (the documentation didn't give me an obvious idea) and I think I could go in an awful and complex solution that I have currently no idea :).

For the time to process, it is the key question. From my observations, orders are answered pretty fast (from my point of view) and adding a second a less to order process, only if an order is not match, would be acceptable. If you have an idea of how to do that, I would be glad to make the test and see how it works ;).

@Sispheor
Copy link
Member

When I said it's technically possible I meant that it would be possible to implement it.
So far it's not possible.

@corus87
Copy link
Contributor

corus87 commented Jul 24, 2019

I just opened a new issue about an order fallback, maybe @JulienSambre you get an idea how to implement an STT fallback too.

@JulienSambre
Copy link
Author

JulienSambre commented Jul 24, 2019

@corus87 I gave it my 2 cents ;).

@Sispheor I tried for an hour to use CMUSphinx : I was unable to match a single order, this STT barely understand correctly a single word, while Google STT is nearly at 100%. For now, I'm stuck with online STT only. So I put my asking in pause, until I could make CMUSphinx understand what I say, even a little :/.

@Sispheor
Copy link
Member

I leave the issue opened. Will see later if it's a must have feature. So far we do have a lot of refactoring in progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request ask for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants