hama on-device NLP

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.

How our name correction demo works

Works in G2P languages: English, Korean, Chinese (simplified/traditional), Dutch, French, German, Italian, Japanese, Portuguese, Spanish, and Thai.

Loading model weights in the browser…

Cmd/Ctrl + Enter

Found in transcript pronunciationScan
Corrected transcript pronunciationReplace

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,
});

Works in Python, Node, and the browser. See the docs.