Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Picovoice/speech-to-text-benchmark
/ functions
Functions
247 in github.com/Picovoice/speech-to-text-benchmark
⨍
Functions
247
◇
Types & classes
61
↓ 26 callers
Method
__init__
(self, cache_extension: str, model: str, language: Languages)
engine.py:1028
↓ 18 callers
Function
_plot_error_rate
( engine_error_rate: Dict[Engines, Dict[Datasets, float]], save_path: str, streaming: bool, sh
plot_results.py:96
↓ 10 callers
Method
get
(self, index: int)
dataset.py:42
↓ 9 callers
Method
normalize
(self, sentence: str, raise_error_on_invalid_sentence: bool)
normalizer.py:17
↓ 8 callers
Function
rgb_from_hex
(x: str)
plot_results.py:22
↓ 7 callers
Method
__init__
(self, language: Languages, punctuation: bool, dataset_name: str)
dataset.py:30
↓ 7 callers
Method
create
(cls, x: Metrics)
metric.py:26
↓ 4 callers
Method
transcribe
(self, path: str)
engine.py:123
↓ 3 callers
Method
_parse_words
(self, event)
engine.py:1540
↓ 3 callers
Method
delete
(self)
engine.py:132
↓ 3 callers
Method
get_chunk_size_bytes
(self)
engine.py:245
↓ 3 callers
Method
load_pcm
(self, path: str)
engine.py:239
↓ 3 callers
Method
stop
(self)
engine.py:920
↓ 2 callers
Method
_get_punctuation_indices
(tokens: Sequence[str], punctuation: str)
metric.py:50
↓ 2 callers
Method
_recognize_helper
(self, evt: SpeechRecognitionEventArgs)
engine.py:657
↓ 2 callers
Method
_update_current_line
(self, changed_words)
engine.py:1553
↓ 2 callers
Method
_update_timings
(new_words: Sequence[str], time: float, emitted_words: List[str], receive_timings: List[float])
engine.py:1368
↓ 2 callers
Method
create
(cls, x: Engines, language: Languages, **kwargs)
engine.py:139
↓ 2 callers
Method
measure_word_latency
( self, path: str, alignments: Optional[Sequence[Tuple[float, float]]] )
engine.py:224
↓ 2 callers
Method
normalize_abbreviations
(sentence: str)
normalizer.py:212
↓ 2 callers
Method
size
(self)
dataset.py:39
↓ 2 callers
Method
to_american
(sentence: str)
normalizer.py:203
↓ 1 callers
Method
_backtrack
( dp: NDArray, reference: Sequence[str], prediction: Sequence[str], reference_
metric.py:71
↓ 1 callers
Method
_compute_backpointers
( dp: Sequence[Sequence[int]], row: int, col: int, ref_words: Sequence[str], pred_words: Sequence[str]
benchmark_latency.py:80
↓ 1 callers
Method
_compute_dp_matrix
(reference: Sequence[str], prediction: Sequence[str])
metric.py:54
↓ 1 callers
Method
_compute_edit_distance_matrix
( reference_words: Sequence[str], predicted_words: Sequence[str] )
benchmark_latency.py:55
↓ 1 callers
Method
_load_data
(folder: str, normalizer: Normalizer)
dataset.py:379
↓ 1 callers
Method
_load_punctuation_data
(folder: str, normalizer: Normalizer)
dataset.py:418
↓ 1 callers
Method
_measure_word_latency
( self, path: str, alignments: Optional[Sequence[Tuple[float, float]]] )
engine.py:219
↓ 1 callers
Method
_measure_word_latency_async
( self, path: str, alignments: Optional[Sequence[Tuple[float, float]]] )
engine.py:214
↓ 1 callers
Function
_plot_cpu
(save_folder: str, show: bool, dataset: Datasets = Datasets.TED_LIUM)
plot_results.py:155
↓ 1 callers
Function
_plot_error_rate_core_hour_grid
(save_folder: str, show: bool)
plot_results.py:395
↓ 1 callers
Function
_plot_error_rate_latency_grid
(save_folder: str, show: bool)
plot_results.py:260
↓ 1 callers
Function
_plot_error_rate_size_grid
(save_folder: str, show: bool)
plot_results.py:332
↓ 1 callers
Function
_plot_latency
(save_folder: str, show: bool, dataset: Datasets = Datasets.LIBRI_SPEECH_TEST_CLEAN)
plot_results.py:208
↓ 1 callers
Method
_process_result
(self, result)
engine.py:933
↓ 1 callers
Method
_remove_symbols_and_diacritics
(self, s: str)
normalizer.py:66
↓ 1 callers
Method
_word_similarity
(word1: str, word2: str)
benchmark_latency.py:106
↓ 1 callers
Method
align_timings
( self, ref_timings: Sequence[float], pred_timings: Sequence[float], aligned_words: Sequence[Tuple[str
benchmark_latency.py:146
↓ 1 callers
Method
align_words
( self, ref_words: Sequence[str], pred_words: Sequence[str], max_errors_skip_threshold: int = 20 )
benchmark_latency.py:109
↓ 1 callers
Method
audio_sec
(self)
engine.py:126
↓ 1 callers
Method
calculate
(self, prediction: str, reference: str)
metric.py:22
↓ 1 callers
Function
download_language
(language: Languages, download_folder: str)
script/download_fleurs.py:19
↓ 1 callers
Function
generate_alignments
(indices: Sequence[int], dataset: Dataset, output_folder: str, num_workers: int)
script/generate_alignments.py:79
↓ 1 callers
Method
get_chunk_size_ms
(self)
engine.py:236
↓ 1 callers
Function
load_alignment_data
(dataset_folder: str)
benchmark_latency.py:34
↓ 1 callers
Function
main
()
benchmark.py:98
↓ 1 callers
Function
main
()
benchmark_latency.py:203
↓ 1 callers
Function
main
()
plot_results.py:458
↓ 1 callers
Function
main
()
script/download_fleurs.py:40
↓ 1 callers
Function
parse_textgrid
(textgrid_file: str)
script/generate_alignments.py:42
↓ 1 callers
Function
prepare_mfa_inputs
(indices: Sequence[int], dataset: Dataset, corpus_folder: str)
script/generate_alignments.py:14
↓ 1 callers
Method
process_sec
(self)
engine.py:129
↓ 1 callers
Function
run_mfa_alignment
(corpus_folder: str, work_folder: str, num_workers: int)
script/generate_alignments.py:25
↓ 1 callers
Method
stream_generator
(self)
engine.py:897
Method
__init__
(self, folder: str, language: Languages, punctuation: bool, normalizer: Normalizer)
dataset.py:88
Method
__init__
( self, folder: str, language: Languages, punctuation: bool, normalize
dataset.py:139
Method
__init__
( self, folder: str, language: Languages, punctuation: bool, normalize
dataset.py:179
Method
__init__
( self, folder: str, language: Languages, punctuation: bool, normalizer: Normalizer, split_audio: bool
dataset.py:196
Method
__init__
(self, folder: str, language: Languages, punctuation: bool, normalizer: Normalizer)
dataset.py:312
Method
__init__
(self, folder: str, language: Languages, punctuation: bool, normalizer: Normalizer)
dataset.py:368
Method
__init__
(self, folder: str, language: Languages, punctuation: bool, normalizer: Normalizer)
dataset.py:483
Method
__init__
(self, keep_punctuation: bool, punctuation_set: str = SUPPORTED_PUNCTUATION_SET)
normalizer.py:13
Method
__init__
(self, language: Languages, aws_location: str = "us-west-2")
engine.py:251
Method
__init__
( self, language: Languages, apply_delay: bool, ignore_punctuation: bool,
engine.py:324
Method
__init__
(self, transcript_result_stream: TranscriptResultStream, ignore_punctuation: bool)
engine.py:417
Method
__init__
( self, azure_speech_key: str, azure_speech_location: str, language: Languages
engine.py:459
Method
__init__
( self, language: Languages, apply_delay: bool, ignore_punctuation: bool,
engine.py:539
Method
__init__
(self, ignore_punctuation: bool)
engine.py:648
Method
__init__
( self, language: Languages, cache_extension: str = ".ggl", model: Optional[st
engine.py:700
Method
__init__
(self, language: Languages)
engine.py:755
Method
__init__
( self, language: Languages, apply_delay: bool, ignore_punctuation: bool,
engine.py:765
Method
__init__
( self, language: Languages, apply_delay: bool, ignore_punctuation: bool,
engine.py:857
Method
__init__
( self, pcm: ByteString, word_timings: Sequence[float], chunk_size_bytes: int,
engine.py:880
Method
__init__
(self, ignore_punctuation: bool)
engine.py:925
Method
__init__
( self, watson_speech_to_text_api_key: str, watson_speech_to_text_url: str, la
engine.py:968
Method
__init__
(self, language: Languages)
engine.py:1069
Method
__init__
(self, language: Languages)
engine.py:1078
Method
__init__
(self, language: Languages)
engine.py:1087
Method
__init__
(self, language: Languages)
engine.py:1096
Method
__init__
(self, language: Languages)
engine.py:1105
Method
__init__
(self, language: Languages)
engine.py:1113
Method
__init__
(self, language: Languages)
engine.py:1121
Method
__init__
(self, language: Languages)
engine.py:1129
Method
__init__
( self, model_name: str, language: Languages, cache_extension: str, ch
engine.py:1149
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1257
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1268
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1279
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1290
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1301
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1311
Method
__init__
(self, model_name: str, cache_extension: str, chunk_size_ms: Optional[int] = None)
engine.py:1321
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1439
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[int] = None, **kwargs)
engine.py:1449
Method
__init__
( self, cache_extension: str, model: ModelArch, chunk_size_ms: Optional[float]
engine.py:1461
Method
__init__
(self, ignore_punctuation: bool = True)
engine.py:1534
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[float] = None, **kwargs)
engine.py:1618
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[float] = None, **kwargs)
engine.py:1628
Method
__init__
(self, language: Languages, chunk_size_ms: Optional[float] = None, **kwargs)
engine.py:1640
Method
__init__
( self, access_key: str, model_path: Optional[str], library_path: Optional[str
engine.py:1652
next →
1–100 of 247, ranked by callers