Skip to content

Fourbits/CEDICT_Parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CEDict_Parser

CC-CEDICT is an English Chinese dictionary freely available for use in applications and other such things. It can be downloaded here: http://www.mdbg.net/chindict/chindict.php?page=cc-cedict

This Python 3 module parses a CEDict file, and returns a list of objects with following attributes:

self.traditional
self.simplified
self.pinyin
self.definition

Usage:

from CEDICT_Parser.parser import *


parser = CEDictParser()

words = parser.parse_file("data/cedict_ts.u8")

About

Python library for parsing Chinese dictionary CEDICT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%