如何让 pocketsphinx 忽略字典中不存在的单词

How to make pocketsphinx ignore words that are not present in the dictionary

我有一个需要识别的关键字列表,但有些词不是 "real words"(例如 abracadabra),而且很明显它们不在字典中。

我的问题是如何忽略它们? (pocketsphinx returns 一个错误并停止)。我阅读了 pocketsphinx_continuous 的手册,但没有找到合适的参数。

在关键短语中使用单词之前,检查它是否在字典中 ps_lookup_word