• 请不要在回答技术问题时复制粘贴 AI 生成的内容
Johndo3
V2EX  ›  程序员

请问比较全面的英文单词词库/字典有哪些?

  •  
  •   Johndo3 · Jan 29, 2022 · 3516 views
    This topic created in 1586 days ago, the information mentioned may be changed or developed.
    遇到一个问题,需要导入指定长度的英文单词,目前没有找到比较全的词库
    各位有什么建议?
    Supplement 2  ·  Jan 29, 2022
    7 replies    2022-01-30 13:55:35 +08:00
    weakish
        1
    weakish  
       Jan 29, 2022   ❤️ 1
    > 遇到一个问题,需要导入指定长度的英文单词

    要写 woodle 外挂? github 上不少。
    Johndo3
        2
    Johndo3  
    OP
       Jan 29, 2022
    @weakish 不是,需要生成一些真实的数据用于测试。
    https://github.com/1eez/103976
    目前只找到这个比较符合,想知道还有其它更全面的吗
    xell
        3
    xell  
       Jan 29, 2022   ❤️ 3
    如果你用的是 *unix 系统(包括 macOS ),在 /usr/share/dict/ 那里就有字典。例如我这里( macOS 12.2 )的 /usr/share/dict/web2 包含 Webster's Second International 所有的 234,936 个单词。
    israinbow
        4
    israinbow  
       Jan 29, 2022   ❤️ 2
    Johndo3
        5
    Johndo3  
    OP
       Jan 29, 2022   ❤️ 1
    @xell 感谢!
    我在 Ubuntu 20.04.3 / Debian 11.3 / CentOS 8 的 /usr/share/dict/ 目录下均没有找到 web2 文件,macOS 12.2 有找到.
    搜索到一些说明,似乎是基于 BSD 的发行版会有,但是太长时间没有维护了.

    https://archive.org/download/grus-v0.2.0/web2

    我没有找到一个全面的库,但是找到两个满足基本需求的

    https://github.com/dwyl/english-words/
    https://github.com/skywind3000/ECDICT
    Johndo3
        6
    Johndo3  
    OP
       Jan 29, 2022
    @israinbow 感谢!这个正是我想找的
    joApioVVx4M4X6Rf
        7
    joApioVVx4M4X6Rf  
       Jan 30, 2022
    @israinbow 我靠这个是真的全
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5637 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 07:08 · PVG 15:08 · LAX 00:08 · JFK 03:08
    ♥ Do have faith in what you're doing.