Skip to content

hupong/mdict-parser-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdict-parsr-java

.now a library!
.now supports lzo
.no encryption other than ripemd128 key-info encryption.

一、mdx parse && search

image in above example image,it takes 5.8ms to query/locate an key entry on average ,
and in total it takes 6ms to query/locate an entry and then extract it's contents.

二、mdd parse && search

image in above example image,it takes 24ms to query/locate an entry and then extract it's contents.
in better cases,it takes only 6~8ms.

三、details

  • use red-black tree and binary searching list to implement dict funcitons.
  • credits to wang's mdict python parser and Feng Dihai(@fengdh).

enjoy!~

About

Mdict query library in java. Initially converted from xiaoqiangWang's python codebase for mdict dictionary format analysis.~。~

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%