Issue in recognizing entities having similar text with slight change in words

Hello There. I have two entities namely (from) (assigned_from). I am trying to train both with below examples.

email from [Robert] (from)

assigned from [Jacob] (assigned_from)

But while testing when i am providing “assigned from Julia”, I am getting ‘from’ entity instead of ‘assigned_from’. I have provided 100 examples of each with different combinations. Please help to solve the issue.

Thanks.

Take a look at entity roles which is discussed in this blog post.