letdoc=nlp(`and if we could all be more like little Ruttiger...`,{'little ruttiger':'NickName'})
returndoc.export()
}
{
letdoc2=nlp.import(output)
returndoc2.match('#NickName+').text()
}
{
letdoc=nlp('the long and winding road')
letoutput=doc.export()
output.version=nlp.version
returnoutput
}
nlp={
letnlp=awaitrequire('compromise@latest')
letplugin=awaitrequire('compromise-export')
nlp.extend(plugin)
returnnlp
}
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.