Skip to content

Remove non lexical utterance from text before detecting its lang; adjust the transcript processing freq, a bit slower, 0.6 instead of 0.3s, to help saving more.#2758

Merged
beastoin merged 2 commits into
mainfrom
stvxi_cost_opt_lang_detection
Aug 8, 2025
Merged

Remove non lexical utterance from text before detecting its lang; adjust the transcript processing freq, a bit slower, 0.6 instead of 0.3s, to help saving more.#2758
beastoin merged 2 commits into
mainfrom
stvxi_cost_opt_lang_detection

Conversation

@beastoin
Copy link
Copy Markdown
Collaborator

@beastoin beastoin commented Aug 8, 2025

what's included ?

  • remove non lexical utterance from text before detecting its lang
  • adjust the transcript processing freq, a bit slower, 0.6 instead of 0.3s

-> saving 30% on the lang detection and translation costs.

deploy plan:

beastoin and others added 2 commits August 8, 2025 18:30
…ust the transcript processing freq, a bit slower, 0.6 instead of 0.3s, to help saving more.
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
@beastoin beastoin merged commit a6ae7fb into main Aug 8, 2025
1 check passed
@beastoin beastoin deleted the stvxi_cost_opt_lang_detection branch August 8, 2025 11:38
@beastoin
Copy link
Copy Markdown
Collaborator Author

beastoin commented Aug 8, 2025

before:

Screenshot 2025-08-08 at 18 31 36

after:

Screenshot 2025-08-08 at 18 31 17

Glucksberg pushed a commit to Glucksberg/omi-local that referenced this pull request Apr 28, 2026
…ust the transcript processing freq, a bit slower, 0.6 instead of 0.3s, to help saving more. (BasedHardware#2758)

* Remove non lexical utterance from text before detecting its lang; adjust the transcript processing freq, a bit slower, 0.6 instead of 0.3s, to help saving more.

* perf: Pre-compile non-lexical utterance regex pattern

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>

---------

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant