MikeHopcroft / ShortOrder

A natural language conversational agent for ordering and organizing items from a catalog.
MIT License
13 stars 7 forks source link

Add generator expressions to menu #3

Closed MikeHopcroft closed 6 years ago

MikeHopcroft commented 6 years ago

A menu alias should be able to include a generator expression that produces a variety of aliases. For example, the expression [small|large] [red|green] marble should generate the following aliases marble green marble small green marble large green marble red marble small red marble large red marble Generator expressions should be able to denote optional items, required items, and choices.

MikeHopcroft commented 6 years ago

Implemented in commit 7f4ec73d.