We use the synonym mechanism in OAK and many other projects, the docs for this are a bit buried.
Also there appears to be magic that happens that can cause hard to debug errors; e.g.
my_parser_resolver.synonyms.update(
"my_name": ActualParser,
...
Invalid Parser name: my_name Valid choices are: ['my_name']
What seems to be happening is undocumented normalization removing all underscores
We use the synonym mechanism in OAK and many other projects, the docs for this are a bit buried.
Also there appears to be magic that happens that can cause hard to debug errors; e.g.
Invalid Parser name: my_name Valid choices are: ['my_name']What seems to be happening is undocumented normalization removing all underscores