Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

fix: stop removing "Ha" as an English filler word (#2156)

Aktan Azat8ef8dd4347c0
diff --git a/src-tauri/src/audio_toolkit/text.rs b/src-tauri/src/audio_toolkit/text.rs
index 82d45b5a..5224814d 100644
--- a/src-tauri/src/audio_toolkit/text.rs
+++ b/src-tauri/src/audio_toolkit/text.rs
@@ -313,7 +313,7 @@ fn gated_filler_words_for_language(lang: &str) -> &'static [&'static str] {
let base_lang = lang.split(&['-', '_'][..]).next().unwrap_or(lang);
match base_lang {
- "en" => &["um", "ah", "eh", "ha"],
+ "en" => &["um", "ah", "eh"],
"de" => &["äh", "ähm"],
"fr" => &["euh"],
_ => &[],