dialogos-project / dialogos

The DialogOS dialog system.
https://www.dialogos.app
GNU General Public License v3.0
21 stars 8 forks source link

Document DirectGrammar correctly #120

Closed alexanderkoller closed 5 years ago

alexanderkoller commented 6 years ago

The patterns in a DirectGrammar can be anything that can be on the RHS of a JSGF rule, as long as there are no nonterminals. See the discussion in #109 .

Document this precisely in https://github.com/dialogos-project/dialogos/wiki/Grammars.

timobaumann commented 6 years ago

RHS of a SRGS rule :-) (DialogOS uses SRGS internally, which is then converted to JSGF for Sphinx.)

alexanderkoller commented 6 years ago

That, too, may be worth documenting precisely at some point. As far as I can tell, DialogOS uses a dialect of the ABNF form of SRGS: https://www.w3.org/TR/speech-grammar

Dialect because we do not require, for example, the ABNF self-identifying header.

alexanderkoller commented 5 years ago

Done.