知识卡片
停用词规则按任务验证并固定
工具和领域的停用词集合不同,会直接改变词表与特征,复现实验时需保存实际列表。词表只减少少量类型未必显著节省资源,删除高频出现项又可能改变非零数量;性能收益应实测,不能按列表短就判断完全无用。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 思维的词元
原书出处 · 1 处
- · 查看原书依据
The spaCy and NLTK packages include a variety of predefined sets of stop words for various use cases.21 You probably won’t need a broad list of stop words, like the one in listing 2.2, but if you do, you’ll want to check out both the spaCy and NLTK stop word lists. If you need an even broader set of stop words, you can use Searx22,23
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第02章《思维的词元》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-2.html)
- 结论依据:摘录中关于停用词规则按任务验证并固定的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:The spaCy and NLTK packages include a variety of predefined sets of stop words for various use cases.21 You probably won’t need a broad list of stop words, like the one in listing 2.2, but if you do, you’ll want to check out both the spaCy and NLTK stop word lists. If you need an even broader set of stop words, you can use Searx22,23