sanjayaksaxena / wink-lemmatizer

English lemmatizer

Home Page:http://winkjs.org/wink-lemmatizer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wink-lemmatizer

English lemmatizer

Build Status Coverage Status Inline docs dependencies Status devDependencies Status

Obtain base form or lemma of a word using wink-lemmatizer. It is a part of wink — a growing family of high quality packages for Statistical Analysis, Natural Language Processing and Machine Learning in NodeJS.

Installation

Use npm to install:

npm install wink-lemmatizer --save

Getting Started

// Load wink-lemmatizer
var wl = require( 'wink-lemmatizer' );

// Lemmatize nouns
wl.lemmatizeNoun( 'knives' );
// -> 'knife'
wl.lemmatizeNoun( 'potatoes' );
// -> 'potato'
wl.lemmatizeNoun( 'men' );
// -> 'man'

// Lemmatize verbs
wl.lemmatizeVerb( 'eaten' );
// -> 'eat'
wl.lemmatizeVerb( 'pushes' );
// -> 'push'
wl.lemmatizeVerb( 'suggesting' );
// -> 'suggest'

Documentation

Check out the lemmatizer API documentation to learn more.

Need Help?

If you spot a bug and the same has not yet been reported, raise a new issue or consider fixing it and sending a pull request.

Copyright & License

wink-lemmatizer is copyright 2017-18 GRAYPE Systems Private Limited.

It is licensed under the under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.

About

English lemmatizer

http://winkjs.org/wink-lemmatizer/

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 100.0%