I don’t think the issue is in your config (although it would be much easier to pick up entities like “friday” and “31st May” if you add the DucklingHTTPExtractor
, and wouldn’t require you to annotate any of those entities). Can you provide an example of how it is not working? E.g. we can help you better if we know whether it:
- Isn’t picking up the entities
- Is picking up the entities but with the wrong labels
- Some other issue
Also just in general, you want to make sure that your entity tags are located directly around the tokens, as I can see spaces after your cities in the training data. It’s unlikely but possible that this is affecting your entity extraction as well.