Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-keyword-extractor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

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/)

  • 0.9.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
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

Package last updated on 17 Feb 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc