explaingit

imlooh/open-tangut

Analysis updated 2026-07-25

0PythonAudience · researcherComplexity · 3/5Setup · moderate

TLDR

Open Tangut collects and organizes data about the Tangut script, a medieval Chinese writing system. It includes scrapers that pull from multiple sources, an OCR experiment for recognizing characters from images, and a browser app for searching the results.

Mindmap

mindmap
  root((repo))
    What it does
      Collects Tangut script data
      OCR from images
      Browser search app
      Feeds Tangutpedia
    Data sources
      English Wiktionary
      Japanese Wiktionary
      Chinese Wiktionary
      CCAMC database
    Search features
      Search by character
      Search by component
      Draw to recognize
      Upload image
    Tech stack
      Python standard library
      JSONL data format
      Optional OCR deps
      Tangut fonts included
    Audience
      Linguistics researchers
      Medieval China scholars
      Contributors welcome

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Look up Tangut characters by meaning, pronunciation, or component parts in a browser app.

USE CASE 2

Draw or upload an image of a Tangut character and let the app try to recognize it.

USE CASE 3

Run the data pipeline to scrape, merge, and build vocabulary files from Wiktionary and CCAMC sources.

USE CASE 4

Browse Tangutpedia-style records covering the full Tangut Unicode range with multi-language definitions.

What is it built with?

PythonJSONLOCRWiktionary

How does it compare?

imlooh/open-tangut0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audienceresearchergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Python 3.9+ and optional dependencies for image processing and OCR, contributors must avoid pushing directly to the main branch.

In plain English

Open Tangut is a project that gathers and organizes information about the Tangut script, a writing system used by the Western Xia dynasty in medieval northwestern China. The project collects data from English, Japanese, and Chinese Wiktionary, plus a source called CCAMC (a Chinese character database). It also experiments with recognizing Tangut characters from images using OCR, and includes a browser app for searching and browsing the collected data. The data covers the full Tangut range in the Unicode standard, which assigns numbers to characters so computers can display them. The main output feeds a free online dictionary called Tangutpedia. The maintainer, who goes by Looh, is still verifying the collected vocabulary and plans to add a 2025 reconstruction of Tangut pronunciation. Contributors are welcome, but since there is a single maintainer, pull requests should not go directly to the main branch. The browser app lets users search by the character itself, its Unicode codepoint, its English or Chinese meaning, its pronunciation, or its structure (how it is built from simpler components). You can navigate by dictionary index across several reference systems, step through characters by codepoint, search by component parts, draw a character for recognition, or upload an image. The app uses three Tangut fonts that ship with the repository. The data pipeline runs in stages: scrapers pull from Wiktionary and CCAMC, a merger script combines and cleans the results, and a final step builds vocabulary files. All data is stored in JSONL format, meaning one JSON object per line, which is convenient for large datasets. Each character record follows a defined schema with fields for the character, its codepoint, stroke counts, radical, structural composition, definitions in three languages plus synonyms, pronunciations from multiple scholarly reconstruction systems, example vocabulary, metadata like dictionary indexes, font variants, and source URLs. Missing values are handled gracefully by the app. The project is written in Python 3.9 or later and relies mostly on the standard library, with optional dependencies for image processing and OCR. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Using the Open Tangut browser app, search for Tangut characters by their English meaning and display the codepoint, pronunciation, and structural composition for each result.
Prompt 2
Set up the Open Tangut data pipeline to scrape entries from English, Japanese, and Chinese Wiktionary, merge the results, and build JSONL vocabulary files.
Prompt 3
Upload an image of a Tangut character to the Open Tangut app and use the OCR recognition feature to identify the character and show its dictionary entry.
Prompt 4
Search the Open Tangut dataset by component parts to find all Tangut characters that share a given radical or structural element.

Frequently asked questions

What is open-tangut?

Open Tangut collects and organizes data about the Tangut script, a medieval Chinese writing system. It includes scrapers that pull from multiple sources, an OCR experiment for recognizing characters from images, and a browser app for searching the results.

What language is open-tangut written in?

Mainly Python. The stack also includes Python, JSONL, OCR.

How hard is open-tangut to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is open-tangut for?

Mainly researcher.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.