-
Notifications
You must be signed in to change notification settings - Fork 63
Home
Nhữ Bảo Vũ edited this page Mar 17, 2018
·
1 revision
VNTK is a toolkit and used in many simple applications which apply NLP (Natural Language Processing) techniques, especially Vietnamese.
- Documentation (vietnamese): https://vntk.yeu.ai/
- Chat for fun: https://gitter.im/vntk/Lobby
- Use camelcase without parameters
- Example:
var pos = require('vntk').posTag()
- Use camelcase with a parameter as an input
- Example:
var ner = require('vntk').ner('/path/to/custom/re-trained.model')
- Initialize an instance with
new
operator - Class are defined with upper camelcase
- Example:
const fasttextClassifier = new vntk.FastTextClassifier(model)
An easy way to create chatbots is to use vntk-chatbot-framework, in two ways:
- Clone reposity vntk-chatbot-framework
git clone https://github.com/vntk/vntk-chatbot-framework my-chatbot
cd my-chatbot
npm install
npm run setup
npm start
- Use NPM:
npm install @vntk/cli -g
vntk-chatbot create my-chatbot
cd my-chatbot
npm install
npm run setup
npm start