Skip to main content

无道词典增强版。对原有的无道词典的功能进行了修复和增强。

Project description

无道词典增强版

pyplat


本项目基于无道词典,对其原有功能进行了修复、优化和增强。

有什么变化?

以下是无道词典增强版与原无道词典功能的简要对比。

功能 无道词典增强版 无道词典
Python版本 3.8+,使用更新的语法 理论上支持Python3全版本
离线词典 支持 支持
离线词典形式 sqlite3数据库 自定义词表
词典服务进程 启动快 启动慢
词典服务进程实现 Python实现,随机端口 依赖shell脚本,固定端口
安装方法 打包上传pypi,
支持pip安装
git克隆仓库,
运行安装脚本
在线词典 支持 已失效
生词本 暂不支持 支持
自动补全 暂不支持 支持
词条上报 已移除相关功能 已失效

截图

英汉:

En_Zh Demo

汉英:

Zh_En Demo

功能特性

  1. 基础词典,同时支持离线和在线查询(20w英汉查询 + 10w汉英查询 + 网络词库)
  2. 词组查询功能(例如直接输入wd in order to)
  3. 交互模式(wd -i进入,可以连续查词)

如何安装?

pip install wudao-dict-plus

使用说明

运行wd -h查看使用说明。

$ wd -h
usage: wd [-h] [-k] [-i] [-o] [-s | -l] [--online {yes,no}] [--short {yes,no}] [word [word ...]]

无道词典增强版 - 一个简洁优雅的命令行词典

positional arguments:
  word               要查询的单词或短语

optional arguments:
  -h, --help         show this help message and exit
  -k, --kill         退出服务进程
  -i, --interactive  进入交互模式(未经测试,可能会出现未知错误)
  -o, --online-once  仅本次查询优先获取在线释义
  -s, --short-once   仅本次查询启用简明模式
  -l, --long         仅本次查询关闭简明模式
  --online {yes,no}  是否强制优先获取在线释义,全局生效
  --short {yes,no}   是否启用简明模式,全局生效

支持英汉互查的功能,包含释义、词组、例句等有助于学习的内容。

查词时可以直接使用wd 词语查汉英词典,或wd word查英汉词典(可以自动检测)。

小贴士

  1. 如果您不想看到例句, 请使用wd -s关闭。
  2. 查询词组直接键入类似wd take off即可.

致谢

  • 感谢原无道词典项目及其作者对本项目的启发。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wudao_dict_plus-3.2.0.tar.gz (57.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wudao_dict_plus-3.2.0-py3-none-any.whl (56.7 MB view details)

Uploaded Python 3

File details

Details for the file wudao_dict_plus-3.2.0.tar.gz.

File metadata

  • Download URL: wudao_dict_plus-3.2.0.tar.gz
  • Upload date:
  • Size: 57.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for wudao_dict_plus-3.2.0.tar.gz
Algorithm Hash digest
SHA256 221561a9976b95e8d6048adde6bc186bd9fac08e4d6e73335470b3154d313e18
MD5 8c5b01c6662b4b5a8cf84597105fd074
BLAKE2b-256 2e746eacc92aa31b2a7ad991506e74e2caa7e011cbb1ef9981ad49b75116c289

See more details on using hashes here.

Provenance

The following attestation bundles were made for wudao_dict_plus-3.2.0.tar.gz:

Publisher: pypi.yml on Syize/Wudao-dict-plus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wudao_dict_plus-3.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wudao_dict_plus-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22030903a2a8b88ef17898acb3e6b56b85a23f1f877abe87ad95743a4d778853
MD5 9e1e96c3c9006160520ddf27aeed99e3
BLAKE2b-256 0f383d9b69bf990654862194bfd6dae7ee816e9a6c9c0938fd724fe810d0b249

See more details on using hashes here.

Provenance

The following attestation bundles were made for wudao_dict_plus-3.2.0-py3-none-any.whl:

Publisher: pypi.yml on Syize/Wudao-dict-plus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page