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

Question for Implementation for Short Commands #1569

Open
MarioIb14 opened this issue May 5, 2024 · 7 comments
Open

Question for Implementation for Short Commands #1569

MarioIb14 opened this issue May 5, 2024 · 7 comments

Comments

@MarioIb14
Copy link

Hello, I am working on project the user requires user to say short commands such as "in" and "out". Is there way to modify the code for single worded commands so command do not chain together? Also is there a way to reduce the time that the function waits for silence?

@nshmyrev
Copy link
Collaborator

nshmyrev commented May 6, 2024

What kind of project exactly

@MarioIb14
Copy link
Author

Sorry I am looking to use python version. I meant the project is trying convert voice to text for short commands and text will be used interact GUI program with single word commands. I started to use setgrammer and EndpointerMode(cannot import from vosk it for some reason).

@nshmyrev
Copy link
Collaborator

nshmyrev commented May 6, 2024

I'm asking what kind of short commands your software is going to recognize

@MarioIb14
Copy link
Author

MarioIb14 commented May 6, 2024

So the ones I am planning to use is '["in", "out", "left","right","up", "down", "pause", "stop","next","start", "[unk]"]'

@MarioIb14
Copy link
Author

Sorry do you need any more clarification on the specific short commands?

@nshmyrev
Copy link
Collaborator

Yes, I need to understand the application you are creating

@MarioIb14
Copy link
Author

So we have a Matlab script that runs in the background and has a GUI with a text input box that our software needs to write voice commands in each iteration. So the script checks the text input each iteration to control the movement of a robotic arm with commands seen above(if no new command it will take the previous command for movement). So we need a program that can be running in the background checking if a specific command (single-worded) is said to write in the input box and press enter, I am trying to make fast as possible by limiting amount words (setting grammar), preventing the program from stringing words into sentences (if possible) and reduce time from partial to final output (I notice when the test microphone example code that it would detect word command so quick from partial output but it would wait some time output the result).

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

No branches or pull requests

2 participants