1.0.1 • Published 4 years ago
hts-code v1.0.1
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));
})();