ml-utils.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

ML-Utils.js (Machine Learning Utils)

A small package that helps developers in machine learning processes

Installation

npm install --save ml-utils.js

Usage

const MLUtils = require('ml-utils.js');
const mlu = new MLUtils();

const test = mlu.getLanguageSync('Γειά, τι κάνεις; Όλα καλά;');
console.log(test); // 'el'

Methods

Language detection: getLanguageSync() or getLanguage()

Sentiment detection: getSentimentSync() or getSentiment()

Text similarity: getSimilaritySync() or getSimilarity()

Sentence tokenizer: getTokensSync() or getTokens()

k-means clustering: getClusters()

Readme

Keywords

none

Package Sidebar

Install

npm i ml-utils.js

Weekly Downloads

7

Version

1.0.7

License

MIT

Unpacked Size

10.1 kB

Total Files

5

Last publish

Collaborators

  • johnmakridis