美文网首页
Text Analysis

Text Analysis

作者: cfu13 | 来源:发表于2019-11-02 08:47 被阅读0次

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

相关文章

网友评论

      本文标题:Text Analysis

      本文链接:https://www.haomeiwen.com/subject/yxdcbctx.html