hts-code

1.0.1 • Public • Published

HTS Classification Engine

HTS Code classifier using pretrained word embeddings; takes query text and returns most similar HTS Codes based on item description.

Installation

npm i hts-code

Usage

Module usage

let HTS = require('hts-code');
(async () => {

    let hts = new HTS();
    await hts.load();

    let results = await hts.search('Diesel truck', 2);
    console.log(JSON.stringify(results, null, 2));
})();

/hts-code/

    Package Sidebar

    Install

    npm i hts-code

    Weekly Downloads

    4

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    108 MB

    Total Files

    12

    Last publish

    Collaborators

    • gafo