Skip to content
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer feat / rel Feature: Relation Extractor
2 participants