Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

enclout-node

(unofficial) Enclout Language Processing API Module for NodeJs

Enclout, Stemmer, Term Analysis, Nodejs, Language Processing

readme

Build Status

Enclout-Node

Installation | Usage | License

Enclout Language Api (https://www.enclout.com) module for nodejs

Installation

npm install enclout-node

Usage

var encloutApi = require('enclout-node')
// Yes we return promises (y)
encloutApi.stemming('Fishing in the world').then(console.log).catch(function (err) {
  console.log('Got Error , ' + err)
})
/*{ text: 'Fish in the world',
  porter_stem: 'Fish in the world',
  uea_stem: 'Fish in the world',
  snowball_stem: 'Fish in the world' }*/
encloutApi.termAnalysis('Fishing in the world').then(console.log).catch(function (err) {
  console.log('Got Error , ' + err)
})

/*{ text: 'Fishing in the world',
  lemma_text: ' fish in the world' }*/

License

MIT © [Adhitya Ramadhanus]