Rasa NLU components : ner_duckling + ner_crf

Hi,

Is using ner_duckling (for dates, phone numbers…) added to ner_crf for specific entities in the pipeline a good idea ? What will happen if both components recognize the same entity ? The json will contain the two entites distinctively ?

Thank you, Pierre

Hi @PierreFG! Using them together in the pipeline is a great idea, but using them for the same entity is not. I would recommend not using the CRF for any entities picked up by duckling, i.e. numbers or emails. For example, we do the same in our demobot, and you can see in our NLU data that we don’t annotate the emails as they are automatically picked up by duckling.

1 Like