Detect entities without a space

Hello,

I tried the following:

  1. I have enabled duckling
  2. changed NLU like this:
- transfer [35.50](t_amount)[USD](currency) from my [savings](from_account) account to my [loan](to_account) account

duckling is detecting the amout of money like this:

transfer [35.50USD]{"entity": "amount-of-money", "value": 35.5} from my [savings](from_account) account to my [loan](to_account) account

but there are 2 problems:

  1. currency is missing
  2. entity name is not matching

Any idea how can amount as amount and currency as currency?

Thank you very much for your time