ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

my words are not recognized correctly by pocketsphinx except few words like move and back. can you please tell me how can i recognize perfectly in short time for moving turtlebot

asked 2017-03-09 13:09:20 -0500

ahmad gravatar image

i have read cmusphinx for training my own language model. But i am failed to search the proper steps i should follow or commands. i just want to give it four commands back, forward, left, right for moving base

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-11-29 08:31:19 -0500

PankajBaranwal gravatar image

You will need to prepare a dictionary and a keyword-list for those specific words.
Sample files for the same can be found:

The .dic files contain the words along with there phonetic transforms.
The .kwlist files contain the words along with their thresholds which can lie between -50 to +50. If it is too low, then the detection might contain way too many false alarms and thus give undesirable results. If it is too high, the engine might miss the detection for many utterances of the corresponding key-phrases.
You can use the script mentioned here to automate these setting up of these threshold values:

edit flag offensive delete link more

Question Tools


Asked: 2017-03-09 13:09:20 -0500

Seen: 757 times

Last updated: Nov 29 '17