Socket
Socket
Sign inDemoInstall

node-keyword-extractor

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-keyword-extractor

[![NPM](https://nodei.co/npm/node-keyword-extractor.png)](https://nodei.co/npm/node-keyword-extractor/)


Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Install size
657 kB
Created
Weekly downloads
 

Readme

Source

node-keyword-extractor

NPM

Introduction

文章からキーワードを抽出する。 単純に形態素解析した結果だと形態素が細かくなってしまう場合があるため名詞連結を行っている。

Quick Start

Install

npm install node-keyword-extractor

Example

const keywordExtractor = require('node-keyword-extractor');

keywordExtractor.parse('すもももももももものうち').then(tokens => console.log(tokens));

Result

[ { surface: 'すもも', features: '名詞,一般,*,*,*,*,すもも,スモモ' },
  { surface: 'も', features: '助詞,係助詞,*,*,*,*,も,モ' },
  { surface: 'もも', features: '名詞,一般,*,*,*,*,もも,モモ' },
  { surface: 'も', features: '助詞,係助詞,*,*,*,*,も,モ' },
  { surface: 'もも', features: '名詞,一般,*,*,*,*,もも,モモ' },
  { surface: 'の', features: '助詞,連体化,*,*,*,*,の,ノ' },
  { surface: 'うち', features: '名詞,非自立,副詞可能,*,*,*,うち,ウチ' } ]

Keywords

FAQs

Last updated on 17 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc