Searched refs:keyword_entries (Results 1 – 5 of 5) sorted by relevance
/dports/audio/py-speechrecognition/speech_recognition-3.8.1/tests/ |
H A D | test_special_features.py | 17 …self.assertEqual(r.recognize_sphinx(audio, keyword_entries=[("one", 1.0), ("two", 1.0), ("three", … 18 …self.assertEqual(r.recognize_sphinx(audio, keyword_entries=[("wan", 0.95), ("too", 1.0), ("tree", … 19 …self.assertEqual(r.recognize_sphinx(audio, keyword_entries=[("un", 0.95), ("to", 1.0), ("tee", 1.0…
|
/dports/audio/py-speechrecognition/speech_recognition-3.8.1/examples/ |
H A D | special_recognizer_features.py | 19 … print(r.recognize_sphinx(audio_en, keyword_entries=[("one", 1.0), ("two", 1.0), ("three", 1.0)])) 20 … print(r.recognize_sphinx(audio_en, keyword_entries=[("wan", 0.95), ("too", 1.0), ("tree", 1.0)])) 21 print(r.recognize_sphinx(audio_en, keyword_entries=[("un", 0.95), ("to", 1.0), ("tee", 1.0)]))
|
/dports/devel/liborcus/liborcus-0.16.1/src/parser/ |
H A D | yaml_parser_base.cpp | 320 mdds::sorted_string_map<detail::keyword_t>::entry keyword_entries[] = { variable 369 keyword_entries, in parse_keyword() 370 ORCUS_N_ELEMENTS(keyword_entries), in parse_keyword()
|
/dports/audio/py-speechrecognition/speech_recognition-3.8.1/speech_recognition/ |
H A D | __init__.py | 709 …def recognize_sphinx(self, audio_data, language="en-US", keyword_entries=None, grammar=None, show_… argument 725 …sert keyword_entries is None or all(isinstance(keyword, (type(""), type(u""))) and 0 <= sensitivit… 766 if keyword_entries is not None: # explicitly specified set of keywords 769 …"{} /1e{}/\n".format(keyword, 100 * sensitivity - 110) for keyword, sensitivity in keyword_entries)
|
/dports/audio/py-speechrecognition/speech_recognition-3.8.1/reference/ |
H A D | library-reference.rst | 181 …nce.recognize_sphinx(audio_data: AudioData, language: str = "en-US", keyword_entries: Union[Iterab… 188 …keyword_entries``, an iterable of tuples of the form ``(keyword, sensitivity)``, where ``keyword``… 190 …ted at the same location to speed up execution in the next run. If ``keyword_entries`` are passed,…
|