Handy/src-tauri
Stefano Verna 7703d10f5f
feat(text): Add n-gram matching for multi-word custom word correction (#711)
* feat(text): Add n-gram matching for multi-word custom word correction

Improves custom word matching to handle speech artifacts where a single
word gets transcribed as multiple words (e.g., "Charge B" -> "ChargeBee",
"Chat G P T" -> "ChatGPT").

- Implements greedy n-gram matching (3 to 1 words) for better accuracy
- Adds length-based filtering (25% max difference) to prevent over-matching
- Extracts matching logic into reusable find_best_match function
- Preserves punctuation and case from original transcription
- Adds comprehensive test coverage for n-gram scenarios

* minor tweak

* format

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2026-02-05 18:29:25 +08:00
..
capabilities Fix audio playback in History tab on Linux (#617) 2026-01-19 12:44:50 +08:00
gen/apple more wip but roughly is there 2025-08-01 14:15:02 -07:00
icons who knows 2025-05-09 16:07:36 -07:00
resources Improve audio feedback timing using real sound duration and trimmed WAV files (#349) 2025-11-19 10:10:23 +07:00
src feat(text): Add n-gram matching for multi-word custom word correction (#711) 2026-02-05 18:29:25 +08:00
swift Apple intel integration (#391) 2025-12-09 21:04:24 +07:00
.gitignore basic working transcription. 2025-02-03 09:26:37 -08:00
build.rs feat: add tray menu localization using system locale (#446) 2025-12-18 04:14:32 -08:00
Cargo.lock release v0.7.1 2026-02-01 20:58:44 +08:00
Cargo.toml release v0.7.1 2026-02-01 20:58:44 +08:00
Entitlements.plist working? ability to package/run on macos 2025-05-05 12:13:27 -07:00
Info.plist working? ability to package/run on macos 2025-05-05 12:13:27 -07:00
rustfmt.toml format everything (#323) 2025-11-10 11:39:14 +08:00
tauri.conf.json release v0.7.1 2026-02-01 20:58:44 +08:00