Skip to content

A small Python script for converting CC-CEDICT text file into a SQLite database

Notifications You must be signed in to change notification settings

takumif/cedict_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

cedict_parser

A small Python script for converting CC-CEDICT text file into a SQLite database. Sample data obtained from the MDBG website, and licensed under Creative Commons Attribution-Share Alike 3.0.

Usage

python cedict_parser.py path_to_cedict_text_file path_to_db_to_create_(optional)

If no database file name is given, it defaults to cedict.db.

Database Format

Table: Entries

Attribute Type
traditional TEXT
simplified TEXT
pinyin TEXT
english TEXT

Example data:

Attribute Value
traditional
simplified
pinyin gui1
english tortoise/turtle

About

A small Python script for converting CC-CEDICT text file into a SQLite database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages