gramophone:节点库从文本中提取关键字

时间:2021-05-18 12:01:20
【文件属性】:
文件名称:gramophone:节点库从文本中提取关键字
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-18 12:01:20
JavaScript 留声机 从文本中提取最常用的关键字和短语。 它不包括常见的停用词。 它可以配置为提取任意长度的短语(ngram),而不仅仅是关键字。 // Get the top two most commonly used phrases of two more words in the Stream Handbook request ( 'https://github.com/substack/stream-handbook/blob/master/readme.markdown' ) . pipe ( gramophone . stream ( { ngrams : 2 , html : true , limit : 2 } ) ) . on ( 'data' , console . error . bind ( console ) ) ; 将写出: readable strea
【文件预览】:
gramophone-master
----.gitignore(13B)
----package.json(510B)
----.travis.yml(35B)
----LICENSE(2KB)
----index.js(7KB)
----README.md(6KB)
----stopwords.json(5KB)
----test()
--------transform-stream.js(759B)
--------extract.js(4KB)
--------stream.js(412B)

网友评论