The toolbar allows for quick access to most of the Grammar Editor's features.
The menus provide access to all of the Editor?s features.
File Menu
New ABNF (CTRL+N)
Create a new grammar with ABNF header information already generated.
New GrXML
Create a new grammar with GrXML header information already generated.
Open (CTRL+O)
Select a grammar file to open in the Editor.
Save (CTRL+S)
Save the selected grammar to disk.
Save As (CTRL+SHIFT+S)
Save the selected grammar to disk, choosing a new file name for the grammar.
Close (CTRL+W)
Close the selected grammar.
Quit (CTRL+Q)
Close the Grammar Editor. If there is an unsaved, modified grammar open, a prompt will display offering the chance to save the grammar.
Edit Menu
The Edit menu controls basic editing operations, similar to many Windows text editors.
Undo (CTRL+Z)
Undo the last changes to the selected grammar.
Redo (CTRL+Y)
Redo the last changes to the selected grammar.
Cut (CTRL+X)
Copies and deletes the selected text from the grammar, and places a copy in the clipboard. Use Paste to insert the clipboard copy into a new document.
Copy (CTRL+C)
Copies the selected text from the grammar and places the copy in the clipboard. Use Paste to insert the clipboard copy into a new document.
Paste (CTRL+V)
Inserts the clipboard copy at the cursor location.
Find (CTRL+F)
Searches the grammar for a specific phrase.
Find Next (F3)
Repeats the last find command.
Replace (CTRL+H)
Allows you to specify a word in the grammar to be replaced with another.
Replace Next (Shift+F4)
Repeats the last replace command.
Match Brace (CTRL+M)
When the cursor is placed immediately before an open brace or parentheses, this command will highlight all the text contained within the brace or parentheses.
Goto (CTRL+G)
Moves the cursor to the specified line number.
Indent increase (Tab)
Indents the current text. This works on multiple lines if you have them selected.
Select All (CTRL+A)
Selects all text in the open grammar.
View Menu
The View menu controls the look of the Editor.
Wrap Mode (CTRL+U)
Toggles word wrap.
Show Line Endings
If selected, the special characters to indicate new lines will be shown.
Show Line Numbers
If selected, line numbers will be shown to the left of each line.
Grammar Menu
The Grammar menu contains various functions relating to grammars.
Save as Compiled
Saves the current grammar in a compiled binary form for use by the LumenVox Speech Engine.
Save as ABNF
Saves the current grammar in the ABNF format. Useful for turning a GrXML grammar into ABNF.
Send To Tuner (CTRL+T)
Send the currently selected grammar to the Speech Tuner?s Grammar Tester component, for use in testing interactions. This is only enabled if the Editor was launched from within the Speech Tuner.
Compile (F7)
Attempts to compile the selected grammar using LumenVox?s SRGS compiler. Any errors during compilation are displayed in the Output Frame.
Parse Sentence (F5)
Parses the sentence currently entered into the parse sentence box through the current grammar.
Help Menu
About... (Shift+F1)
Contains copyright and version information about the Grammar Editor.