Like this article? We recommend
Going External
For external grammars, the default type is taken from the Content-type header of the returned file. If not present, the type is inferred from the URL’s extension or from the contents of the grammar (for example, a file beginning with <?xml maps to application/srgs+xml). The recognized extensions are as follows:
- .grxml, .xml: SML Speech Grammar
- .gram: ABNF Speech Grammar
- .gsl, .grammar: Nuance GSL
- .jsgf: Java Speech Grammar Format