UNPKG

elliptical

Version:

Interactive natural-language interfaces

25 lines (15 loc) 535 B
# Built-in Group Phrases ## <choice> Branches the parse tree down multiple equally-valid paths. ## <sequence> Parses children in one-by-one in order, with some powerful features to allow for optional children. ## <label> A powerful phrase that serves two essential purposes: - Improving performance and limiting choices by hiding phrases behind "placeholders" - Outputting "arguments" See "labels" for more information ## <repeat> Allows the same phrase to be repeated multiple times, with an optional separator in between.