Extract people occupations from a doc #11023
Answered
by
polm
YannBrrd
asked this question in
Help: Coding & Implementations
-
Hi, I was wondering how to extract people occupation from a doc. Assuming I have this phrase as an input
How to get an array with :
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
polm
Jun 26, 2022
Replies: 1 comment
-
In this case I would suggest you first train an NER model for occupations and then use the relation extraction component to match PERSON to OCCUPATION entities. Note that putting it in a table is a minor step, but may have issues, because there's no guarantee everyone has exactly one occupation in a sentence. So keep that in mind. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
polm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In this case I would suggest you first train an NER model for occupations and then use the relation extraction component to match PERSON to OCCUPATION entities.
Note that putting it in a table is a minor step, but may have issues, because there's no guarantee everyone has exactly one occupation in a sentence. So keep that in mind.