Rule base or pattern approach for entity relations

Hi Guys,

Can I create a pattern approach for entity relation extraction with a pre trained ner model? Similar like we do NER.

For example, I have 4 entities( Location, Negative, Problem, Time). I will like to create a pattern that if Negative is in the same line as Problem it will create a relation of No_Problem, same approach if Problem is with Time, it will create a new relation of Problem_Time.

I'm sorry if is in the documentation, It is not so clear to me.


Nevermind I found it on the documentation :sweat_smile: :sweat_smile:

1 Like