I have a small number of commands (each command is one word, total of just 3 commands).
Using grammar with those 3 words doesn't work well as it detects garbage as one of the words.
I've looked at the forum and saw that currently there is no way to filter garbage in grammar search.
What are the alternatives? Keyword search can only identify one word so I guess it doesn't fit.
Using latest PocketsPhinx for Android demo from trunk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What are the alternatives? Keyword search can only identify one word so I guess it doesn't fit.
Keyword search can identify many words. You can create a file with a list of commands one per line and specify the file path instead of key phrase as an argument to keyword search. It will search for multiple phrases then.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a small number of commands (each command is one word, total of just 3 commands).
Using grammar with those 3 words doesn't work well as it detects garbage as one of the words.
I've looked at the forum and saw that currently there is no way to filter garbage in grammar search.
What are the alternatives? Keyword search can only identify one word so I guess it doesn't fit.
Keyword search can identify many words. You can create a file with a list of commands one per line and specify the file path instead of key phrase as an argument to keyword search. It will search for multiple phrases then.
Good to know, thanks!