given an array of words and tags, it:
- reads a
./model.js
file, if exists - creates a suffix trie,
- updates it with tag probabilities
import {add, get, trim, pack, unpack} from 'endofactor'
suffix trie classifier
given an array of words and tags, it:
./model.js
file, if existsimport {add, get, trim, pack, unpack} from 'endofactor'
suffix trie classifier