fasttext-native
fastText native bindings for ⬡.js
Forked from pragonauts's fast-text
Features
- Executing prediction models
- Searching nearest neighbour
- Prebuilt binaries for Linux and macOS (Windows is not supported by fastText)
- Tracking latest fastText upstream version (currently version 0.1.0)
Usage
Prediction
There is a simple class for executing prediction models:
const path = const Classifier = const model = path const classifier = model classifier
Nearest neighbour
There is a simple class for searching nearest neighbours:
const path = const Query = const model = path const query = model query