Tokenizer
You can directly use an instance of this class.
tokenizer
This Tokenizer class is for tokenizer sentence
Example:
[EXAMPLE ERROR! /home/huynhnguyen/github/causality/packages/causality-preprocessing/src/Tokenizer/tokenizer.js, /home/huynhnguyen/github/causality/packages/causality-preprocessing/nlpPreprocessing.babel.js]
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
async connect(link: *) |
|
public |
encode(text: *): * |
|
public |
tokenize(text: *, asEncode: boolean): * |