Home
last modified time | relevance | path

Searched refs:keyword_entries (Results 1 – 5 of 5) sorted by relevance

/dports/audio/py-speechrecognition/speech_recognition-3.8.1/tests/
H A Dtest_special_features.py17 …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 Dspecial_recognizer_features.py19 … 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 Dyaml_parser_base.cpp320 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__.py709 …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 Dlibrary-reference.rst181 …nce.recognize_sphinx(audio_data: AudioData, language: str = "en-US", keyword_entries: Union[Iterab…
188keyword_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,…