nlp('powerful like a gorilla, yet soft and yielding like a nerf ball').match('#Adjective').out('tags')
{
letdoc=nlp('Goodbye my Coney Island baby')
returndoc.match('coney island').out('offsets')
}
{
letdoc=nlp(`What'd I say? Monorail. What's it called? Monorail.`)
returndoc.terms().out('freq')
}
{
letdoc=nlp(`The aurora borealis? At this time of year?`).debug()
letstr=doc.html({
'.red':'aurora #Noun',//a class name : match
})
returnhtml`${str}`
}
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.