Open LoyVanBeek opened 6 years ago
wouldn't the grammar parser be the best place for this? It recognizes sentences, so it should know what is being referenced. The interface would need to be nailed down though, imho.
Could be, then it would be part of the grammar or tightly related to it.
The grammar_parser is complex enough already as it is though, so I wouldn't like to make it more complex. Adding synonyms would also explode the grammar I think.
Needs some thought :-)
E.g. map
{"grape juice":"grape_juice", ...}
etc.