nlp("that's it. Back to Winnipeg!").sentences().length
nlp("that's it. Back to Winnipeg!").sentences().json()
nlp('we get it, you vape.').sentences().toPastTense().text()
nlp(`hey pal, did you get a load of the nerd?`).sentences().toPresentTense().text()
nlp('we like roy!').sentences().toFutureTense().text()
nlp(`I was saying boo-urns.`).sentences().toNegative().text()
nlp("okay, don't use reverse psychology.").sentences().toPositive().text()
nlp('are you saying boo, or boo-urns? I was saying boo-urns.').sentences().isQuestion().out('array')
nlp('we like Roy! we like Roy!').sentences().isExclamation().out('array')
nlp('are you saying boo, or boo-urns? I was saying boo-urns.').sentences().isStatement().out('array')
nlp("I’m lookin’ for Amanda Hugginkiss.").sentences().prepend('Hey everybody,').text()
nlp("hey guys, do I have a Bee Oproblem?").sentences().append('here').text()
nlp=awaitrequire('compromise')
nlp.version
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.