tue-robotics / conversation_engine

The conversation_engine package provides a way to conversate with a robot to give it commands
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

Configure mapping from natural language word to machine-readable names #19

Open LoyVanBeek opened 6 years ago

LoyVanBeek commented 6 years ago

E.g. map {"grape juice":"grape_juice", ...} etc.

MatthijsBurgh commented 6 years ago

current implementation: https://github.com/tue-robotics/conversation_engine/blob/801ac5ba8deb079ab6f8edddbb49abfbbb5b859b/src/conversation_engine/engine.py#L21

alberth commented 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.

LoyVanBeek commented 6 years ago

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 :-)