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

nlp-links

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nlp-links

Link Grammar plugin for nlp_compromise

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

How to install

npm install nlp-links

How to use

var nlp = require('nlp_compromise');
nlp.plugin(require('nlp-links'));

var sen = nlp.sentence('I fed the dog').withLinks();
sen.terms[1].text.should.equal('fed');
// Each term now has links to words they are grammatically connected to
sen.terms[1].links[1].target.word.should.equal('dog');
sen.terms[1].links[1].target.label.should.equal('Os');

Source library

https://www.npmjs.com/package/link-grammar

FAQs

Package last updated on 05 Jun 2016

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