Skip to main content

Vietnamese dialects, in a form machines can read

VN Dialect is an open lexicon of Vietnamese regional dialects, starting with Southern and Mekong Delta Vietnamese. Each sense records where it is used, its standard equivalent, examples and sources, so AI agents use regional words where they belong.

Pre-alpha. The data is being verified, and many examples are AI-drafted and not yet reviewed.

Look up words by region

  • Nam Bộ

    The Southeast, Saigon and the Mekong Delta.

  • Trung Bộ

    The North Central and South Central coasts.

    Coming soon

  • Bắc Bộ

    The Red River Delta and the northern midlands and mountains.

    Coming soon

Language models default to Northern Vietnamese

Most of the Vietnamese text that models are trained on is standard Northern Vietnamese. Asked to speak like someone from the Mekong Delta or the Southeast, a model often:

  • misuses, or invents, regional idioms and slang;
  • mixes registers within one sentence, such as the Northern particle “ạ” beside the Southern pronoun “tui”;
  • loses the warmth and social nuance of Southern speech.

Existing dialect dictionaries are written for people. They have no machine-readable schema, no record of when a word fits socially, and no mapping between regions.

One sentence, written two ways
Mixed registers
Vâng ạ, để tui coi lại rồi báo anh nha.
Consistently Southern
Dạ, để tui coi lại rồi báo anh nha.

Underlined: Northern words in a Southern sentence. Meaning: “Yes, let me check and get back to you.”

What the project provides

The data lives in one folder of the repository; every other output is built from it.

Entry schema
A JSON Schema for an entry: etymology, part of speech and senses. Pragmatics live on each sense: region, usage labels, standard equivalent, examples, guidance for AI and sources.
Dataset
One YAML file per spelling, seeded from an agent skill's dictionary and from Wiktionary, with sources being added.
SKILL.md for agents
The southern-mekong-vietnamese-dialect skill is built from the data: rules for writing Southern Vietnamese and a dictionary, ready to copy into an agent's skills folder.
Static JSON API
A search index, one file per entry, region bundles and JSON Schemas, at /api/v1/. The search on this page reads from it.
Style-guard rules
The skill's checker flags “ạ”, “vâng” and Northern words in text meant to sound Southern.

Planned: a prompt playground, a web contribution form, an MCP server, North–South mapping tables, then Central and Northern dialects.

Each sense records where and how it is used

An entry groups its senses by etymology, then by part of speech. The entry for biểu below comes from the API, abridged: a variant of bảo, used in the South and South Central Vietnam, with an example and its sources.

Open the JSON file

entries/bieeur.json, abridged
{
  "id": "bieeur",
  "spelling": "biểu",
  "etymologies": [{
    "type": "variant",
    "of": "bảo",
    "sound_change": { "pattern": "ao → iêu", "compare": [["cáo", "kiếu"], ["đào", "điều"]] },
    "pos": [{
      "pos": "verb",
      "senses": [{
        "gloss": { "vi": "Bảo", "en": "to tell" },
        "region": ["south", "south-central"],
        "standard": ["bảo"],
        "examples": [{
          "text": "Ê cu, lại đây tao biểu!",
          "en": "Come here for a sec boy, I have something to tell you."
        }],
        "sources": ["skill-dictionary-v1", { "id": "wiktionary", "url": "https://en.wiktionary.org/wiki/biểu" }],
        "status": "pending"
      }]
    }]
  }]
}

A sense is verified by two independent sources

Status is computed from each sense's sources. Two pages that copy each other count as one source.

Verified
Two or more independent sources.
Pending
One source.
Unsourced
No source yet.
Loading the figures…

Examples labeled as AI-drafted have not been reviewed by a person. A reviewer fixes or removes the example, then removes the label.

Books under copyright are used to verify a word, never copied.

Licenses

Data
CC BY-SA 4.0. Credit Vietnam Openlab when you reuse it.
Code
MIT. The scripts, schemas and the skills' code.
Wiktionary
English Wiktionary. Part of the data comes from it under CC BY-SA 4.0; each imported sense links to its page.

These are the planned licenses; the license files ship with the first release.

Contributing needs no credentials

Native speakers' knowledge of everyday usage is what the project needs most. Every change goes through a pull request on GitHub, and CI validates the schema before it merges.

Write glosses and examples in your own words: books under copyright are for verifying only.

  1. Check whether the word is already there.
  2. Add a sense, with an example and a source.
  3. Validate, build, then open a pull request.
Commands in the dialect-v0 repository
npm install
npm run dict -- find "xuồng"
npm run dict -- add "mưa dông" "Mưa to kèm sấm sét" \
  --topic weather-orchards --example "Chiều nay mưa dông lớn lắm nghen" --source <id>
npm run validate && npm run build