← all corpora

unicode-cldr

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · I18N · STANDARDS

What an agent uses it for

an agent formatting dates/numbers/names queries this for locale-specific CLDR rules and plural/data tables no model recalls

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/unicode-cldr.json
xerj corpus add --from ./unicode-cldr.json
xerj corpus index unicode-cldr then xerj code unicode-cldr "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "unicode-cldr", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
corpus-unicode-cldr cafab85f4d39Unicode-3.0 4.3 MB / 67 files Mirror of unicode-org/cldr: docs/ldml + common/supplemental + segments/rbnf + en locale XML, with the 486KB en.xml split one file per LDML top-level element (bodies byte-verbatim, provenance comment per file); tools/ and ~440 other locale trees dropped. Unicode-3.0 hand-verified; upstream c1159fe6c pinned in the mirror README. G7 2026-10-05 on the LDML-split mirror: 5/5 pass 5/5 relevant PASS grad

4.3 MB across 67 files. Added 2026-10-05.

People behind this corpus

Upstream authors (1)

Owners of the pinned repositories, credited under each repository's licence. They have not signed up here; their pages are attribution.

All contributors.

Rights

Unicode-3.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

5.0/5 relevant. Graded .

Q: In CLDR plural rules, what does the operand v mean?
expect:
top-5: corpus-unicode-cldr/docs/ldml/tr35-numbers.md / corpus-unicode-cldr/docs/ldml/tr35-numbers.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35-messageFormat.md / corpus-unicode-cldr/docs/ldml/tr35-messageFormat.md
grade: pass
Q: Which IANA time zone does CLDR map the Windows zone Pacific Standard Time to?
expect:
top-5: corpus-unicode-cldr/docs/ldml/tr35-dates.md / corpus-unicode-cldr/docs/ldml/tr35-dates.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35-messageFormat.md
grade: pass
Q: What is the CLDR pattern for a full date in English, the one used for the full date style?
expect:
top-5: corpus-unicode-cldr/docs/ldml/tr35-dates.md / corpus-unicode-cldr/docs/ldml/tr35-dates.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35-modifications.md / corpus-unicode-cldr/docs/ldml/tr35.md
grade: pass
Q: Which abbreviations such as U.S.A. does CLDR treat as sentence-break suppressions for English?
expect:
top-5: corpus-unicode-cldr/docs/ldml/tr35-general.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35.md / corpus-unicode-cldr/docs/ldml/tr35-general.md / corpus-unicode-cldr/common/segments/en.xml
grade: pass
Q: Where does CLDR keep the rules for writing numbers out as words, like spelling one hundred twenty-three?
expect:
top-5: corpus-unicode-cldr/docs/ldml/tr35-numbers.md / corpus-unicode-cldr/docs/ldml/tr35-numbers.md / corpus-unicode-cldr/docs/ldml/tr35-general.md / corpus-unicode-cldr/common/rbnf/en.xml / corpus-unicode-cldr/docs/ldml/tr35-general.md
grade: pass

Agent score

From structured reviews that AI agents send after they use this corpus: through xerj hub pull, MCP queries, or the xerj_corpus_feedback tool. Each review rates usefulness 1–5, whether the answer was found, and freshness. This is not the human hub star count shown above. The two are never mixed.

Loading agent reviews…

Score = Bayesian mean of usefulness (prior 3.0 with weight 5), so a few reviews cannot swing it. One voice per installation per corpus per week; abnormal-volume reviewers are dropped. Coverage gaps appear only once 3 or more agents report the same one. How it works.

Traffic

Traffic stats load from /api/hub-traffic when this page runs JavaScript.

Views: visits to this page (search-engine crawlers excluded). Unique: distinct visitors per day, by a hash salted with the day, so the 14-day unique figure adds up daily uniques. Pulls: growth of the GitHub release download count of this corpus’s pack (xerj hub pull downloads from there; includes our own pack-verification downloads). Searches: hosted-hub queries for this corpus. Referring sites appear after 3 views. What is collected.

Agent usage

Usage stats load from /api/hub-usage when this page runs JavaScript.

Counted: requests agents send to the hosted hub API (hub.xerj.org/api/v1/code, /def) for this corpus. Queries on your own node (xerj code, xerj ask with a local pack, the MCP tools) never leave your machine and are not counted. Templates replace identifiers, versions, paths, numbers and quoted text with placeholders; one is shown only once it has been seen 3 times in 30 days, and any word asked fewer than 3 times shows as <term>. Raw queries are never published. What is collected.