Published
Edited
Jul 7, 2021
1 fork
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
{
const doc = nlp.readDoc( text );
// Place every sentence in a new row of the table by using .markup() api.
doc.sentences()
.each((e) => e.markup('<tr><td>', '</td></tr>'));
// Return as HTML.
return html`${'<table><tr><th>Sentences</th>'+doc.out(its.markedUpText)+'</table>'}`;
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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