Public
Edited
Nov 24, 2022
5 stars
Insert cell
Insert cell
nlp('Somebody once told me the world is gonna roll me').match('#Verb').out('array')
Insert cell
nlp('Somebody once told me the world is gonna roll me').verbs().out('array')
Insert cell
Insert cell
Insert cell
nlp('a buck eh, that gives me an idea').verbs().json()[0]
Insert cell
Insert cell
nlp("it's quite funny").match('is').verbs().adverbs().text()
Insert cell
Insert cell
nlp("you and your whole lousy operation stink").verbs().adverbs().text()
Insert cell
Insert cell
nlp('I’m looking for Amanda Hugginkiss').verbs().conjugate()[0]
Insert cell
nlp('i should really study').verbs().conjugate()[0]
Insert cell
Insert cell
nlp('we get it, you vape').verbs().toPastTense().all().text()
Insert cell
Insert cell
nlp('nobody liked Milhouse!').verbs().toPresentTense().all().text()
Insert cell
Insert cell
nlp(`we're not worthy!`).verbs().toFutureTense().all().text()
Insert cell
Insert cell
nlp(`chilling out max and relaxing all cool.`).verbs().toInfinitive().all().text()
Insert cell
Insert cell
nlp("All my life I’ve had one dream, to accomplish my many goals.").verbs().toGerund().all().text()
Insert cell
Insert cell
nlp(`you are lisa simpson`).verbs().toNegative().all().text()
Insert cell
Insert cell
nlp("okay, don't use reverse psychology").verbs().toPositive().all().text()
Insert cell
Insert cell
nlp(`we're not gonna take it`).verbs().isNegative().out('array')
Insert cell
Insert cell
nlp(`we're not gonna take it`).verbs().isPositive().out('array')
Insert cell
Insert cell
nlp(`i saw the game that the Toronto Maple Leafs won`).verbs().isPlural().out('array')
Insert cell
Insert cell
nlp(`i saw the game that the Toronto Maple Leafs won`).verbs().isSingular().out('array')
Insert cell
Insert cell
{
let doc = nlp('slab') //assumes it's a noun
doc.verbs().toPastTense() //this does nothing
return doc.text()
}
Insert cell
{
let doc = nlp('slab').tag('Verb') // co-erce it to a #Verb
doc.verbs().toPastTense() //now this changes it
return doc.text()
}
Insert cell
Insert cell
Insert cell
Insert cell
nlp('bamboozle').tag('#Infinitive').out('tags')
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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