Product
Introducing Socket Optimize
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.
This is a simple English lemmer library for Node.js using WordNet. This Library is sugar for on top of validForms.
You can learn more about Lemmatizing words on WikiPedia;
npm install lemmer
var Lemmer = require('lemmer');
Lemmer.lemmatize('fought', function(err, word){
console.log(word); // ['fight']
});
Lemmer.lemmatize(['went','and','bought], function(err, words){
console.log(words); // ['go','and','buy']
});
var Lemmer = require('lemmer');
Lemmer.lemmatize('fought').then(word){
console.log(word); // ['fight']
});
Lemmer.lemmatize(['went','and','bought]).then(words){
console.log(words); // ['go','and','buy']
});
Fore more Node.js NLP check out;
Copyright © 2015 Rob Ellis
FAQs
Wordnet Lemmer
We found that lemmer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.