Published
Edited
Oct 9, 2021
2 stars
Insert cell
Insert cell
Insert cell
winkNLP = (await import('https://cdn.skypack.dev/wink-nlp@1.8.1?min')).default
Insert cell
model = import('https://cdn.skypack.dev/wink-eng-lite-web-model@1.2.2?min')
Insert cell
nlp = winkNLP( model.__moduleExports )
Insert cell
its = nlp.its
Insert cell
as = nlp.as
Insert cell
text = `Its quarterly profits jumped 76% to $1.13 billion for the three months to December, from $639million of previous year.`
Insert cell
doc = nlp.readDoc( text );
Insert cell
{
const out = html``;
yield out;
doc.entities().each((e) => e.markup());
out.innerHTML = doc.out(its.markedUpText);
}
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more