Published
Edited
Mar 23, 2022
Insert cell
Insert cell
nlp('are you saying boo, or boo-urns?').json({terms: {whitespace: true} })
Insert cell
Insert cell
Insert cell
{
let doc = nlp(`Your dreams may vary from those of Globex Corporation, its subsidiaries and shareholders.`)
doc.organizations().post('©', true)
return doc.text()
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
nlp(' we like Roy! we like Roy!! ').trim().text()
Insert cell
Insert cell
{
let doc = nlp(`Getting ready for whacking day? What's whacking day?`)
doc.match('whacking day').hyphenate()
return doc.text()
}
Insert cell
Insert cell
nlp(`are you saying boo, or boo-urns?`).dehyphenate().text()
Insert cell
Insert cell
{
let doc = nlp(`you could still go to McGill, the Harvard of Canada!`)
doc.match('#Noun of #Place').toQuotations()
return doc.text()
}
Insert cell
Insert cell
{
let doc = nlp(`be like boy!`)
doc.append('we like roy!').toParentheses()
return doc.text()
}
Insert cell
Insert cell
Insert cell
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more