SYMBOL INDEX (345 symbols across 25 files) FILE: examples/audio.py class MicAudio (line 18) | class MicAudio(object): method __init__ (line 29) | def __init__(self, callback=None, buffer_s=0, flush_queue=True, start=... method _connect (line 46) | def _connect(self, start=None): method _reader_thread (line 76) | def _reader_thread(self, callback): method destroy (line 87) | def destroy(self): method reconnect (line 90) | def reconnect(self): method start (line 104) | def start(self): method stop (line 107) | def stop(self): method read (line 110) | def read(self, nowait=False): method read_loop (line 123) | def read_loop(self, callback): method iter (line 128) | def iter(self, nowait=False): method __iter__ (line 136) | def __iter__(self): method get_wav_length_s (line 140) | def get_wav_length_s(self, data): method write_wav (line 147) | def write_wav(self, filename, data): method print_list (line 159) | def print_list(): class VADAudio (line 187) | class VADAudio(MicAudio): method __init__ (line 190) | def __init__(self, aggressiveness=3, **kwargs): method vad_collector (line 194) | def vad_collector(self, start_window_ms=150, start_padding_ms=100, method debug_print_simple (line 274) | def debug_print_simple(self): method debug_loop (line 280) | def debug_loop(self, *args, **kwargs): FILE: examples/util.py function initialize (line 5) | def initialize(model_dir=None, tmp_dir=None, config={}): function do_recognition (line 10) | def do_recognition(compiler, decoder, print_partial=True, cap_dictation=... FILE: kaldi_active_grammar/__init__.py class KaldiError (line 17) | class KaldiError(Exception): FILE: kaldi_active_grammar/__main__.py function main (line 16) | def main(): FILE: kaldi_active_grammar/compiler.py class KaldiRule (line 26) | class KaldiRule(object): method __init__ (line 30) | def __init__(self, compiler, name, nonterm=True, has_dictation=None, i... method __repr__ (line 60) | def __repr__(self): method filepath (line 73) | def filepath(self): method compile (line 78) | def compile(self, lazy=False, duplicate=None): method finish_compile (line 116) | def finish_compile(self): method load (line 151) | def load(self, lazy=False): method _do_reloading (line 173) | def _do_reloading(self): method reload (line 183) | def reload(self): method destroy (line 205) | def destroy(self): class Compiler (line 234) | class Compiler(object): method __init__ (line 236) | def __init__(self, model_dir=None, tmp_dir=None, alternative_dictation... method init_decoder (line 290) | def init_decoder(self, config=None, dictation_fst_file=None): method alloc_rule_id (line 319) | def alloc_rule_id(self): method free_rule_id (line 324) | def free_rule_id(self): method add_word (line 333) | def add_word(self, word, phones=None, lazy_compilation=False, allow_on... method prepare_for_compilation (line 338) | def prepare_for_compilation(self): method _compile_laf_graph (line 349) | def _compile_laf_graph(self, input_text=None, input_filename=None, out... method _init_agf_compiler (line 367) | def _init_agf_compiler(self): method _compile_agf_graph (line 379) | def _compile_agf_graph(self, compile=False, nonterm=False, simplify_lg... method compile_plain_dictation_fst (line 476) | def compile_plain_dictation_fst(self, g_filename=None, output_filename... method compile_agf_dictation_fst (line 487) | def compile_agf_dictation_fst(self, g_filename=None): method compile_top_fst (line 506) | def compile_top_fst(self): method compile_top_fst_dictation_only (line 509) | def compile_top_fst_dictation_only(self): method _build_top_fst (line 512) | def _build_top_fst(self, nonterms, noise_words): method _get_dictation_fst_filepath (line 534) | def _get_dictation_fst_filepath(self): method compile_universal_grammar (line 560) | def compile_universal_grammar(self, words=None): method process_compile_and_load_queues (line 574) | def process_compile_and_load_queues(self): method prepare_for_recognition (line 623) | def prepare_for_recognition(self): method parse_output_for_rule (line 637) | def parse_output_for_rule(self, kaldi_rule, output): method parse_output (line 651) | def parse_output(self, output, dictation_info_func=None): method parse_partial_output (line 722) | def parse_partial_output(self, output): function remove_words_in_words (line 751) | def remove_words_in_words(words, remove_words_func): function remove_words_in_text (line 754) | def remove_words_in_text(text, remove_words_func): function remove_nonterms_in_words (line 757) | def remove_nonterms_in_words(words): function remove_nonterms_in_text (line 760) | def remove_nonterms_in_text(text): function run_subprocess (line 763) | def run_subprocess(cmd, format_kwargs, description=None, format_kwargs_u... FILE: kaldi_active_grammar/ffi.py function encode (line 21) | def encode(text): function decode (line 24) | def decode(binary): class FFIObject (line 28) | class FFIObject(object): method __init__ (line 30) | def __init__(self): method init_ffi (line 34) | def init_ffi(cls): method _init_ffi (line 38) | def _init_ffi(cls): FILE: kaldi_active_grammar/kaldi/augment_phones_txt.py function get_args (line 9) | def get_args(): function read_phones_txt (line 27) | def read_phones_txt(filename): function read_nonterminals (line 57) | def read_nonterminals(filename): function write_phones_txt (line 73) | def write_phones_txt(orig_lines, highest_numbered_symbol, nonterminals, ... function main (line 88) | def main(): FILE: kaldi_active_grammar/kaldi/augment_phones_txt_py2.py function get_args (line 10) | def get_args(): function read_phones_txt (line 28) | def read_phones_txt(filename): function read_nonterminals (line 58) | def read_nonterminals(filename): function write_phones_txt (line 74) | def write_phones_txt(orig_lines, highest_numbered_symbol, nonterminals, ... function main (line 89) | def main(): FILE: kaldi_active_grammar/kaldi/augment_words_txt.py function get_args (line 9) | def get_args(): function read_words_txt (line 28) | def read_words_txt(filename): function read_nonterminals (line 58) | def read_nonterminals(filename): function write_words_txt (line 74) | def write_words_txt(orig_lines, highest_numbered_symbol, nonterminals, f... function main (line 88) | def main(): FILE: kaldi_active_grammar/kaldi/augment_words_txt_py2.py function get_args (line 10) | def get_args(): function read_words_txt (line 29) | def read_words_txt(filename): function read_nonterminals (line 59) | def read_nonterminals(filename): function write_words_txt (line 75) | def write_words_txt(orig_lines, highest_numbered_symbol, nonterminals, f... function main (line 89) | def main(): FILE: kaldi_active_grammar/kaldi/make_lexicon_fst.py function get_args (line 21) | def get_args(): function read_lexiconp (line 60) | def read_lexiconp(filename): function write_nonterminal_arcs (line 119) | def write_nonterminal_arcs(start_state, loop_state, next_state, function write_fst_no_silence (line 173) | def write_fst_no_silence(lexicon, nonterminals=None, left_context_phones... function write_fst_with_silence (line 220) | def write_fst_with_silence(lexicon, sil_prob, sil_phone, sil_disambig, function write_words_txt (line 308) | def write_words_txt(orig_lines, highest_numbered_symbol, nonterminals, f... function read_nonterminals (line 322) | def read_nonterminals(filename): function read_left_context_phones (line 338) | def read_left_context_phones(filename): function is_token (line 354) | def is_token(s): function main (line 363) | def main(args=None): FILE: kaldi_active_grammar/kaldi/make_lexicon_fst_py2.py function get_args (line 22) | def get_args(): function read_lexiconp (line 61) | def read_lexiconp(filename): function write_nonterminal_arcs (line 120) | def write_nonterminal_arcs(start_state, loop_state, next_state, function write_fst_no_silence (line 174) | def write_fst_no_silence(lexicon, nonterminals=None, left_context_phones... function write_fst_with_silence (line 221) | def write_fst_with_silence(lexicon, sil_prob, sil_phone, sil_disambig, function write_words_txt (line 309) | def write_words_txt(orig_lines, highest_numbered_symbol, nonterminals, f... function read_nonterminals (line 323) | def read_nonterminals(filename): function read_left_context_phones (line 339) | def read_left_context_phones(filename): function is_token (line 355) | def is_token(s): function main (line 364) | def main(args=None): FILE: kaldi_active_grammar/model.py class Lexicon (line 24) | class Lexicon(object): method __init__ (line 26) | def __init__(self, phones): method phones_cmu_to_xsampa_generic (line 78) | def phones_cmu_to_xsampa_generic(cls, phones, lexicon_phones=None): method phones_cmu_to_xsampa (line 101) | def phones_cmu_to_xsampa(self, phones): method make_position_dependent (line 105) | def make_position_dependent(cls, phones): method make_position_independent (line 111) | def make_position_independent(cls, phones): method generate_pronunciations_cmu_online (line 115) | def generate_pronunciations_cmu_online(cls, word): method attempt_load_g2p_en (line 144) | def attempt_load_g2p_en(cls, model_dir=None): method generate_pronunciations_g2p_en (line 158) | def generate_pronunciations_g2p_en(cls, word): method generate_pronunciations (line 168) | def generate_pronunciations(cls, word, model_dir=None, allow_online_pr... class Model (line 181) | class Model(object): method __init__ (line 182) | def __init__(self, model_dir=None, tmp_dir=None, tmp_dir_needed=False): method load_words (line 258) | def load_words(self, words_file=None): method read_user_lexicon (line 266) | def read_user_lexicon(self, filename=None): method write_user_lexicon (line 275) | def write_user_lexicon(self, entries, filename=None): method add_word (line 281) | def add_word(self, word, phones=None, lazy_compilation=False, allow_on... method create_missing_files (line 317) | def create_missing_files(self): method check_user_lexicon (line 329) | def check_user_lexicon(self): method generate_lexicon_files (line 343) | def generate_lexicon_files(self): method reset_user_lexicon (line 424) | def reset_user_lexicon(self): method generate_words_relabeled_file (line 429) | def generate_words_relabeled_file(words_filename, relabel_filename, wo... function convert_generic_model_to_agf (line 448) | def convert_generic_model_to_agf(src_dir, model_dir): function str_space_join (line 509) | def str_space_join(iterable): function base_filepath (line 512) | def base_filepath(filepath): function verify_files_exist (line 516) | def verify_files_exist(*filenames): FILE: kaldi_active_grammar/plain_dictation.py class PlainDictationRecognizer (line 16) | class PlainDictationRecognizer(object): method __init__ (line 18) | def __init__(self, model_dir=None, tmp_dir=None, fst_file=None, config... method decode_utterance (line 47) | def decode_utterance(self, samples_data, chunk_size=None): FILE: kaldi_active_grammar/utils.py function show_donation_message (line 29) | def show_donation_message(): function disable_donation_message (line 34) | def disable_donation_message(): class ThreadLocalData (line 43) | class ThreadLocalData(threading.local): method __init__ (line 44) | def __init__(self): function debug_timer (line 49) | def debug_timer(log, desc, enabled=True, independent=False): function clock (line 68) | def clock(): function clock (line 71) | def clock(): class ExternalProcess (line 86) | class ExternalProcess(object): method get_dict_formatter (line 101) | def get_dict_formatter(format_kwargs): method get_list_formatter (line 104) | def get_list_formatter(format_kwargs): method get_debug_stderr_kwargs (line 108) | def get_debug_stderr_kwargs(log): method execute_command_safely (line 112) | def execute_command_safely(commands, log): function lazy_readonly_property (line 127) | def lazy_readonly_property(func): class lazy_settable_property (line 140) | class lazy_settable_property(object): method __init__ (line 147) | def __init__(self, fget): method __get__ (line 152) | def __get__(self, obj, cls): function touch_file (line 162) | def touch_file(filename): function clear_file (line 166) | def clear_file(filename): function symbol_table_lookup (line 172) | def symbol_table_lookup(filename, input): function load_symbol_table (line 191) | def load_symbol_table(filename): function find_file (line 195) | def find_file(directory, filename, required=False, default=False): function is_file_up_to_date (line 212) | def is_file_up_to_date(filename, *parent_filenames): class FSTFileCache (line 222) | class FSTFileCache(object): method __init__ (line 224) | def __init__(self, cache_filename, tmp_dir=None, dependencies_dict=Non... method _load (line 271) | def _load(self): method save (line 279) | def save(self): method update_dependencies (line 285) | def update_dependencies(self): method invalidate (line 293) | def invalidate(self, filename=None): method hash_data (line 309) | def hash_data(self, data, mix_dependencies=False): method add_file (line 320) | def add_file(self, filepath, data=None): method contains (line 329) | def contains(self, filename, data): method file_is_current (line 332) | def file_is_current(self, filepath, data=None): method fst_is_current (line 344) | def fst_is_current(self, filepath, touch=True): FILE: kaldi_active_grammar/wfst.py class WFST (line 15) | class WFST(object): method __init__ (line 29) | def __init__(self): method clear (line 32) | def clear(self): method iter_arcs (line 42) | def iter_arcs(self): method is_state_final (line 45) | def is_state_final(self, state): method add_state (line 48) | def add_state(self, weight=None, initial=False, final=False): method add_arc (line 62) | def add_arc(self, src_state, dst_state, label, olabel=None, weight=None): method get_fst_text (line 71) | def get_fst_text(self, fst_cache, eps2disambig=False): method label_is_silent (line 93) | def label_is_silent(self, label): method scale_weights (line 96) | def scale_weights(self, factor): method normalize_weights (line 103) | def normalize_weights(self, stochasticity=False): method has_eps_path (line 112) | def has_eps_path(self, path_src_state, path_dst_state, eps_like_labels... method does_match (line 128) | def does_match(self, target_words, wildcard_nonterms=(), include_silen... class NativeWFST (line 157) | class NativeWFST(FFIObject): method init_class (line 189) | def init_class(cls, isymbol_table, wildcard_nonterms, osymbol_table=No... method __init__ (line 209) | def __init__(self): method _construct (line 213) | def _construct(self): method __del__ (line 223) | def __del__(self): method destruct (line 226) | def destruct(self): method compiled_native_obj (line 236) | def compiled_native_obj(self, value): method compiled_native_obj (line 240) | def compiled_native_obj(self): method clear (line 247) | def clear(self): method add_state (line 251) | def add_state(self, weight=None, initial=False, final=False): method add_arc (line 267) | def add_arc(self, src_state, dst_state, label, olabel=None, weight=None): method compute_hash (line 281) | def compute_hash(self, dependencies_seed_hash_str='0'*32): method has_path (line 292) | def has_path(self): method has_eps_path (line 297) | def has_eps_path(self, path_src_state, path_dst_state, eps_like_labels... method does_match (line 303) | def does_match(self, target_words, wildcard_nonterms=(), include_silen... method write_file (line 321) | def write_file(self, fst_filename): method write_file_const (line 326) | def write_file_const(self, fst_filename): method print (line 331) | def print(self, fst_filename=None): method load_file (line 337) | def load_file(cls, fst_filename): method compile_text (line 346) | def compile_text(cls, fst_text, isymbols_filename, osymbols_filename): class SymbolTable (line 357) | class SymbolTable(object): method __init__ (line 359) | def __init__(self, filename=None): method load_text_file (line 366) | def load_text_file(self, filename): method add_word (line 375) | def add_word(self, word, id=None): method __contains__ (line 386) | def __contains__(self, word): FILE: kaldi_active_grammar/wrapper.py class KaldiDecoderBase (line 29) | class KaldiDecoderBase(FFIObject): method __init__ (line 32) | def __init__(self): method _reset_decode_time (line 43) | def _reset_decode_time(self): method _start_decode_time (line 48) | def _start_decode_time(self, num_frames): method _stop_decode_time (line 52) | def _stop_decode_time(self, finalize=False): method kaldi_frame_num_to_audio_bytes (line 64) | def kaldi_frame_num_to_audio_bytes(self, kaldi_frame_num): method audio_bytes_to_s (line 69) | def audio_bytes_to_s(self, audio_bytes): class KaldiGmmDecoder (line 76) | class KaldiGmmDecoder(KaldiDecoderBase): method __init__ (line 86) | def __init__(self, graph_dir=None, words_file=None, graph_file=None, m... method decode (line 98) | def decode(self, frames, finalize, grammars_activity=None): method get_output (line 112) | def get_output(self, output_max_length=4*1024): class KaldiOtfGmmDecoder (line 125) | class KaldiOtfGmmDecoder(KaldiDecoderBase): method __init__ (line 138) | def __init__(self, graph_dir=None, words_file=None, model_conf_file=No... method add_grammar_fst (line 155) | def add_grammar_fst(self, grammar_fst_file): method decode (line 163) | def decode(self, frames, finalize, grammars_activity=None): method get_output (line 185) | def get_output(self, output_max_length=4*1024): class KaldiNNet3Decoder (line 198) | class KaldiNNet3Decoder(KaldiDecoderBase): method __init__ (line 212) | def __init__(self, model_dir, tmp_dir, words_file=None, word_align_lex... method _read_ie_conf_file (line 242) | def _read_ie_conf_file(self, model_dir, old_filename, search=True): method saving_adaptation_state (line 284) | def saving_adaptation_state(self, value): self._saving_adaptation_stat... method load_lexicon (line 286) | def load_lexicon(self, words_file=None, word_align_lexicon_file=None): method save_adaptation_state (line 294) | def save_adaptation_state(self): method reset_adaptation_state (line 299) | def reset_adaptation_state(self): method get_output (line 304) | def get_output(self, output_max_length=4*1024): method get_word_align (line 325) | def get_word_align(self, output): method set_lm_prime_text (line 338) | def set_lm_prime_text(self, prime_text): class KaldiPlainNNet3Decoder (line 347) | class KaldiPlainNNet3Decoder(KaldiNNet3Decoder): method __init__ (line 356) | def __init__(self, fst_file=None, config=None, **kwargs): method destroy (line 371) | def destroy(self): method decode (line 378) | def decode(self, frames, finalize): class KaldiAgfNNet3Decoder (line 396) | class KaldiAgfNNet3Decoder(KaldiNNet3Decoder): method __init__ (line 411) | def __init__(self, *, top_fst=None, dictation_fst_file=None, config=No... method destroy (line 441) | def destroy(self): method add_grammar_fst (line 448) | def add_grammar_fst(self, grammar_fst): method reload_grammar_fst (line 461) | def reload_grammar_fst(self, grammar_fst_index, grammar_fst): method remove_grammar_fst (line 471) | def remove_grammar_fst(self, grammar_fst_index): method decode (line 478) | def decode(self, frames, finalize, grammars_activity=None): class KaldiAgfCompiler (line 507) | class KaldiAgfCompiler(FFIObject): method __init__ (line 517) | def __init__(self, config): method destroy (line 522) | def destroy(self): method compile_graph (line 529) | def compile_graph(self, config, grammar_fst=None, grammar_fst_text=Non... class KaldiLafNNet3Decoder (line 548) | class KaldiLafNNet3Decoder(KaldiNNet3Decoder): method __init__ (line 562) | def __init__(self, dictation_fst_file=None, config=None, **kwargs): method destroy (line 579) | def destroy(self): method add_grammar_fst (line 586) | def add_grammar_fst(self, grammar_fst): method add_grammar_fst_text (line 595) | def add_grammar_fst_text(self, grammar_fst_text): method reload_grammar_fst (line 605) | def reload_grammar_fst(self, grammar_fst_index, grammar_fst): method remove_grammar_fst (line 611) | def remove_grammar_fst(self, grammar_fst_index): method decode (line 618) | def decode(self, frames, finalize, grammars_activity=None): class KaldiModelBuildUtils (line 647) | class KaldiModelBuildUtils(FFIObject): method build_L_disambig (line 654) | def build_L_disambig(cls, lexicon_fst_text_bytes, phones_file, words_f... method make_lexicon_fst (line 660) | def make_lexicon_fst(**kwargs): FILE: setup.py class bdist_wheel_impure (line 31) | class bdist_wheel_impure(bdist_wheel): method finalize_options (line 33) | def finalize_options(self): method get_tag (line 38) | def get_tag(self): class install_platlib (line 49) | class install_platlib(install): method finalize_options (line 50) | def finalize_options(self): function read (line 58) | def read(*parts): function find_version (line 62) | def find_version(*file_paths): FILE: tests/conftest.py function change_to_test_dir (line 10) | def change_to_test_dir(monkeypatch): function get_piper_model_path (line 13) | def get_piper_model_path(): function piper_voice (line 24) | def piper_voice(): function audio_generator (line 30) | def audio_generator(piper_voice): FILE: tests/generate_google_tts.py function generate (line 19) | def generate(text, out=None, voice="en-US-Studio-Q", lang="en-US", forma... function list_voices (line 39) | def list_voices(): FILE: tests/helpers.py function assert_info_shape (line 10) | def assert_info_shape(info): function play_audio_on_windows (line 16) | def play_audio_on_windows(audio_bytes: bytes, sample_rate: int = 16000): FILE: tests/run_each_test_separately.py function collect_nodeids (line 8) | def collect_nodeids(extra): function main (line 20) | def main(): FILE: tests/test_grammar.py class TestGrammar (line 10) | class TestGrammar: method setup (line 13) | def setup(self, change_to_test_dir, audio_generator): method make_rule (line 18) | def make_rule(self, name: str, build_func: Callable[[Union[NativeWFST,... method decode (line 29) | def decode(self, text_or_audio: Union[str, bytes], kaldi_rules_activit... method test_simple_rule (line 60) | def test_simple_rule(self): method test_epsilon_transition (line 68) | def test_epsilon_transition(self): method test_multiple_paths (line 79) | def test_multiple_paths(self): method test_multiple_paths_hi (line 92) | def test_multiple_paths_hi(self): method test_sequential_chain (line 103) | def test_sequential_chain(self): method test_diamond_pattern (line 118) | def test_diamond_pattern(self): method test_diamond_pattern_alt (line 140) | def test_diamond_pattern_alt(self): method test_self_loop (line 157) | def test_self_loop(self): method test_optional_path_with_epsilon (line 170) | def test_optional_path_with_epsilon(self): method test_complex_branching (line 186) | def test_complex_branching(self): method test_complex_branching_alt1 (line 211) | def test_complex_branching_alt1(self): method test_complex_branching_alt2 (line 231) | def test_complex_branching_alt2(self): method test_multiple_epsilon_transitions (line 251) | def test_multiple_epsilon_transitions(self): method test_weighted_alternatives (line 267) | def test_weighted_alternatives(self): method test_parallel_sequences (line 279) | def test_parallel_sequences(self): method test_parallel_sequences_alt (line 299) | def test_parallel_sequences_alt(self): method test_nested_loops (line 316) | def test_nested_loops(self): method test_multiple_entry_points (line 334) | def test_multiple_entry_points(self): method test_cascade_pattern (line 356) | def test_cascade_pattern(self): method test_backtracking_pattern (line 381) | def test_backtracking_pattern(self): method test_very_long_sequence (line 401) | def test_very_long_sequence(self): method test_hub_and_spoke (line 411) | def test_hub_and_spoke(self): method test_rule_with_dictation (line 441) | def test_rule_with_dictation(self, dictation_words, expected_mask): method test_no_rules (line 459) | def test_no_rules(self): method test_no_active_rules (line 463) | def test_no_active_rules(self): method test_garbage_audio (line 472) | def test_garbage_audio(self): method test_empty_audio (line 485) | def test_empty_audio(self): method test_very_short_audio (line 494) | def test_very_short_audio(self): method test_multiple_utterances_sequence (line 503) | def test_multiple_utterances_sequence(self): class TestAlternativeDictation (line 517) | class TestAlternativeDictation: method setup (line 521) | def setup(self, change_to_test_dir, audio_generator): method compiler_with_mock (line 526) | def compiler_with_mock(self): method create_mock_rule (line 533) | def create_mock_rule(self, compiler, has_dictation=True): method parse_with_dictation_info (line 537) | def parse_with_dictation_info(self, compiler, output_text, audio_data,... method test_alternative_dictation_callable_check (line 543) | def test_alternative_dictation_callable_check(self): method test_alternative_dictation_not_called_without_dictation (line 551) | def test_alternative_dictation_not_called_without_dictation(self, comp... method test_alternative_dictation_integration_full_decode (line 571) | def test_alternative_dictation_integration_full_decode(self, change_to... method test_alternative_dictation_not_called_without_cloud_nonterm (line 651) | def test_alternative_dictation_not_called_without_cloud_nonterm(self, ... method test_alternative_dictation_word_align_parsing (line 671) | def test_alternative_dictation_word_align_parsing(self, compiler_with_... method test_alternative_dictation_span_calculation (line 721) | def test_alternative_dictation_span_calculation(self, compiler_with_mo... method test_alternative_dictation_multiple_spans (line 731) | def test_alternative_dictation_multiple_spans(self): method test_alternative_dictation_fallback (line 765) | def test_alternative_dictation_fallback(self, alternative_func, expect... method test_alternative_dictation_exception_handling (line 785) | def test_alternative_dictation_exception_handling(self): method test_alternative_dictation_invalid_type_raises (line 806) | def test_alternative_dictation_invalid_type_raises(self): method test_alternative_dictation_audio_slice_accuracy (line 824) | def test_alternative_dictation_audio_slice_accuracy(self): FILE: tests/test_package.py function test_import_and_version (line 4) | def test_import_and_version(): FILE: tests/test_plain_dictation.py function recognizer (line 12) | def recognizer(change_to_test_dir): function test_initialization (line 16) | def test_initialization(recognizer): function test_basic_dictation (line 30) | def test_basic_dictation(recognizer, audio_generator, test_text): function test_empty_audio (line 38) | def test_empty_audio(recognizer): function test_garbage_audio (line 45) | def test_garbage_audio(recognizer): function test_multiple_utterances (line 54) | def test_multiple_utterances(recognizer, audio_generator): class TestPlainDictationWithFST (line 68) | class TestPlainDictationWithFST: method setup (line 72) | def setup(self, change_to_test_dir): method test_initialization (line 80) | def test_initialization(self): method test_basic_dictation (line 87) | def test_basic_dictation(self, audio_generator): function test_chunked_decode (line 103) | def test_chunked_decode(recognizer, audio_generator, chunk_size, test_te... function test_custom_tmp_dir (line 111) | def test_custom_tmp_dir(change_to_test_dir, audio_generator, tmp_path): function test_custom_config (line 121) | def test_custom_config(change_to_test_dir, audio_generator): function test_very_short_audio (line 135) | def test_very_short_audio(recognizer, audio_generator): function test_very_long_audio (line 143) | def test_very_long_audio(recognizer, audio_generator): function test_repeated_words (line 156) | def test_repeated_words(recognizer, audio_generator): function test_sequential_empty_audio (line 164) | def test_sequential_empty_audio(recognizer): function test_alternating_empty_and_valid (line 172) | def test_alternating_empty_and_valid(recognizer, audio_generator): function test_info_structure (line 189) | def test_info_structure(recognizer, audio_generator): function test_info_consistency (line 200) | def test_info_consistency(change_to_test_dir, audio_generator):