
通过Python实现英文单词分割。
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
考虑到在特定情况下,所有字母均合并成一个连字符,因此我们必须将这些字母分解成独立的单词。首先,通过安装 `pip install -U symspellpy` 来引入必要的工具。其次,需要从GitHub仓库下载词典:`curl -LJO https://raw.githubusercontent.com/mammothb/symspellpy/master/symspellpy/frequency_dictionary_en_82_765.txt` 和 `curl -LJO https://raw.githubusercontent.com/mammothb/symspellpy/master/symspellpy/frequency_bigramdict`。
全部评论 (0)
还没有任何评论哟~


