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

SPIKE: Look into Language Identification #32

Open
DPigeon opened this issue Aug 19, 2020 · 1 comment
Open

SPIKE: Look into Language Identification #32

DPigeon opened this issue Aug 19, 2020 · 1 comment
Labels
question Further information is requested

Comments

@DPigeon
Copy link
Owner

DPigeon commented Aug 19, 2020

A class for the language identification was implemented before in case it was going to be used. Now, it would be good to integrate it.

If integrated, choosing the language on the profile should be removed. Also, the fast swap button idea would need to be slightly modified because the identified language would have to swap with the output one.

Advantages:

  • Avoid choosing language in profile
  • Better and neater

Disadvantages:

  • Fast Swap Button's Idea will have to be redesign or even completely scrapped out.
  • Process of (talk --> text --> firebaseLanguageIdentification --> set speechRecognizer(inputLanguage) --> talk) may be long and tedious. So choosing from the profile may be faster for the user.

Strategy: would need to identify language first. Then input languagr is set and we can talk. However, would need to do that each time we want to change language. May be long if we want to be quick.

--> Would be possible but the swap button would have to be removed.

@DPigeon DPigeon added the question Further information is requested label Aug 19, 2020
@DPigeon
Copy link
Owner Author

DPigeon commented Aug 25, 2020

After thinking about it, this feature would be possible, but the swap button and choosing language in profile would have to be removed. The new flow process would be:

  • Talk (in english for instance)
  • Get Text spoken
  • Send to language identification
  • Get language name
  • Set speechRecognizer
  • Talk to translate to output language

To test:

  • See if we can identify a language with microphone even if the EXTRA_LANGUAGE in startRecognition method is not set at the beginning
  • The flow process' performance and speed (if it is slow, let's not implement this feature)

@DPigeon DPigeon changed the title Look into Language Identification SPIKE: Look into Language Identification Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant