Skip to content

Pingze-github/bdictParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

bdictParser

百度词典(.bdict)解析。Python3编写。

使用

from bdictParser import bdict_parser

# 从文件
words = bdict_parser.parse_file('热门游戏.bdict')
print(words)

# 从数据
with open('热门游戏.bdict') as f:
    words = bdict_parser.parse(f.read())
print(words)

说明

借鉴了buaahsh/bdictDecoder

About

百度词典(.bdict)解析。Python3编写。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages