Skip to content

v1.3.0

Choose a tag to compare

@vunb vunb released this 13 May 10:29
· 34 commits to master since this release
b46a3de

🔊 Release Notes

👉 Refactor api usage convention: lowerCamelCase for pre-trained class, UpperCamelCase for utility class.
👉 Mark depredicated api: wordSent, getDictionary, Langid.
👉 Rename wordSent to WordTokenizer.
👉 Format tagger output for tasks: pos tagging, chunking, ner.

Examples:

var vntk = require('vntk');
var ner = vntk.ner(new_model_path);

console.log(ner.tag('Chưa tiết lộ lịch trình tới Việt Nam của Tổng thống Mỹ Donald Trump', 'text'))
// Chưa  tiết lộ  lịch trình  tới [LOC Việt Nam] của  Tổng thống [LOC Mỹ] [PER Donald Trump]