frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How to boost Gemini transcription accuracy for company names?

21•bingwu1995•6d ago
I’m using Gemini for speech-to-text and it often misrecognizes company names and acronyms.

Is there any way to use a custom lexicon or vocabulary with Gemini to improve recognition accuracy? If not directly supported, what are practical workarounds people use — e.g. preprocessing prompts, fine-tuning, or combining Gemini with another ASR that supports phrase boosting?

Comments

gallexme•4h ago
Adding it to the instructions worked well for me with specific terms
semessier•4h ago
adding to the question, ruling out fine-tuning for practicality, what about injecting names towards the embedding but not into the context?
lysecret•4h ago
I generally found 4o-transcribe to be more performant than gemini fyi.
Reubend•4h ago
Any company names or special acronyms should be added to your prompt.
tifa2up•3h ago
Don't solve it on the STT level. Get the raw transcription from Gemini then pass the output to an LLM to fix company names and other modifications.

Happy to share more details if helpful.

remus•3h ago
I've had some luck with this in other contexts. Get the initial transcript from STT (e.g. whisper), then feed that in to gemini with a prompt giving it as much extra context as possible. For example "This is a transcript from a youtube video. It's a conversation between x people, where they talk about y and z. Please clean up the transcript, paying particular attention to company names and acronyms."
flyinglizard•2h ago
I've done the same, it works very well.
idopmstuff•2h ago
Yeah, I've done it with industry-specific acronyms and this works well. Generate a list of company names and other terms it gets wrong, and give it definitions and any other useful context. For industry jargon, example sentences are good, but that's probably not relevant for company names.

Feed it that list and the transcript along with a simple prompt along the lines of "Attached is a transcript of a conversation created from an audio file. The model doing the transcription has trouble with company names/industry terms/acronyms/whatever else and will have made errors with those. I have also attached a list of company names/etc. that may have been spoken in the transcribed audio. Please review the transcription, and output a corrected version, along with a list of all corrections that you made. The list of corrections should include the original version of the word that you fixed, what you updated it to, and where it is in the document." If it's getting things wrong, you can also ask it to give an explanation of why it made each change that it did and use that to iterate on your prompt and the context you're giving it with your list of words.

simonw•3h ago
Have you tried feeding it a system prompt with a list of custom vocabulary? I would expect that to work really well.

"Transcribe this audio. Be careful to spell the following names and acronyms right: list-goes-here"

gearhart•3h ago
We use openwhisper for transcription which accepts a list of "words to look out for" which we populate with a short list of the names of all the people and companies most likely to be mentioned in the text, and then we do a spell checking pass at the end using Gemini with a much longer list, telling it to look out for anything that might be a misspelling.

It's not perfect, but it's taken it from being an issue that made all our transcripts look terrible, to an issue I no longer think about.

I imagine just using the second spellchecking pass with Gemini would be almost as effective.

vayup•3h ago
Something along these lines, as part of the prompt, has worked for me.

               # User-Defined Dictionary
                Always use the following exact terms if they sound similar in the audio:

                ```json
                {{jsonDictionary}}
                ```
another_twist•3h ago
Use any proper ASR service that supports custom vocabulary ? Transcribe and Deepgram definitely support it and if you want to go fancy Nemo with custom vocabulary.

Are there constraints where you have to use Gemini ?

rancar2•2h ago
The business edition of Wispr Flow does this well, and includes sharing among teams so you can make sure that the company wide vocabulary is consistent and well recognized.

https://wisprflow.ai/business

alex-skobe•2h ago
We have used markdown and list of vocabulary at the end like

Return company name only from dictionary

#dictionary 1:Apple 2:..

And than Vercel AI sdk + Zod Schema + Gemini 2.5 pro and it pretty accurate

meerab•1h ago
I use a two-pass approach - first pass with ASR (OpenAI Whisper) and second pass with an LLM. I ask users to provide context upfront and use that as the "initial_prompt" parameter in Whisper: https://github.com/openai/whisper/discussions/963#discussion...

Gemini might have similar capabilities for custom vocabulary, though I'm not certain about their specific implementation. The two-pass ASR+LLM approach could work with Gemini's output as well.

bbarnett•1h ago
Give it a database backend with lots and lots of facts. Things verified by humans. There, AI 'fixed'.

Nvidia DGX Spark: When Benchmark Numbers Meet Production Reality

https://publish.obsidian.md/aixplore/Practical+Applications/dgx-lab-benchmarks-vs-reality-day-4
82•RyeCatcher•3h ago•37 comments

Downloadable movie posters from the 40s, 50s, 60s, and 70s

https://hrc.contentdm.oclc.org/digital/collection/p15878coll84/search
343•bookofjoe•1w ago•67 comments

Wren: A classy little scripting language

https://wren.io/
53•Lyngbakr•4d ago•11 comments

NORAD's Cheyenne Mountain Combat Center, C.1966

https://flashbak.com/norad-cheyenne-mountain-combat-center-478804/
26•zdw•5d ago•4 comments

The bug that taught me more about PyTorch than years of using it

https://elanapearl.github.io/blog/2025/the-bug-that-taught-me-pytorch/
266•bblcla•3d ago•55 comments

Advent of Code 2025: Number of puzzles reduce from 25 to 12 for the first time

https://adventofcode.com/2025/about#faq_num_days
341•vismit2000•12h ago•177 comments

Alzheimer's disrupts circadian rhythms of plaque-clearing brain cells

https://medicine.washu.edu/news/alzheimers-disrupts-circadian-rhythms-of-plaque-clearing-brain-ce...
92•gmays•3h ago•12 comments

Formal Reasoning [pdf]

https://cs.ru.nl/~freek/courses/fr-2025/public/fr.pdf
104•Thom2503•9h ago•22 comments

Eavesdropping on Internal Networks via Unencrypted Satellites

https://satcom.sysnet.ucsd.edu/
149•Bogdanp•5d ago•21 comments

Making the Electron Microscope

https://www.asimov.press/p/electron-microscope
31•mailyk•4h ago•2 comments

A worker fell into a nuclear reactor pool

https://www.nrc.gov/reading-rm/doc-collections/event-status/event/2025/20251022en?brid=vscAjql9kZ...
602•nvahalik•20h ago•432 comments

Validating Your Ideas on Strangers

https://jeremyaboyd.com/post/validating-your-ideas-on-strangers
43•tacon•2d ago•24 comments

Pico-Banana-400k

https://github.com/apple/pico-banana-400k
337•dvrp•19h ago•58 comments

The Linux Boot Process: From Power Button to Kernel

https://www.0xkato.xyz/linux-boot/
401•0xkato•22h ago•81 comments

You Already Have a Git Server

https://maurycyz.com/misc/easy_git/
328•chmaynard•10h ago•267 comments

Writing a RISC-V Emulator in Rust

https://book.rvemu.app/
88•signa11•13h ago•39 comments

Ask HN: How to boost Gemini transcription accuracy for company names?

21•bingwu1995•6d ago•16 comments

Asbestosis

https://diamondgeezer.blogspot.com/2025/10/asbestosis.html
190•zeristor•12h ago•131 comments

Clojure Land – Discover open-source Clojure libraries and frameworks

https://clojure.land/
142•TheWiggles•13h ago•33 comments

Connect to a 1980s Atari BBS through the web

https://www.southernamis.com/ataribbsconnect
58•JPolka•11h ago•3 comments

Myanmar military shuts down a major cybercrime center, detains over 2k people

https://apnews.com/article/scam-centers-cybercrime-myanmar-a2c9fda85187121e51bd0efdf29c81da
112•bikenaga•6h ago•35 comments

Ask HN: Second generation of intro to software dev for 3rd graders

18•xrd•6d ago•19 comments

Smartphones manipulate our emotions and trigger our reflexes

https://theconversation.com/smartphones-manipulate-our-emotions-and-trigger-our-reflexes-no-wonde...
33•PaulHoule•2h ago•14 comments

D2: Diagram Scripting Language

https://d2lang.com/tour/intro/
243•benzguo•22h ago•60 comments

The Journey Before main()

https://amit.prasad.me/blog/before-main
292•amitprasad•1d ago•109 comments

PCB Edge USB C Connector Library

https://github.com/AnasMalas/pcb-edge-usb-c
146•walterbell•18h ago•64 comments

Let's Help NetBSD Cross the Finish Line Before 2025 Ends

https://mail-index.netbsd.org/netbsd-users/2025/10/26/msg033327.html
364•jaypatelani•8h ago•196 comments

Why I code as a CTO

https://www.assembled.com/blog/why-i-code-as-a-cto
278•johnjwang•2d ago•244 comments

LaserTweezer – Optical Trap

https://www.gaudi.ch/GaudiLabs/?page_id=578
68•o4c•13h ago•5 comments

Smart Beds Helped Them Sleep on a Cloud. Then the Cloud Crashed

https://www.nytimes.com/2025/10/24/business/amazon-aws-outage-eight-sleep-mattress.html
15•Animats•2h ago•1 comments