1.0.1 • Published 5 years ago

eduir v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Eduir

Educated intent recogniser (Edu ir)

The first version of this package (v1.0.0) is simply a wrapper for molir that fixes some bugs and shortcomings.

The second version (v2.0.0) will be a standalone library based on an informed BDI (Beliefs, desire, intent) structuring

Installation

NPM

    npm i --save eduir

Yarn

    yarn add eduir

Usage

Simple classifier (built on molir)

const Eduir = require('eduir');
const classifier = new Eduir(intents, score).simpleClassifier;
classifier.classify('Test utterance')
  .then( (result) => {
    console.log(result);
  });