Files
fd-dictionaries/README.md
T
2026-10-02 22:51:03 +08:00

33 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# FreeDict —— 自由双语词典
FreeDict 项目旨在提供自由(开源)的词典数据库,供人与机器共同使用。其官方主页为 <https://freedict.org>,您可在该处找到词典使用与开发的文档。
## 词典来源
本仓库仅收录人工编写的词典,并非 FreeDict 的官方源。请访问 <https://freedict.org/downloads> 查看全部来源,或访问 <https://download.freedict.org/generated> 查看导入/自动生成的词典。
## 开发
所有词典均以 [TEI(第 5 版)][tei_v5] 编码,这是一种灵活的用于记录人类语言的 XML 格式。FreeDict 项目既提供词典,也提供样式表,可将 TEI 数据库转换为人类可读的格式。
目前支持 [dict 格式][dict] 与 [SLOB 格式][slob]。
开发文档见我们的 wiki:<https://github.com/freedict/fd-dictionaries/wiki>。
## 安装
您可在 Debian 系 GNU/Linux 发行版(以及 Ubuntu、Mint 等衍生发行版)与 Arch Linux 上安装预编译的词典,请查阅您的包管理器。
若仍希望从源码构建且不愿阅读 wiki,以下是快速上手指南:
- 获取 <https://github.com/freedict/tools>,将其克隆至不含空格的路径,并设置名为 `FREEDICT_TOOLS` 的环境变量指向该路径。
- 切换至您的词典目录,尝试 `make help`。构建时通常只需 `make`(前提是已安装 tei2slob 与 xsltproc)。亦可禁用部分输出格式,向友好的构建系统求助:`make help`。
[dict]: https://en.wikipedia.org/wiki/DICT
[slob]: https://github.com/itkach/slob/wiki/Dictionaries
[tei_v5]: https://en.wikipedia.org/wiki/Text_Encoding_Initiative
## 关于本镜像
本仓库系 freedict/fd-dictionaries 的忠实镜像。原项目以 GPL-3.0-or-later 许可发布(FreeDict 项目政策),著作权归原作者所有。上游版本系经 codeload 解压获得,本镜像未保留本地 git 历史;抓取于 2026-10-02;来源与完整许可见本仓 LICENSE。