A winkNLP document object is a collection of items (sentences, entities, tokens...) and various methods.
// import the winkNLP library and a language model first
import winkNLP from 'https://cdn.skypack.dev/wink-nlp';
import winkModel from 'https://cdn.skypack.dev/wink-eng-lite-web-model';
const nlp = winkNLP(winkModel);