知识卡片
连续词组保留局部顺序线索
n-gram通常指恰好n个连续单位,1到n元组合则需另说范围。将ice cream和not bad这样的组合当特征,可保留部分邻接语境,但不保证完整否定作用域,也不要求每个组合本身有特殊词义。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 思维的词元
原书出处 · 1 处
- · 查看原书依据
An n-gram is a sequence containing up to n elements that have been extracted from a sequence of those elements, usually a string. In general, the elements of an n-gram can be characters, syllables, words, or even symbols (e.g., A, D, and G to represent the chemical amino acid markers in a DNA or RNA sequence).17
参考来源
- 位置:《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)
- 结论依据:摘录中关于连续词组保留局部顺序线索的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:An n-gram is a sequence containing up to n elements that have been extracted from a sequence of those elements, usually a string. In general, the elements of an n-gram can be characters, syllables, words, or even symbols (e.g., A, D, and G to represent the chemical amino acid markers in a DNA or RNA sequence).17