PROVENANCE & LICENCES · 开源致谢

Credits & licences · 数据与许可

LingoFruit Chinese runs offline-first in your browser using a mix of our own original lessons and openly licensed community datasets and libraries. Here is plainly what we wrote and what comes from others.

WHAT IS OURS vs. THIRD-PARTY

Content boundary

We keep a clear line between teaching material authored for LingoFruit and reference data adapted from open projects. None of the upstream authors or the Ministry of Education endorse this site.

Original to LingoFruit

  • Everyday scenes (/scenes/): 18 original dialogue lessons, phrase breakdowns, and scene ordering quizzes.
  • Core grammar explainers (/grammar/): 70 grammar lessons, common mistakes, and multi-solution ordering drills.
  • Original graded readings (/library/readings.html): 140 original graded passages paired with 70 HanPit passages (210 readings total) and per-passage glossaries.
  • Curated starter examples & prompts: 100 hand-written example sentences in study/data.js, polyphonic character examples in pinyin/data.js, and model phrases in /speaking/.
  • Studio interface & tools: site layout, spaced-repetition logic, text segmentation UI, printable flashcards, and local-storage persistence.

From open datasets & libraries

  • Example sentences: 13,828 real-world sentences in study/examples.json from Tatoeba.
  • Sentence-ordering bank: 1,773 HSK 1–4 ordering items in practice/ordering.json from SentenceCoach.
  • HSK syllabus, readings & glosses: 11,092 vocabulary entries, 572 grammar patterns, and 70 of the 210 graded passages from HanPit and CC-CEDICT.
  • Stroke order, variants & pinyin engine: 9,565 characters from Make Me a Hanzi, plus Hanzi Writer, OpenCC, and pinyin-pro.
  • Official HSK papers (/exams/): external links only to Chinese Testing International (CTI); we do not host their files.
SHIPPED DATASETS

Datasets & what we changed

Tatoeba example sentences

CC BY 2.0 FR
Source
Tatoeba community sentence corpus (CC BY 2.0 FR).
Where used
HSK Study (study/examples.json) — 13,828 Chinese–English sentence pairs covering 7,699 headwords when no curated LingoFruit example is present.
What we changed
Filtered and indexed pairs by HSK headword (at most 2 sentences per headword) into a single lazily fetched JSON file. Every displayed Tatoeba sentence links back to its original page at https://tatoeba.org/en/sentences/show/<id>.

SentenceCoach HSK 1–4 sentence ordering

CC BY-SA 4.0
Source
By Cheng Xu (SentenceCoach), licensed under CC BY-SA 4.0 (local legal text). Note on provenance: the upstream sentence bank is AI-assisted and not individually human-verified upstream.
Where used
Sentence gym (practice/ordering.json) — 1,773 ordering items across HSK 1 (388), HSK 2 (528), HSK 3 (542), and HSK 4 (315).
What we changed
Recomputed every item's HSK level (1–4) against the 2021 standard (GF0025-2021) vocabulary lists, split token arrays so grammatical particles stand alone, and separated trailing punctuation into a punct field.

HanPit — graded readings, grammar index & vocabulary lists

MIT
Source
Giacomo Manfucci, HanPit (MIT licence; full upstream notes in README.md and THIRD_PARTY_NOTICES.md). Retains upstream MIT transcription notices from Ivan Krasilnikov (ivankra/hsk30) and Yanis Zafirópulos / Dr.Kameleon (complete-hsk-vocabulary).
Where used
Reference Library, Graded Readings (70 of 210 passages), HSK Study (11,092 words), Batch Import, Pinyin Toolkit, and homepage search.
What we changed
Bundled HanPit's level-1.json–level-7.json, 572-point grammar index, and 70 HanPit reading passages locally without modifying their Chinese text or pinyin; added 140 original LingoFruit passages (210 total); and shortened multi-sense English glosses on flashcard faces for readability.

CC-CEDICT

CC BY-SA 4.0
Source
CC-CEDICT, published by MDBG and maintained by the CC-CEDICT community (based in part on CEDICT, copyright 1997, 1998 Paul Andrew Denisowski). Distributed under CC BY-SA 4.0 (with the pinned 2013 snapshot's CC BY-SA 3.0 notice retained).
Where used
Supplies the English glosses inside library/data/level-1.json–level-7.json, pinyin/data/words.json, HSK Study, Card Studio, and Sentence gym card export.
What we changed
Inherited HanPit's pronunciation-qualified gloss selection and editorial corrections; UI views truncate long semicolon-separated gloss lists to the primary 2–3 senses without changing the shipped JSON files.

Make Me a Hanzi

LGPL-3.0+ & Arphic Public License
Licence (exact)
Per the bundled COPYING file: dictionary.txt is derived from Unihan and CJKlib and may be redistributed and/or modified under the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the license or (at your option) any later version. graphics.txt is derived from Arphic PL KaitiM GB and Arphic PL UKai and may be redistributed and/or modified under the Arphic Public License as published by Arphic Technology Co., Ltd.
Where used
Character Studio (characters/*.json, 9,565 characters) and animated stroke-order practice (cards/ink/*.json).
What we changed
Converted and sharded the dictionary metadata and SVG stroke paths into compact local JSON shards for fast on-demand lookup in the browser.
OPEN-SOURCE LIBRARIES

Bundled libraries

Hanzi Writer

MIT

Animated stroke-order rendering and interactive handwriting quizzes in Word & Character Studio. Copyright (c) 2014 David Chanin. Bundled locally with no external CDN calls.

OpenCC

Apache 2.0

Simplified-to-traditional character variant mappings shipped in characters/variants.json so learners can inspect traditional equivalents alongside simplified forms.

pinyin-pro

MIT

Character-to-pinyin conversion, initials/finals/tone analysis, and polyphonic detection (v3.29.5 by zh-lx) powering Pinyin Toolkit. Vendored locally with zero runtime changes.