Public
Edited
Jan 19, 2024
1 fork
1 star
Insert cell
Insert cell
Insert cell
nlp('eenie meenie miney mo').terms().out('array')
Insert cell
Insert cell
nlp('if you must, go to the basement').clauses().out('array')
Insert cell
Insert cell
nlp('super-cool work').hyphenated().text()
Insert cell
Insert cell
nlp(`That’s right. I’m a surgeon. (800) 555-0000.`).phoneNumbers().out('array')
Insert cell
Insert cell
nlp('where is the #anykey').hashTags().json({normal:true})
Insert cell
Insert cell
nlp('spencer kelly (cool@dude.com)').emails().text('normal')
Insert cell
Insert cell
nlp('good night! ;) :p').emoticons().out('array')
Insert cell
Insert cell
nlp('good night! 💋').emojis().json()
Insert cell
Insert cell
nlp('thanks @coolCucumber').atMentions().json({normal:true})[0]
Insert cell
Insert cell
nlp('visit http://compromie.cool').urls().out('array')
Insert cell
Insert cell
nlp(`we're going to win bigly!`).adverbs().out('array')
Insert cell
Insert cell
Insert cell
Insert cell
nlp(`replace the word kinda with repeatedly and the word dog with son.`).conjunctions().text()
Insert cell
Insert cell
nlp(`you're sure you haven't just made thousands of mistakes?`).prepositions().json().map(o=>o.text)
Insert cell
Insert cell
nlp(`Hey bart. Hi Bart. hello mrs Cumberdale.`).abbreviations().text()
Insert cell
Insert cell
nlp(`What a totally amazing, excellent discovery - (not!)`).parentheses().json({normal:true})[0]
Insert cell
Insert cell
nlp(`wayne's world, party time`).possessives().out('array')
Insert cell
Insert cell
nlp('I do all my laundry now. I\'m what you call "sans parents".').quotations().text()
Insert cell
Insert cell
nlp('it is a UNESCO world heritage site').acronyms().text()
Insert cell
Insert cell
Insert cell
Insert cell

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.
Learn more