What is the best way to extract same type of entities with different label from text?
For example with below training data,
Transfer money from account 123456 to account 456789
I would like to extract [from account 123456] as (src_accnt) and [to account 456789] as (dst_accnt). So would it work with enough training examples labelled as below?
Or is there any better way to do so?