0
$\begingroup$

Rosanswers logo

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


Originally posted by ahmad on ROS Answers with karma: 1 on 2017-03-09

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You will need to prepare a dictionary and a keyword-list for those specific words.
Sample files for the same can be found:
https://github.com/Pankaj-Baranwal/pocketsphinx/tree/kinetic-devel/demo

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:
https://medium.com/@PankajB96/automatic-tuning-of-keyword-spotting-thresholds-a27256869d31


Originally posted by PankajBaranwal with karma: 96 on 2017-11-29

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.