In the DeterministicIntentParser custom entities are handled the same way has builtin entities
At train time, placeholders are put in the parser patterns, at inference time the CustomEntityParser is used to find custom entities and replace them with the corresponding placeholder before the string is parsed with the regexes
This pull request is mirroring the work done in https://github.com/snipsco/snips-nlu/pull/672 :
DeterministicIntentParser
custom entities are handled the same way has builtin entitiesCustomEntityParser
is used to find custom entities and replace them with the corresponding placeholder before the string is parsed with the regexes