Extending Duckling Server

Hi,

Does anyone have any experience in extending Duckling? I have it running fine & I’m looking to extend it with larger corpuses for particular entities. I’m trying to find out how I can extend things out.

So far I’ve used the REAMDE in the github here:

and this guide here: https://duckling.wit.ai

I’m looking for a step-by-step example on extending Duckling to classify terms more terms for a particular entity. I’m curious to know if someone can point me to a guide or if they have done it done it themselves and how they did it.

Thanks!

1 Like

Hi @qamir, unfortunately I’m not aware of any efforts like this. Hopefully someone from the community can help!

I’m assuming you have seen this part of the guide on extending duckling?

Maybe it would help if you can specify where you’re getting stuck

Hi @fkoerner, thanks for the reply.

I figured a solution for it. Let me turn it into a cleaner solution and I’ll post a how-to response here.

1 Like

That would be fantastic! Thank you @qamir

@qamir an alternative to extending Duckling is to write your own entity extractor component in Rasa. For example, the [rasa-nlu-examples] repository contains a dateparser date extractor. This dateparser supports more languages and is written on top of the dateparser library.

1 Like