I’m trying to detect time period and dollar amount entities (separately) regardless of format. If I have ninety five days, my entity model only recognized the “five days” part. Additionally, I would like to detect dollar amounts in the following formats: $4 thousand, $4.3k, $4 million, forty six million, $4M, $4 billion, $4.6B. How do I detect something like this that comes in many formats.
You can try out duckling entity extractor in your pipeline
These are the type of entties duckling supports
Worst case come to worst. You may write your own regex to extract the specify entity format … or you can develop a sophisticated story logic to read such entities as slots.