Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Extract entities from Google NLP API demo -
// just paste it in your chrome developer tools console
txt = "When Would I Need a ⟨Survival Knife⟩"
console.log(Array.from(txt.matchAll(/(.+?)/g)).map(a => a[1]).join("\n"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment