New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

keywordfromphrase

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keywordfromphrase

This module will give keyword array from the provided pharse.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Phrase parser to extract keywords

Parse provided string of phrase, and extract keywords from that phrase to use in verious place. parser remove stop words from the staring using stopword npm module

Installation

Install with npm

npm install keywordfromphrase

Usage

Include the module

var extractkeywords = require('keywordfromphrase');

Parse some phrase using this, with word frequancy 1 or greter

var keywords = extractkeywords(1,'This is test example, of parseing to get keywords');
console.log(keywords); // ['test', 'example', 'parseing', 'keywords']

Parse some phrase using this, with word frequancy 2 or greter

var keywords = extractkeywords(3,'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.');
console.log(keywords); // ['Lorem', 'Ipsum', 'dummy', 'text','industry']

Notes

Module use stopword as dependancy

License

ISC

Keywords

FAQs

Package last updated on 31 May 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