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

[Feature Request] Catch partial result? #9

Closed
foundway opened this issue Mar 15, 2019 · 2 comments
Closed

[Feature Request] Catch partial result? #9

foundway opened this issue Mar 15, 2019 · 2 comments

Comments

@foundway
Copy link

Hi,

Thanks for writing this very useful plugin! It works great in my projects!

Now in my next project, I want to do a "recognize as I speak" style. I searched online and find only 1~2 demos but no tutorial nor example codes. I am not very familiar with Objective-C so I hope perhaps you know just the right way to do it. I think it would become a good and useful feature to add to this repo.

Thanks,

@elblogbruno
Copy link
Contributor

Adding this "intent.putExtra(RecognizerIntent.EXTRA_PARTIAL_RESULTS, "true");" on the Android Project uploaded for creating the plugin and then recreating again the .jar file, seems to activate partial results.
then simply :
SpeechToText.instance.onPartialResultsCallback = onPartialResultsCallback;
void onPartialResultsCallback(string _params)
{
AddLog("Partial recognition results"+ _params);
}
It Works for me.

@elblogbruno
Copy link
Contributor

Check this fork by me: https://github.com/elblogbruno/SpeechAndText_Unity_iOS_Android
Waiting for maintainer to pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants