Skip to content

How can we extract entities from strings, can we have some examples? #914

Answered by spencermountain
samdeesh asked this question in Q&A
Discussion options

You must be logged in to vote

hi, this is covered in the docs, here
https://observablehq.com/@spencermountain/topics-named-entity-recognition

looks like you also would dates and numbers:

let m = doc.topics()
m = m.concat(doc.numbers())
m = m.concat(doc.dates())
//and so forth..
m.debug()

cheers

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samdeesh
Comment options

Answer selected by spencermountain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants