Sources and licences
Every source this edition was built from, with its licence. Last updated September 20, 2026
Tao Te Ching is operated by Technologies InstantHPI Inc. The list below is the record kept for this title; a licence says what may be done with the material it covers, and the material is used here under that licence.
Sources and licences
Everything under data/, title.json and assets/fonts/ is written by one script, _scripts/build-data.cjs. Nothing is hand-edited: when a derived value is wrong it is corrected in _scripts/corrections.json, each entry carrying the reason it exists, and the script is run again. Every source is fetched once and kept verbatim under _scripts/.cache/, and every DeepSeek answer under _scripts/.cache/ds/, so a second run needs no network and costs nothing.
The text
The Chinese text is the Wang Bi recension (王弼本) of the 道德經, 81 chapters, 598 units. It comes from the transcription of that recension on Chinese Wikisource, 道德經 (王弼本). The work is ancient and free of copyright (Wang Bi died in 249); the transcription is a community effort (its quality tag reads 75%), so the build keeps the page verbatim in the cache and applies only the 4 character fixes listed in corrections.json: a LanguageConverter marker around 谷, a small variant of the exclamation mark, one ASCII comma, and one graphic variant of 昏 normalised to the form the interface font carries (see the list for the reason of each).
A unit is one line of the text cut at 。 ; and line breaks, 4 to 20 characters long, punctuation kept. A word is what the segmentation makes of it: a single character, or a pair or triple that CC-CEDICT carries as a word; the punctuation of a unit belongs to the word before it, as the contract requires. The text of chapter 81 ends where the Wang Bi text ends, at 為而不爭。: the Wikisource page continues with Chao Yuezhi's preface and Xiong Ke's postface, which are not part of the book (corrections.json, "chapterCut").
The translations
English: James Legge, The Sacred Books of the East, volume 39, 1891 (public domain), from English Wikisource. The translation is kept chapter by chapter, and every one of the 598 units is matched to the sentence or the sentences of Legge that render it; the whole chapter translation is in chapterTr and the translation of the unit in tr.
French: Stanislas Julien, Le Livre de la Voie et de la Vertu, 1842 (public domain), from French Wikisource. The same treatment, unit by unit. Julien prints his own Chinese text beside the translation, and it differs from the Wang Bi text of this title in 40 of the 81 chapters (different characters, and commas Julien added): only his French is taken, never his Chinese.
The gloss beside a word is the contextual gloss of that word (see "The glosses" below); the French gloss is the French of it, made by DeepSeek and cached; 1755 distinct glosses are used in the title.
Text, dictionary, frequency
CC-CEDICT (CC BY-SA 4.0, as distributed by MDBG) is the dictionary of the title: it gives the traditional form of each word, its pinyin, and the senses from which the gloss of every word is chosen. Where the dictionary carries several senses of a word, the sense that fits the line is chosen, and the gloss of a word the dictionary does not carry is never invented: the word is split into the characters of its parts, or one of the 5 editorial glosses in corrections.json is used, each with its reason.
The frequency rank shown beside the gloss (4826 of the 4826 words have one) is the rank of the rarest character of the word in the public-domain texts this series teaches. This project counts the characters itself: work/han-frequency.cjs walks the complete 西遊記 (Wu Cheng'en, from Chinese Wikisource), the Wang Bi 道德經 and Xuanzang's 心經, keeps every Han character (Unicode script Han; no punctuation, Latin or digits) and ranks them by how often they occur, the most frequent first, with ties broken by code point so the order never drifts. The result is work/frequency/han-pd.json, one file for all three Chinese titles of the series. No third-party frequency list is used and no licence is owed for the ranks; where a character of a title is not in the corpus, it takes the rank of a form the CC-CEDICT pairs give for it.
The glosses
The gloss beside a word is the meaning the word carries in its line, not its dictionary entry. It is made in two steps. The first chooses, among the senses CC-CEDICT lists for the word, the sense that fits the reading the segmentation gave it, or the sense of the whole line where the segmentation left the sense number open; a word the dictionary does not carry is glossed from its parts or from an editorial gloss. That leaves a gloss that reads like a dictionary entry: chapter 1 line 1 carried 可 = "(prefix) can; may; able to; -able" and the second 道 = "to say (introducing a direct quotation, as in a novel)", and chapter 8 carried 上 = "(bound form) up; upper; above; previous". The second step gives DeepSeek, one batch of fifteen lines at a time, every word of each line as it is written, its pinyin and the whole CC-CEDICT entry of every word, together with Legge's own rendering of the line, and asks for one short English gloss per word of one to four words that fits the line as Legge reads it ("can", "be spoken", "highest"), in plain modern English, with no grammar note, no pinyin, no Han character, no emoji and a letter to begin with. An answer is kept only when every word of the batch carries exactly one such gloss, in order; a batch whose answer is rejected is asked for once more - the second answer may carry one gloss longer than four words rather than lose the whole batch over it - and, if it is rejected again, keeps the gloss of the first step, which is recorded in _scripts/.cache/gloss-report.json. Both steps write a gloss and never a boundary or a reading, so the tiling of every line is the same before and after them. Of the 4826 words of the title, 4075 were given a gloss other than the one the first step had left on them and 751 kept the wording they already had; 40 batches of 15 lines ran, 8 of them needed a second answer, and 0 fell back to the first step (none).
Strokes and font
The 598 units are written with 804 distinct characters, in 4826 words. The stroke order of 790 of them comes from Make Me a Hanzi (LGPL-3.0, with the Arphic Public License for the font-derived data), in the Hanzi Writer format the contract asks for: strokes, medians and the stroke indices of the radical. Make Me a Hanzi draws no outline for 14 of them (儽 劌 梲 燿 琭 籥 緜 繟 纇 蠆 讁 輜 闚 飂). Their lessons are composed by this build out of Make Me a Hanzi outlines of their parts: each part is a character Make Me a Hanzi draws, either standing on its own or taken out of a donor that carries it in the same position, and each part is moved into its place by a scale and a translation only. _scripts/compose-strokes.py fitted those placements against the Noto Serif TC glyph this title ships and wrote the decomposition, the donors, the stroke ranges and the boxes into _scripts/corrections.json. No stroke is drawn from a third-party glyph, so GlyphWiki is not used or credited. Every character has a file in data/strokes/, listed in data/strokes/index.json with the source it came from.
The interface font is Noto Serif TC (SIL Open Font License 1.1). The build subsets it with fontTools to the 804 characters this title needs and writes assets/fonts/NotoSerifTC.woff2, and copies the licence to assets/fonts/NotoSerifTC-OFL.txt.
The model
DeepSeek (deepseek-flash) is the only paid service this build calls, and it is called five times over the title: to segment each chapter into words with a reading and a sense number, to match each unit to the sentence or the sentences of Legge and of Julien that render it, to choose the sense of the words whose sense number the segmentation left open, to write the contextual gloss of every word (the second step of the section above), and to translate the glosses into French. Every request is cached by the hash of its body - the contextual gloss answers under _scripts/.cache/glosses/, all the others under _scripts/.cache/ds/ - so re-running the build re-reads the answers instead of buying them again. No text of the translation comes from the model: the sentences are Legge's and Julien's own, taken from the sources above.
Corrections
_scripts/corrections.json holds every deviation from the sources, each with its reason:
- 4 character fixes applied to the page text, each with its reason;
- 1 cut, where the page runs on past the end of the book with Chao Yuezhi's preface and Xiong Ke's postface;
- 5 editorial glosses for words the sources do not gloss (繟, 希, 歙, 貸, 氾);
- 20 merged words split back into their parts, where the merger had either no entry in
CC-CEDICT or an entry whose sense does not fit the line, so that gluing the characters together would have been the only way to gloss it (every split carries the line it appears in and the reason in corrections.json).
The sources
| source | licence | what is taken from it | URL | cache file | fetched |
|---|---|---|---|---|---|
| zh-wikisource | Public domain (the work of Wang Bi, d. 249). The Wikisource page is a community transcription of that work, so the transcription itself falls under the site-wide CC BY-SA 4.0 terms; the text transcribed is ancient and free of copyright. | the Chinese text of all 81 chapters, in the Wang Bi recension (王弼本), traditional characters | https://zh.wikisource.org/w/api.php?action=parse&page=%E9%81%93%E5%BE%B7%E7%B6%93%20(%E7%8E%8B%E5%BC%BC%E6%9C%AC)&prop=wikitext&format=json&formatversion=2 | _scripts/.cache/wikisource-wangbi.json | 2026-09-30 |
| en-wikisource | Public domain (James Legge, 1815-1897; The Sacred Books of the East, volume 39, 1891; the Wikisource page carries the {{PD-Old}} and {{Translation license}} templates) | the English translation, chapter by chapter, matched to the units of the Chinese text | https://en.wikisource.org/w/api.php?action=parse&page=T%C3%A2o%20Teh%20King&prop=wikitext&format=json&formatversion=2 | _scripts/.cache/en-legge-wikisource.json | 2026-09-30 |
| fr-wikisource | Public domain (Stanislas Julien, 1797-1873; Le Livre de la Voie et de la Vertu, 1842) | the French translation, chapter by chapter (81 cached pages, fr-julien-chapitre-01.json to -81.json) | https://fr.wikisource.org/w/api.php?action=parse&page=Tao%20Te%20King%20(Stanislas%20Julien)%2FChapitre%2001&prop=text&format=json&formatversion=2 | _scripts/.cache/fr-julien-chapitre-01.json | 2026-09-30 |
| cedict | CC BY-SA 4.0 (Creative Commons Attribution-ShareAlike 4.0, as distributed by MDBG) | traditional/simplified pairs, pinyin with tone marks and numbers, and the senses of every word of the title, from which its gloss is chosen; also the traditional-to-simplified map used for the frequency ranks | https://www.mdbg.net/chinese/export/cedict/cedict_1_0_ts_utf-8_mdbg.txt.gz | _scripts/.cache/cedict_1_0_ts_utf-8_mdbg.txt.gz | 2026-09-30 |
| frequency | none needed: the corpus is public domain (the complete 西遊記 from Chinese Wikisource, the Wang Bi 道德經 and Xuanzang's 心經) and the count is this project's own | the frequency rank of each character, shown next to the gloss in the study view; counted by this project from the same texts the titles teach | built in this repository; no network fetch | work/frequency/han-pd.json (and the counting tool work/han-frequency.cjs) | 2026-10-02 |
| pinyin-pro | MIT | the pinyin of a word when the segmentation left the reading empty; the tone-marked reading of every word comes from the segmentation | https://www.npmjs.com/package/pinyin-pro | titles/tao-te-ching/node_modules/pinyin-pro | - |
| makemeahanzi | LGPL-3.0 (code) and Arphic Public License (the font-derived stroke data), as distributed by Make Me a Hanzi | vector strokes and medians in Hanzi Writer format for the characters of the title that it covers (see the stroke counts above) | https://raw.githubusercontent.com/skishore/makemeahanzi/master/graphics.txt | _scripts/.cache/mmah-graphics.txt | 2026-09-30 |
| composed-strokes | LGPL-3.0 (code) and the Arphic Public License (the font-derived stroke data) for the Make Me a Hanzi outlines the parts are drawn from | the decomposition, the donor characters, the stroke ranges and the fitted placement boxes of the 14 characters Make Me a Hanzi draws no outline for; the build composes their lessons out of Make Me a Hanzi outlines under _scripts/compose-strokes.py, so no third-party glyph is drawn | built in this repository; no network fetch | titles/tao-te-ching/_scripts/corrections.json | 2026-10-02 |
| noto-serif-tc | SIL Open Font License 1.1 (Noto Serif TC, Google Fonts) | the font that is subset (variable, weight axis 200-900) to the one woff2 the app loads | https://raw.githubusercontent.com/google/fonts/main/ofl/notoseriftc/NotoSerifTC%5Bwght%5D.ttf | _scripts/.cache/NotoSerifTC-wght.ttf | 2026-09-30 |
| noto-ofl | SIL Open Font License 1.1 (the licence text itself) | the licence file, copied to assets/fonts/NotoSerifTC-OFL.txt | https://raw.githubusercontent.com/google/fonts/main/ofl/notoseriftc/OFL.txt | _scripts/.cache/NotoSerifTC-OFL.txt | 2026-09-30 |
| deepseek | Paid service of DeepSeek (https://www.deepseek.com), used under the API key in ~/.claude/.env; the terms of the service are the user's own with DeepSeek. No model output is redistributed as text: every answer is already a value of this data set (a word split, a sentence match, a sense number, a contextual gloss or a gloss translation). | the word boundaries and readings of each chapter, the sentence or sentences of Legge and of Julien that render each unit, the choice among the senses of a word, the contextual English gloss of every word, and the French glosses; every request and its answer are cached under _scripts/.cache/ds/, keyed by the request body (the contextual gloss answers under _scripts/.cache/glosses/) | https://api.deepseek.com/chat/completions | _scripts/.cache/ds/ | 2026-10-02 |
Contact
Questions about a source or a licence? Email info@instanthpi.ai.