Sentence Testing

The Grammar Editor allows users to test sample sentences against the currently selected SRGS grammar, to verify the grammar will represent (or "parse") the sample sentences correctly. When the Parse button is clicked, the Editor automatically compiles the selected grammar. If there are errors during compilation, the Output Frame will display the errors. Otherwise, the output frame displays the results of the test.

Successful tests will generally contain at least one parse, and, if the semantic interpretation is written in ECMAScript, at least one interpretation:

If the grammar cannot represent the test sentence, the Output Frame will display zero counts for the parse and interpretation.

Click Parse to test the sentence against the selected grammar.

© 2012 LumenVox LLC. All rights reserved.