NPL
Natural Text Processing 基本上就是个词没什么意思
N-gram
所谓N-gram就是把一个句子、段落、文章按照N个字的顺序给分开。拿"The cow jumps over the moon".举例,
N=2的时候,这句话就变成了。
- the cow
- cow jumps
- jumps over
- over the
- the moon
N=3的时候,这句话就变成了。
- the cow jumps
- cow jumps over
- jumps over the
- over the moon
网友评论