Open Chinese data and code
Open dictionaries, corpora and software libraries for building Chinese learning tools. 49 resources, from a free guide to 667 for learning Chinese.
For developers: open data and code
Stanza
Stanford NLP's open-source Python library offering neural tokenization, POS tagging, and dependency parsing for Simplified and Traditional Chinese.
For developers: open data and code
mindo-hanzi dataset
A Hugging Face dataset of characters with learning rank, word rank, stroke count, frequency and pinyin for study and analysis.
For developers: open data and code
cedict-utils
A Python parser for the CC-CEDICT dictionary, for loading its entries into scripts and applications.
For developers: open data and code
Unihan Database (Unicode)
The Unicode Consortium's database of properties for CJK ideographs, including readings, radicals and variant forms.
For developers: open data and code
SUBTLEX-CH
A psycholinguistic word and character frequency dataset derived from Chinese film and television subtitles for vocabulary research.
For developers: open data and code
CKIP Chinese Word Segmentation
A Chinese word segmentation and part-of-speech tagging service from Academia Sinica in Taiwan, with online demos for researchers and developers working with Chinese text.
For developers: open data and code
CTEXT.org
A digital library of classical Chinese texts that offers searchable editions and an API for researchers and readers.
For developers: open data and code
Tatoeba
A collaborative, open database of sentences and translations, with Chinese examples that are available for download and reuse.
For developers: open data and code
spaCy
An open-source industrial NLP library in Python with pretrained pipelines for Chinese tokenization, tagging, parsing, and entity recognition.
For developers: open data and code
CC-CEDICT
A community-maintained open Chinese-English dictionary in plain text, with pinyin, used by many dictionary and language tools.
For developers: open data and code
AISHELL-1
Open Mandarin speech corpus published on OpenSLR for speech recognition research, teaching and experiments with Chinese audio.
For developers: open data and code
AnimCJK
Open-source animated stroke-order data and graphics for Chinese characters, useful for building character-writing tools and lessons.
For developers: open data and code
Awesome Chinese NLP
A curated GitHub directory indexing open-source Chinese NLP libraries, corpora, word embeddings, and linguistic tools.
For developers: open data and code
Baidu LAC
Baidu's open-source deep-learning lexical analysis library for Chinese word segmentation, part-of-speech tagging, and named entity recognition.
For developers: open data and code
BCC Corpus
Online corpus from Beijing Language and Culture University, searchable for Chinese texts, showing how words are used in context.
For developers: open data and code
CanCLID
GitHub organisation publishing Cantonese language data and tools for research and software work in Cantonese natural language processing.
For developers: open data and code
CC-Canto
An open-source collaborative Cantonese-English dictionary dataset modeled on CC-CEDICT with Jyutping romanization and colloquial entries.
For developers: open data and code
ChhoeTaigi Database
An open-source lexical database aggregating historical and modern Taiwanese Hokkien dictionaries with Hanzi, Pe̍h-ōe-jī, and Tâi-lô.
For developers: open data and code
Chinese-Poetry (chinese-poetry project)
A collection of classical Chinese poetry in machine-readable form, published on GitHub for study and computational use.
For developers: open data and code
CJKVI-IDS
An open-source dataset of Ideographic Description Sequences breaking down tens of thousands of Chinese characters into structural components.
For developers: open data and code
CKIP Tagger
An open-source neural word segmentation, POS tagging, and named entity recognition toolkit from Academia Sinica tailored for Traditional Chinese.
For developers: open data and code
Complete HSK Vocabulary
An open-source JSON dataset containing structured HSK 2.0 and HSK 3.0 vocabulary lists with Pinyin, definitions, and frequency metadata.
For developers: open data and code
douban-crawler
Python project that collects movie and TV information from Douban into dataframes, for building data projects around Chinese media titles.
For developers: open data and code
HanLP
An open-source multilingual NLP toolkit offering neural Chinese word segmentation, part-of-speech tagging, named entity recognition, and dependency parsing.
For developers: open data and code
hanzi-writer-data
A packaged set of stroke-order data for Hanzi Writer, distributed for use in web and JavaScript projects.
For developers: open data and code
hanziconv
A compact open-source Python utility for converting strings between Traditional and Simplified Chinese characters.
For developers: open data and code
HSK 3.0 Vocabulary Dataset
An open-source CSV and JSON dataset covering all 11,000 HSK 3.0 words across levels 1 to 9 with Pinyin and examples.
For developers: open data and code
jcklie/hanzitools
A Python package for working with Chinese characters, providing access to their components, radicals and readings.
For developers: open data and code
jieba (结巴中文分词)
An open-source Python library for Chinese word segmentation, with a bundled dictionary and support for custom user dictionaries.
For developers: open data and code
Jun Da character frequency
Character and word frequency statistics for Chinese from Jun Da's research at MTSU, useful for ordering vocabulary and studying corpora.
For developers: open data and code
Kaggle Dataset
Kaggle dataset of HSK 3.0 and 2.0 Chinese vocabulary, for teachers and developers building vocabulary tools or study apps.
For developers: open data and code
Mozilla Common Voice
An open-source, crowd-contributed speech dataset and recording platform supporting Mandarin, Cantonese, Taiwanese, and Hakka voice data.
For developers: open data and code
mozillazg/pinyin-data
A dataset mapping Chinese characters to their pinyin readings, including polyphonic characters, in plain text.
For developers: open data and code
NLP Chinese Corpus
A large open-source collection of Chinese text corpora from Wikipedia, news, encyclopedias, and Q&A sites for language modeling.
For developers: open data and code
OpenCC
An open-source library for converting between Simplified and Traditional Chinese, with configurable conversion rules and bindings for several languages.
For developers: open data and code
OpenHowNet
An open-source Chinese semantic knowledge base from Tsinghua University annotating words with structured sememe definitions.
For developers: open data and code
pinyin-pro
An open-source JavaScript and TypeScript library for converting Chinese text to Pinyin with polyphone, surname, and tone formatting support.
For developers: open data and code
pkuseg
An open-source Chinese word segmentation toolkit from Peking University with domain-specific pretrained models for news, medicine, and web text.
For developers: open data and code
PyCantonese
An open-source Python library for Cantonese linguistics and NLP, offering corpus tools, Jyutping parsing, and Cantonese word segmentation.
For developers: open data and code
PyPinyin
An open-source Python library that converts Chinese characters into Pinyin with phrase-aware polyphone handling and multiple tone styles.
For developers: open data and code
SnowNLP
An open-source Python library for Chinese text processing including word segmentation, sentiment analysis, summarization, and Pinyin conversion.
For developers: open data and code
Taibun
An open-source Python library for converting Taiwanese Hokkien Hanzi into Tâi-lô, Pe̍h-ōe-jī, and Zhuyin with word segmentation.
For developers: open data and code
THULAC
An open-source lexical analyzer from Tsinghua University providing fast Chinese word segmentation and part-of-speech tagging.
For developers: open data and code
unihan-json
A conversion of the Unihan database into per-property JSON files, for projects that want to read Unihan without parsing its text format.
For developers: open data and code
WenetSpeech
An open-source multi-domain Mandarin speech corpus containing over 10,000 hours of transcribed audio for speech recognition research.
For developers: open data and code
Wiktextract
A tool that extracts structured dictionary data from Wiktionary, including Chinese entries in many languages, for use in software.
For developers: open data and code
wordfreq
Open-source Python library and word-frequency data for many languages, including Chinese, for building vocabulary lists and language tools.
For developers: open data and code
xpinyin
A simple open-source Python module for translating Chinese characters into Pinyin with tone marks or numeric tones.
For developers: open data and code
zhconv
A lightweight pure-Python library for converting Chinese text between Simplified, Traditional, and regional character standards.
Filter these in the full guide, by price, platform or what they help with.