Skip to content

v1.4.0

Compare
Choose a tag to compare
@vunb vunb released this 30 May 07:49
· 28 commits to master since this release
4254239

🔊 Release Notes

👉 Add crfsuite api, fix #38
👉 Add an example and guide how to build an NLP API Server, fix #36
👉 Update core dependencies
👉 Update readme

CRFSuite API:

var crfsuite = require('vntk').crfsuite()
var tagger = new crfsuite.Tagger()
var trainer = new crfsuite.Trainer()

Run NPL API Server

# Clone the repository
git clone https://github.com/vunb/vntk

# Move to source code folder
cd vntk

# Install dependencies
npm install

# Run NLP API server
npm run server

# Copy and paste the following link to your browser to see result in action
# http://localhost:3000/api/tok/Phó Thủ tướng Vương Đình Huệ yêu cầu điều chỉnh tên gọi “trạm thu giá” BOT