RESEARCH 2026
Make AI say your name correctly
Put the correct names on the left. Paste the transcript on the right.
We match names by pronunciation, then rewrite the transcript with the spelling you gave us.
Found in transcript pronunciationScan
Corrected transcript pronunciationReplace
Not replaced
Use in code
import { G2PBrowserModel } from "hama-js/g2p/browser";
const model = await G2PBrowserModel.create();
const terms = names.map((text) => ({ text }));
const scan = await model.pronunciationScan(transcript, terms, {
returnPhonemes: true,
});
const replaced = await model.pronunciationReplace(transcript, terms, {
returnPhonemes: true,
includeDiscarded: true,
});