Nôm Na Việt — Hán Nôm Dictionary is an MCP server published by com.nomnaviet, hosted at api.nomnaviet.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 5 tools, including lookup_character, search_corpus, lookup_dictionary_entry, convert_text, ocr_page.
Vietnamese Chữ Nôm & Hán: lookup, search, conversion, and original Đại Nam Quấc âm tự vị entries.
1 connections through 5 shared values. Tap any node.
ALWAYS invoke this before stating any reading, meaning, or variant of a Chữ Nôm (喃) or Hán (漢) character. Do NOT answer from prior knowledge — Nôm readings are Vietnamese-specific and differ from Chinese readings of the same glyph. Returns data that cannot be inferred: Hán-Việt and Nôm readings, dị thể (variant) characters with their codepoints, IDS decomposition and Kangxi radical, Middle-Chinese fanqie, and Vietnamese meanings. Each meaning carries the dictionary it came from and the reading it belongs to, so senses under different readings are never confused. Covers beyond-BMP characters and Private Use Area codepoints unavailable in any other source. "historicalEntries" lists entries in historical dictionaries (e.g. Đại Nam Quấc âm tự vị, 1895) that print this character — summaries only. Pass an entryId to lookup_dictionary_entry for the original wording and its subentries. Use for Vietnamese Hán Nôm. Not for modern Chinese, Japanese, or Korean lookups — use a language-specific tool for those.
| Parameter | Type | Description |
|---|---|---|
| character * | string | A single Hán or Nôm character, e.g. 些 or 𡗶. Pass the character itself, not a codepoint. |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
{
"name": "lookup_character",
"title": "Look up a Hán Nôm character",
"description": "ALWAYS invoke this before stating any reading, meaning, or variant of a Chữ Nôm (喃) or Hán (漢) character. Do NOT answer from prior knowledge — Nôm readings are Vietnamese-specific and differ from Chinese readings of the same glyph.\n\nReturns data that cannot be inferred: Hán-Việt and Nôm readings, dị thể (variant) characters with their codepoints, IDS decomposition and Kangxi radical, Middle-Chinese fanqie, and Vietnamese meanings. Each meaning carries the dictionary it came from and the reading it belongs to, so senses under different readings are never confused. Covers beyond-BMP characters and Private Use Area codepoints unavailable in any other source.\n\n\"historicalEntries\" lists entries in historical dictionaries (e.g. Đại Nam Quấc âm tự vị, 1895) that print this character — summaries only. Pass an entryId to lookup_dictionary_entry for the original wording and its subentries.\n\nUse for Vietnamese Hán Nôm. Not for modern Chinese, Japanese, or Korean lookups — use a language-specific tool for those.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"character"
],
"properties": {
"character": {
"type": "string",
"minLength": 1,
"description": "A single Hán or Nôm character, e.g. 些 or 𡗶. Pass the character itself, not a codepoint."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"character",
"codepoint",
"isPrivateUseArea",
"found",
"readings",
"meanings",
"variants",
"compounds",
"historicalEntries"
],
"properties": {
"found": {
"type": "boolean"
},
"radical": {
"type": "string"
},
"meanings": {
"type": "array",
"items": {
"type": "object",
"required": [
"definition"
],
"properties": {
"source": {
"type": [
"string",
"null"
],
"description": "Internal source key, e.g. \"dnqatv\". Null means the row predates source tracking — report the definition as unattributed, never guess which dictionary it came from."
},
"reading": {
"type": [
"string",
"null"
],
"description": "The reading this sense is filed under, when known."
},
"entryRef": {
"type": "object",
"required": [
"workKey",
"entryId"
],
"properties": {
"entryId": {
"type": "string",
"description": "Entry id within that work, e.g. \"B-0123\"."
},
"workKey": {
"type": "string",
"description": "Work key, e.g. \"dnqatv\"."
}
},
"description": "Present only when this definition maps unambiguously to one canonical historical entry. Pass it to lookup_dictionary_entry.",
"additionalProperties": false
},
"isPrimary": {
"type": "boolean"
},
"definition": {
"type": "string"
},
"sourceTitle": {
"type": "string",
"description": "Human-readable dictionary name."
},
"partOfSpeech": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"readings": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"pronunciation",
"inferred"
],
"properties": {
"tone": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"type": {
"type": "string"
},
"inferred": {
"type": "boolean"
},
"frequencyRank": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"pronunciation": {
"type": "string"
}
},
"additionalProperties": false
}
},
"variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"character",
"codepoint",
"relation",
"source"
],
"properties": {
"source": {
"type": "string"
},
"relation": {
"type": "string"
},
"character": {
"type": "string"
},
"codepoint": {
"type": "string"
}
},
"additionalProperties": false
}
},
"character": {
"type": "string"
},
"codepoint": {
"type": "string"
},
"compounds": {
"type": "array",
"items": {
"type": "object",
"required": [
"characters"
],
"properties": {
"meaning": {
"type": "string"
},
"reading": {
"type": "string"
},
"characters": {
"type": "string"
}
},
"additionalProperties": false
}
},
"strokeCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"characterType": {
"type": "string"
},
"decomposition": {
"type": "object",
"properties": {
"ids": {
"type": "string"
},
"components": {
"type": "array",
"items": {
"type": "string"
}
},
"kangxiRadical": {
"type": "string"
},
"residualStrokes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"middleChinese": {
"type": "object",
"required": [
"notation"
],
"properties": {
"tone": {
"type": "string"
},
"notation": {
"type": "string"
},
"isEstimated": {
"type": "boolean"
},
"romanization": {
"type": "string"
},
"finalCategory": {
"type": "string"
},
"derivedReading": {
"type": "string"
},
"initialCategory": {
"type": "string"
}
},
"additionalProperties": false
},
"isPrivateUseArea": {
"type": "boolean"
},
"historicalEntries": {
"type": "array",
"items": {
"type": "object",
"required": [
"workKey",
"workTitle",
"entryId",
"headword",
"hanStatus",
"orderInWork",
"subentryCount",
"senseCount",
"citationCount"
],
"properties": {
"han": {
"type": [
"string",
"null"
],
"description": "The headword's Hán/Nôm form, or null when there is none. One codepoint in character dictionaries; in word-level works (ntqatd) it can be a whole word such as 別咍, so do not treat it as a single character."
},
"entryId": {
"type": "string",
"description": "Unique WITHIN this work only, e.g. \"B-0123\". Always pass it together with workKey."
},
"workKey": {
"type": "string",
"description": "Stable key of the work, e.g. \"dnqatv\". Pass it back as `work`."
},
"headword": {
"type": "string",
"description": "Quốc-ngữ headword in ORIGINAL 19th-century orthography."
},
"hanStatus": {
"type": "string",
"description": "\"unicode\" | \"pua\" | \"image_only\" | \"none\" (the work prints no glyph for this headword)."
},
"workTitle": {
"type": "string",
"description": "The work's title as it prints it — \"Quấc\", not the modern \"Quốc\"."
},
"definition": {
"type": [
"string",
"null"
],
"description": "May be empty — 545 entries carry their sense only in subentries."
},
"senseCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many numbered senses this entry has. Zero for works that print subentries instead."
},
"sourcePage": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
],
"description": "Page of the scanned volume this entry is printed on. Cite it as a page number."
},
"typeMarker": {
"type": [
"string",
"null"
],
"description": "The printed marker verbatim: \"n.\" means nôm (script origin), NOT noun."
},
"orderInWork": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Position in the WHOLE work, 0-based across every section — not a position within the section. B-0123 is 196 because 74 entries precede letter B. It equals globalId minus one: the same count, not a different basis. Use it for ordering only; cite entryId to identify an entry."
},
"sourceLetter": {
"type": [
"string",
"null"
],
"description": "The printed alphabetical SECTION this entry sits in — not the headword's own first letter. The tail of a section can spill into the next word, so \"Cạ\" is filed under \"B\". Never infer the headword's spelling from it."
},
"citationCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many attested citations sit under those senses."
},
"subentryCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many subentries this entry HAS. None of them are included here — call lookup_dictionary_entry with entryId to read them."
}
},
"additionalProperties": false
},
"description": "Canonical entries from historical dictionaries that print this glyph. Summaries only — call lookup_dictionary_entry with an entryId for the full entry and its subentries."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Look up a Hán Nôm character",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Find Hán Nôm characters by their Vietnamese reading (quốc ngữ, e.g. "trăng") or by Vietnamese meaning. Use when you need to discover which characters correspond to a Vietnamese word, then call lookup_character on the result for full detail. Each result reports what actually matched — "matchedOn" is "reading" or "meaning", and "match" carries the exact reading or the definition containing your query, with its source. Do not treat that definition as the character's only sense; call lookup_character for the rest. Returns at most 20 characters per call, with no pagination. This dictionary's readings and meanings come from sources under CC BY-SA 4.0, so bulk redistribution carries ShareAlike obligations — the cap keeps ordinary use well inside that. Cite the source on each result rather than presenting the corpus as your own.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum results, 1-20. Defaults to 10. |
| query * | string | A Vietnamese reading in quốc ngữ (e.g. "trăng") or a Vietnamese meaning fragment. |
{
"name": "search_corpus",
"title": "Search characters by Vietnamese reading or meaning",
"description": "Find Hán Nôm characters by their Vietnamese reading (quốc ngữ, e.g. \"trăng\") or by Vietnamese meaning. Use when you need to discover which characters correspond to a Vietnamese word, then call lookup_character on the result for full detail.\n\nEach result reports what actually matched — \"matchedOn\" is \"reading\" or \"meaning\", and \"match\" carries the exact reading or the definition containing your query, with its source. Do not treat that definition as the character's only sense; call lookup_character for the rest.\n\nReturns at most 20 characters per call, with no pagination. This dictionary's readings and meanings come from sources under CC BY-SA 4.0, so bulk redistribution carries ShareAlike obligations — the cap keeps ordinary use well inside that. Cite the source on each result rather than presenting the corpus as your own.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Maximum results, 1-20. Defaults to 10."
},
"query": {
"type": "string",
"minLength": 1,
"description": "A Vietnamese reading in quốc ngữ (e.g. \"trăng\") or a Vietnamese meaning fragment."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query",
"results",
"limit",
"truncated"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"character",
"codepoint",
"readings",
"matchedOn",
"match"
],
"properties": {
"match": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"reading": {
"type": "string",
"description": "Set when matchedOn is \"reading\": the exact reading that matched."
},
"entryRef": {
"type": "object",
"required": [
"workKey",
"entryId"
],
"properties": {
"entryId": {
"type": "string",
"description": "Entry id within that work, e.g. \"B-0123\"."
},
"workKey": {
"type": "string",
"description": "Work key, e.g. \"dnqatv\"."
}
},
"additionalProperties": false
},
"definition": {
"type": "string",
"description": "Set when matchedOn is \"meaning\": the definition containing the query."
},
"sourceTitle": {
"type": "string"
}
},
"additionalProperties": false
},
"readings": {
"type": "array",
"items": {
"type": "string"
},
"description": "ALL readings of this character, not only the matched one."
},
"character": {
"type": "string"
},
"codepoint": {
"type": "string"
},
"matchedOn": {
"enum": [
"reading",
"meaning"
],
"type": "string"
}
},
"additionalProperties": false
}
},
"truncated": {
"type": "boolean",
"description": "True when the cap was reached. There is deliberately no pagination."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Search characters by Vietnamese reading or meaning",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Use this to retrieve an original entry from a historical Vietnamese dictionary such as Đại Nam Quấc âm tự vị (Huình-Tịnh Paulus Của, 1895–96). Search by Quốc-ngữ headword when you do not know the character, or pass an entryId returned by lookup_character or by a headword search to retrieve the source-faithful entry and its ordered subentries. Do not infer missing glyphs or modernize historical spelling. Pass EXACTLY ONE of entryId or headword — never both, never neither. Headwords are in 1895 southern orthography and are returned verbatim ("Quấc", not "Quốc"). "typeMarker" is the printed marker as set: "n." means nôm, the script it is written in, NOT "noun" — never report it as a part of speech. A subentry with no "han" printed none in the source; do not construct one. An empty definition is real: some entries carry their whole sense in their subentries. Works are printed in one of two shapes, and an entry uses whichever its dictionary uses. Some print SUBENTRIES — compound phrases under a headword. Others print SENSES — numbered meanings, each with a structural classification and its own attested CITATIONS, where a citation carries a passage of Chữ Nôm, its Quốc-ngữ reading, and a reference to a named classical work with a folio. Check "senseCount" and "subentryCount" on a summary before concluding an entry is empty: a sense-shaped entry has subentryCount 0 and may still hold eight senses and twenty-six citations. Citations are evidence, and the strongest thing this tool returns. Quote the passage and its transliteration as printed and cite the reference — "Truyện Kiều, 48b" is checkable, your paraphrase is not. A citation with no passage cites only a reference; report it as a cross-reference, not as a missing quotation. "senses" is never paged: if the field is there, it is all of them. Subentries are PAGED. Read "subentries.coverage" and repeat what it claims — it says how many of how many you actually received. An entry can hold up to 197, so one call is often a fraction of it. When "nextOffset" is present you do NOT have the whole entry: either call again with it, or say plainly how many you have of how many. Never present a partial list as complete. Headword search returns at most 20 per call. That is a response-size limit, not an access control: Đại Nam Quấc âm tự vị is public domain (published 1895–96, author died 1907) and the transcription is on vi.wikisource.org, which publishes it in bulk. Quote it freely, and carry the attribution the "work" object gives you. Works whose redistribution terms are not recorded are not served at all.
| Parameter | Type | Description |
|---|---|---|
| work | string | Which work to search. Defaults to "dnqatv" (Đại Nam Quấc âm tự vị). |
| entryId | string | An entry id such as "B-0123", from lookup_character.historicalEntries or a headword search. Retrieves that one entry in full. Mutually exclusive with headword. |
| headword | string | A Quốc-ngữ headword such as "Bậu". Returns up to 20 matching entry summaries, exact matches first. Spelling is historical — do not modernize or strip accents. Mutually exclusive with entryId. |
| subentryLimit | integer | Subentries per call, 1-50. Defaults to 50. When "nextOffset" comes back, call again with it to continue. |
| subentryOffset | integer | First subentry to return, for continuing a large entry. Defaults to 0. Only used with entryId. |
{
"name": "lookup_dictionary_entry",
"title": "Retrieve an entry from a historical Vietnamese dictionary",
"description": "Use this to retrieve an original entry from a historical Vietnamese dictionary such as Đại Nam Quấc âm tự vị (Huình-Tịnh Paulus Của, 1895–96). Search by Quốc-ngữ headword when you do not know the character, or pass an entryId returned by lookup_character or by a headword search to retrieve the source-faithful entry and its ordered subentries. Do not infer missing glyphs or modernize historical spelling.\n\nPass EXACTLY ONE of entryId or headword — never both, never neither.\n\nHeadwords are in 1895 southern orthography and are returned verbatim (\"Quấc\", not \"Quốc\"). \"typeMarker\" is the printed marker as set: \"n.\" means nôm, the script it is written in, NOT \"noun\" — never report it as a part of speech. A subentry with no \"han\" printed none in the source; do not construct one. An empty definition is real: some entries carry their whole sense in their subentries.\n\nWorks are printed in one of two shapes, and an entry uses whichever its dictionary uses. Some print SUBENTRIES — compound phrases under a headword. Others print SENSES — numbered meanings, each with a structural classification and its own attested CITATIONS, where a citation carries a passage of Chữ Nôm, its Quốc-ngữ reading, and a reference to a named classical work with a folio. Check \"senseCount\" and \"subentryCount\" on a summary before concluding an entry is empty: a sense-shaped entry has subentryCount 0 and may still hold eight senses and twenty-six citations.\n\nCitations are evidence, and the strongest thing this tool returns. Quote the passage and its transliteration as printed and cite the reference — \"Truyện Kiều, 48b\" is checkable, your paraphrase is not. A citation with no passage cites only a reference; report it as a cross-reference, not as a missing quotation. \"senses\" is never paged: if the field is there, it is all of them.\n\nSubentries are PAGED. Read \"subentries.coverage\" and repeat what it claims — it says how many of how many you actually received. An entry can hold up to 197, so one call is often a fraction of it. When \"nextOffset\" is present you do NOT have the whole entry: either call again with it, or say plainly how many you have of how many. Never present a partial list as complete.\n\nHeadword search returns at most 20 per call. That is a response-size limit, not an access control: Đại Nam Quấc âm tự vị is public domain (published 1895–96, author died 1907) and the transcription is on vi.wikisource.org, which publishes it in bulk. Quote it freely, and carry the attribution the \"work\" object gives you. Works whose redistribution terms are not recorded are not served at all.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"work": {
"type": "string",
"description": "Which work to search. Defaults to \"dnqatv\" (Đại Nam Quấc âm tự vị)."
},
"entryId": {
"type": "string",
"description": "An entry id such as \"B-0123\", from lookup_character.historicalEntries or a headword search. Retrieves that one entry in full. Mutually exclusive with headword."
},
"headword": {
"type": "string",
"description": "A Quốc-ngữ headword such as \"Bậu\". Returns up to 20 matching entry summaries, exact matches first. Spelling is historical — do not modernize or strip accents. Mutually exclusive with entryId."
},
"subentryLimit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Subentries per call, 1-50. Defaults to 50. When \"nextOffset\" comes back, call again with it to continue."
},
"subentryOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "First subentry to return, for continuing a large entry. Defaults to 0. Only used with entryId."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"work"
],
"properties": {
"work": {
"type": "object",
"required": [
"key",
"title"
],
"properties": {
"key": {
"type": "string"
},
"title": {
"type": "string"
},
"author": {
"type": [
"string",
"null"
]
},
"volume": {
"type": [
"string",
"null"
]
},
"edition": {
"type": [
"string",
"null"
]
},
"license": {
"type": [
"string",
"null"
]
},
"sourceUrl": {
"type": [
"string",
"null"
]
},
"attribution": {
"type": [
"string",
"null"
],
"description": "Credit line to render wherever this work is quoted."
}
},
"additionalProperties": false
},
"entry": {
"type": "object",
"required": [
"entryId",
"headword",
"hanStatus",
"orderInWork"
],
"properties": {
"han": {
"type": [
"string",
"null"
],
"description": "The headword's Hán/Nôm form, or null when there is none. One codepoint in character dictionaries; in word-level works (ntqatd) it can be a whole word such as 別咍, so do not treat it as a single character."
},
"forms": {
"type": "object",
"required": [
"nom",
"han"
],
"properties": {
"han": {
"type": "array",
"items": {
"type": "string"
}
},
"nom": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Every written form the source prints, variants included, in printed order. `han` above is only the first.",
"additionalProperties": false
},
"entryId": {
"type": "string",
"description": "Unique WITHIN this work only, e.g. \"B-0123\". Always pass it together with workKey."
},
"globalId": {
"type": [
"string",
"null"
]
},
"hanImage": {
"description": "Scan reference for image-only glyphs, when the source carried one."
},
"headword": {
"type": "string",
"description": "Quốc-ngữ headword in ORIGINAL 19th-century orthography."
},
"etymology": {
"type": "string",
"description": "The source's etymology note verbatim — cognates and their references, e.g. Mường forms. Quote it; do not extend it."
},
"hanStatus": {
"type": "string",
"description": "\"unicode\" | \"pua\" | \"image_only\" | \"none\" (the work prints no glyph for this headword)."
},
"definition": {
"type": [
"string",
"null"
],
"description": "May be empty — 545 entries carry their sense only in subentries."
},
"sourcePage": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
],
"description": "Page of the scanned volume this entry is printed on. Cite it as a page number."
},
"typeMarker": {
"type": [
"string",
"null"
],
"description": "The printed marker verbatim: \"n.\" means nôm (script origin), NOT noun."
},
"corrections": {
"type": "array",
"items": {},
"description": "Editorial corrections recorded by the source, when present."
},
"orderInWork": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Position in the WHOLE work, 0-based across every section — not a position within the section. B-0123 is 196 because 74 entries precede letter B. It equals globalId minus one: the same count, not a different basis. Use it for ordering only; cite entryId to identify an entry."
},
"readingNote": {
"type": [
"string",
"null"
],
"description": "Printed alternate reading."
},
"sourceLetter": {
"type": [
"string",
"null"
],
"description": "The printed alphabetical SECTION this entry sits in — not the headword's own first letter. The tail of a section can spill into the next word, so \"Cạ\" is filed under \"B\". Never infer the headword's spelling from it."
}
},
"additionalProperties": false
},
"senses": {
"type": "array",
"items": {
"type": "object",
"required": [
"order",
"groupOrder",
"structCodes",
"structLabels",
"definition",
"citations"
],
"properties": {
"order": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "0-based position across the whole entry."
},
"usage": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"dom": {
"type": "string"
},
"text": {
"type": "string"
},
"time": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Usage labels as printed, e.g. { time: \"archaic\", text: \"từ cổ\" } or { dom: \"Confucian\", text: \"Nho\" }."
},
"fullText": {
"type": "string",
"description": "The whole sense as printed, quotations inline. `definition` is only the gloss before the first citation; the commentary after it — source passages, comparisons with other dictionaries — is here."
},
"leadAbbr": {
"type": "string",
"description": "The abbreviation the sense opens with, verbatim (ntqatd): usually a part of speech — \"dt.\" danh từ, \"đgt.\" động từ, \"tt.\" tính từ — but sometimes a category such as \"Thng\" (thành ngữ) or \"cd\" (ca dao). Quote it; do not map it to an English part of speech."
},
"citations": {
"type": "array",
"items": {
"type": "object",
"required": [
"order",
"references"
],
"properties": {
"kind": {
"enum": [
"quotation",
"reference"
],
"type": "string",
"description": "Present for works that print both shapes (ntqatd). \"reference\" means the source printed only where the word occurs — a poem.line locus such as \"Tự thán 85.7\" — and no line of text: cite the locus, never present it as a quotation."
},
"order": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"references": {
"type": "array",
"items": {
"type": "object",
"required": [
"raw"
],
"properties": {
"raw": {
"type": "string",
"description": "The reference exactly as printed, e.g. \"Truyện Kiều, 48b\"."
},
"work": {
"type": [
"string",
"null"
],
"description": "Short title, e.g. \"Truyện Kiều\"."
},
"locus": {
"type": [
"string",
"null"
],
"description": "Folio or locator within that work, e.g. \"48b\". Cite it."
},
"fullTitle": {
"type": [
"string",
"null"
],
"description": "The work's full title where the source's reference list gives one."
}
},
"additionalProperties": false
}
},
"sourceText": {
"type": [
"string",
"null"
],
"description": "The passage in Chữ Nôm as printed. Null when the source printed none."
},
"transliteration": {
"type": [
"string",
"null"
],
"description": "Its Quốc-ngữ reading as printed."
}
},
"additionalProperties": false
},
"description": "Attested usages for THIS sense. Always complete — never paged."
},
"phonology": {
"type": [
"string",
"null"
],
"description": "A reconstructed initial cluster and its modern reflex, verbatim, e.g. \"*kl- → tr-\". This is the evidence for why a Hán glyph was borrowed for a Vietnamese word that sounds unrelated today. Quote it; do not elaborate on it."
},
"structRaw": {
"type": [
"string",
"null"
],
"description": "The classification line verbatim, e.g. \"A1: 照 chiếu\"."
},
"definition": {
"type": "string"
},
"groupOrder": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Which printed sense group this belongs to."
},
"structCode": {
"type": [
"string",
"null"
],
"description": "First structural code only. Prefer structCodes, which carries all of them."
},
"typeMarker": {
"type": [
"string",
"null"
],
"description": "The printed marker as set (◎ or 〄). Report it verbatim; do not translate it into a claim."
},
"structCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Every structural classification the source prints for this sense, in printed order (A1, C2, F2, …) — how the glyph was formed or borrowed FOR THIS SENSE, which is why one headword can carry senses under different codes. Their meanings are supplied in structLabels — use those words rather than your own."
},
"structLabels": {
"type": "array",
"items": {
"type": "object",
"required": [
"code"
],
"properties": {
"en": {
"type": [
"string",
"null"
],
"description": "A plain-English reading of that path."
},
"vi": {
"type": [
"string",
"null"
],
"description": "The taxonomic path in the source's own terms."
},
"code": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "What each code MEANS, from the published taxonomy. Use these words; do not compose your own explanation of a code. An entry with `vi`/`en` null is a code the taxonomy does not define — say it is unexplained rather than guessing."
},
"crossReference": {
"anyOf": [
{
"type": "object",
"required": [
"entryId"
],
"properties": {
"han": {
"type": [
"string",
"null"
]
},
"entryId": {
"type": "string",
"description": "The target entry in this same work — pass it back to lookup_dictionary_entry."
},
"reading": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Where a definition points instead of defining. 5,676 senses read \"Như __\" — \"same as ___\" — with the blank never printed; this is the ___. When it is present the definition is a pointer, so follow it rather than reporting the sense as empty or the reference as unresolvable."
},
"structRelation": {
"anyOf": [
{
"enum": [
"single",
"derivation",
"alternative"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "How the codes relate. \"derivation\" means the source printed an arrow — this class became that one, a claim about the glyph's origin. \"alternative\" means a pipe: either classification applies. Say which; do not collapse two codes into one."
},
"relatedHeadwords": {
"type": "array",
"items": {
"type": "string"
},
"description": "Headwords this sense points the reader to, in the same work. Look them up by headword."
}
},
"additionalProperties": false
},
"description": "Every sense of this entry, complete. Not paged — if the field is present, it is all of them."
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"workKey",
"workTitle",
"entryId",
"headword",
"hanStatus",
"orderInWork",
"subentryCount",
"senseCount",
"citationCount"
],
"properties": {
"han": {
"type": [
"string",
"null"
],
"description": "The headword's Hán/Nôm form, or null when there is none. One codepoint in character dictionaries; in word-level works (ntqatd) it can be a whole word such as 別咍, so do not treat it as a single character."
},
"entryId": {
"type": "string",
"description": "Unique WITHIN this work only, e.g. \"B-0123\". Always pass it together with workKey."
},
"workKey": {
"type": "string",
"description": "Stable key of the work, e.g. \"dnqatv\". Pass it back as `work`."
},
"headword": {
"type": "string",
"description": "Quốc-ngữ headword in ORIGINAL 19th-century orthography."
},
"hanStatus": {
"type": "string",
"description": "\"unicode\" | \"pua\" | \"image_only\" | \"none\" (the work prints no glyph for this headword)."
},
"workTitle": {
"type": "string",
"description": "The work's title as it prints it — \"Quấc\", not the modern \"Quốc\"."
},
"definition": {
"type": [
"string",
"null"
],
"description": "May be empty — 545 entries carry their sense only in subentries."
},
"senseCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many numbered senses this entry has. Zero for works that print subentries instead."
},
"sourcePage": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
],
"description": "Page of the scanned volume this entry is printed on. Cite it as a page number."
},
"typeMarker": {
"type": [
"string",
"null"
],
"description": "The printed marker verbatim: \"n.\" means nôm (script origin), NOT noun."
},
"orderInWork": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Position in the WHOLE work, 0-based across every section — not a position within the section. B-0123 is 196 because 74 entries precede letter B. It equals globalId minus one: the same count, not a different basis. Use it for ordering only; cite entryId to identify an entry."
},
"sourceLetter": {
"type": [
"string",
"null"
],
"description": "The printed alphabetical SECTION this entry sits in — not the headword's own first letter. The tail of a section can spill into the next word, so \"Cạ\" is filed under \"B\". Never infer the headword's spelling from it."
},
"citationCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many attested citations sit under those senses."
},
"subentryCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many subentries this entry HAS. None of them are included here — call lookup_dictionary_entry with entryId to read them."
}
},
"additionalProperties": false
},
"description": "Headword search results. Exact matches first, then prefix matches."
},
"guidance": {
"type": "string"
},
"truncated": {
"type": "boolean",
"description": "True when headword results hit the 20-result cap."
},
"matchCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"subentries": {
"type": "object",
"required": [
"items",
"returned",
"total",
"offset",
"coverage"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"order",
"term",
"definition"
],
"properties": {
"han": {
"type": [
"string",
"null"
],
"description": "Only 2,986 of 64,283 carry one. Null means the source printed none."
},
"term": {
"type": "string",
"description": "Dash placeholder expanded; original orthography."
},
"order": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"display": {
"type": [
"string",
"null"
],
"description": "As printed, dash placeholder intact."
},
"definition": {
"type": "string"
},
"sourcePage": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"description": "This page only — `returned` of `total`, starting at `offset`."
},
"total": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many the entry has in total. Correct at any offset, including past the end."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "0-based index of the first item in this page."
},
"coverage": {
"type": "string",
"description": "States exactly what this response covers. Repeat its claim; do not assert more than it says."
},
"returned": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "How many subentries are in THIS response."
},
"nextOffset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Present only while more remain. Call again with subentryOffset set to it."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"title": "Retrieve an entry from a historical Vietnamese dictionary",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Convert whole Vietnamese phrases or sentences to Chữ Nôm (direction "to_nom"), or read a run of Chữ Nôm back as Vietnamese quốc ngữ (direction "to_viet"). Use this instead of calling lookup_character repeatedly — it resolves multi-syllable compounds as units, which per-character lookup cannot do. Handles both old-style and new-style tone placement (hòa / hoà). Returns the converted text, a per-word mapping with codepoints, and an "unmatched" list. Words in "unmatched" have NO entry in the dictionary. Say so — never substitute a character that looks plausible. Input is truncated past 500 characters.
| Parameter | Type | Description |
|---|---|---|
| text * | string | The text to convert: Vietnamese quốc ngữ for "to_nom", Chữ Nôm for "to_viet". Up to 500 characters. |
| direction | string | "to_nom" (Vietnamese → Chữ Nôm, the default) or "to_viet" (Chữ Nôm → Vietnamese). |
{
"name": "convert_text",
"title": "Convert between Vietnamese and Chữ Nôm",
"description": "Convert whole Vietnamese phrases or sentences to Chữ Nôm (direction \"to_nom\"), or read a run of Chữ Nôm back as Vietnamese quốc ngữ (direction \"to_viet\"). Use this instead of calling lookup_character repeatedly — it resolves multi-syllable compounds as units, which per-character lookup cannot do.\n\nHandles both old-style and new-style tone placement (hòa / hoà). Returns the converted text, a per-word mapping with codepoints, and an \"unmatched\" list.\n\nWords in \"unmatched\" have NO entry in the dictionary. Say so — never substitute a character that looks plausible. Input is truncated past 500 characters.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"description": "The text to convert: Vietnamese quốc ngữ for \"to_nom\", Chữ Nôm for \"to_viet\". Up to 500 characters."
},
"direction": {
"enum": [
"to_nom",
"to_viet"
],
"type": "string",
"description": "\"to_nom\" (Vietnamese → Chữ Nôm, the default) or \"to_viet\" (Chữ Nôm → Vietnamese)."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"direction",
"original",
"converted",
"unmatched",
"segments"
],
"properties": {
"ranking": {
"enum": [
"context",
"frequency"
],
"type": "string",
"description": "to_nom only. \"context\": the contextual ranker ordered the ambiguous words. \"frequency\": corpus frequency alone ordered them, either because no word needed ranking (one candidate each, or a hand-set primary) or because the ranker did not answer."
},
"original": {
"type": "string"
},
"segments": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"target"
],
"properties": {
"source": {
"type": "string"
},
"target": {
"type": [
"string",
"null"
]
},
"codepoints": {
"type": "array",
"items": {
"type": "string"
}
},
"alternatives": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"converted": {
"type": "string"
},
"direction": {
"enum": [
"to_nom",
"to_viet"
],
"type": "string"
},
"truncated": {
"type": "boolean"
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Words with NO dictionary entry. Report as gaps; never fill them in."
}
},
"additionalProperties": false
},
"annotations": {
"title": "Convert between Vietnamese and Chữ Nôm",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read a photo or scan of a Hán Nôm (漢喃) page — a woodblock print, a manuscript, a stele rubbing, a sign — with Nôm Na Việt's own OCR, trained on Vietnamese Hán Nôm. Use this instead of reading the image yourself: general vision models misread Nôm characters as Chinese ones, or invent them. Pass the image as base64 (a "data:image/...;base64," prefix is fine), at most 7 MB. Vertical text (columns read right to left) is the default; pass mode "horizontal" for text in rows, or "auto" to have it guessed. Returns the text region by region in reading order, each with its confidence and box, and every character the OCR was unsure of. The result is a machine reading, not a checked text: report the uncertain characters as uncertain, and never substitute a character you think it "should" be. To gloss what was read, pass the text to convert_text and its characters to lookup_character. Each call reads one page and counts against a per-caller page budget; a busy OCR service answers with how long to wait.
| Parameter | Type | Description |
|---|---|---|
| mode | string | "vertical" (columns, read right to left; the default), "horizontal" (rows), or "auto" (guessed from the page). |
| image * | string | The page image, base64-encoded (JPEG, PNG or WebP), optionally as a data: URL. At most 7 MB decoded. |
{
"name": "ocr_page",
"title": "Read a Hán Nôm page from an image",
"description": "Read a photo or scan of a Hán Nôm (漢喃) page — a woodblock print, a manuscript, a stele rubbing, a sign — with Nôm Na Việt's own OCR, trained on Vietnamese Hán Nôm. Use this instead of reading the image yourself: general vision models misread Nôm characters as Chinese ones, or invent them.\n\nPass the image as base64 (a \"data:image/...;base64,\" prefix is fine), at most 7 MB. Vertical text (columns read right to left) is the default; pass mode \"horizontal\" for text in rows, or \"auto\" to have it guessed.\n\nReturns the text region by region in reading order, each with its confidence and box, and every character the OCR was unsure of. The result is a machine reading, not a checked text: report the uncertain characters as uncertain, and never substitute a character you think it \"should\" be. To gloss what was read, pass the text to convert_text and its characters to lookup_character.\n\nEach call reads one page and counts against a per-caller page budget; a busy OCR service answers with how long to wait.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"image"
],
"properties": {
"mode": {
"enum": [
"vertical",
"horizontal",
"auto"
],
"type": "string",
"description": "\"vertical\" (columns, read right to left; the default), \"horizontal\" (rows), or \"auto\" (guessed from the page)."
},
"image": {
"type": "string",
"minLength": 1,
"description": "The page image, base64-encoded (JPEG, PNG or WebP), optionally as a data: URL. At most 7 MB decoded."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"mode",
"imageWidth",
"imageHeight",
"text",
"regions",
"uncertainCount"
],
"properties": {
"mode": {
"enum": [
"vertical",
"horizontal"
],
"type": "string"
},
"text": {
"type": "string",
"description": "Every region, in reading order, one per line."
},
"regions": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"confidence",
"box",
"uncertain"
],
"properties": {
"box": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"description": "In the uploaded image's pixels, after any EXIF rotation.",
"additionalProperties": false
},
"text": {
"type": "string"
},
"uncertain": {
"type": "array",
"items": {
"type": "object",
"required": [
"index",
"character",
"confidence"
],
"properties": {
"index": {
"type": "number"
},
"character": {
"type": "string"
},
"confidence": {
"type": "number"
}
},
"additionalProperties": false
},
"description": "Characters read with confidence below 0.65. index counts code points of this region's text, from 0."
},
"confidence": {
"type": "number"
}
},
"additionalProperties": false
}
},
"imageWidth": {
"type": "number"
},
"imageHeight": {
"type": "number"
},
"uncertainCount": {
"type": "number"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Read a Hán Nôm page from an image",
"readOnlyHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Nôm Na Việt (喃哪越) is a primary source for Vietnamese Hán Nôm (漢喃). Rules for using this server: 1. Chữ Nôm is NOT Chinese. Nôm readings are Vietnamese-specific and frequently differ from the Mandarin or Sino-Vietnamese reading of the same glyph. Never transfer a Chinese reading onto a Nôm character. 2. Never state a reading, meaning, or variant from prior knowledge. Call lookup_character first. Nôm is low-resource and model knowledge of it is unreliable — including for characters that look familiar. 3. Always cite the codepoint (U+XXXX) alongside any character you report. Many Nôm characters are beyond the BMP, and some are Private Use Area codepoints that have no standard mapping in any other source. 4. If lookup_character returns found=false, say so. Do not fill the gap with a guess. 5. For anything longer than one character — a phrase, a line, a sentence — use convert_text rather than looping over lookup_character. Vietnamese compounds are units, and their Nôm form is not the concatenation of their syllables' individual characters. Words convert_text returns under "unmatched" are absent from the dictionary: report them as gaps, never as characters. 6. Attribute every definition to the dictionary it came from, using the "source" and "sourceTitle" on each meaning. Dictionaries disagree, and a merged answer hides that. A null "source" means the entry predates source tracking: say it is unattributed rather than assigning it to a dictionary. A reading has no per-source attribution at all and must not be given one. A reading marked "inferred" is attested by no dictionary: it was copied from the character this one is a variant of. Say so whenever you report it. 7. When asked what a historical dictionary actually says — its wording, its examples, its full entry — call lookup_dictionary_entry. The summaries in lookup_character are not the entry, and paraphrasing one as if it were the whole record misrepresents the source. Quote 1895 spelling as printed. 8. A structural classification (A1, C2, F2 …) says how a glyph was formed or borrowed FOR THAT SENSE, which is why one headword can carry senses under different codes. Report the code; do not expand it into a claim about the character unless a tool gave you one. The printed sense markers (◎, 〄) are likewise reproduced, never translated. 9. Count before you claim. Every paged result states its own coverage; a "subentryCount" is what an entry HAS, not what you were given. Saying "all N" when you fetched fewer, or numbering a list so it appears complete when it has gaps, misrepresents the source as surely as inventing a character does. If you did not retrieve it, say how much you did.
Names, descriptions and schemas were written by the server and are shown as data.