| Workspace Overview
Getting Started
Grammar Studio is divided into 3 main workspace areas. Development mostly will be done in the design view (center), which visualizes the grammar tags and GRXML files. The source view (top) is where code can be edited or manipulated manually for fine-tuning of attributes and values. The XML tree view (left tab) displays the structure of the XML document that is created. Lastly, the grammar wizard is used to quickly create grammar document structure which can be refined through the properties window of each tag. Simply right click and drag to select one or more icons on the screen to copy, cut or clip (cut one or more icons together).
Grammar Studio can print from the design view or source view. Select File->Print to select the view to print.

[top]
Design View
When creating grammars, often it's hard to visualize the whole context of the grammar. The design view comes with a unique visual layout that automatically wraps a presentation layer over the grammar document to visualize the SRGS GRXML Tags within the XML file structure, reducing the eye strain on performing common grammar creation tasks. The design view workspace can be maximized or minimized as needed.

The WYSWYG (What You See is What You Get) presentation layer is made up of 3 key elements which are represented as icons on the screen that can be moved to any position. The chart below demonstrates the elements and their represented icons. Each design view icon can be accessed from the file menu and toolbar.
 |
|
The rule element - Identified by the green "rule element" icon.
|
|
The item element - Identified by the tan "item element" icon.
|
|
The one-of element - Identified by the blue "one-of element" icon. |
Note: To auto-arrange the icons on the screen after you have completed designing a rule, press F5. Refreshing the design view will loose any unsaved elements that were used as a "scratch-pad" for building the speech utterance.
[top]
Source View
In addition to being able to visualize the source code, Grammar Studio's source code round-trip interface allows developers to view and manipulate the code that the design view generates. The source code view comes with standard line numbering, color coded XML code and automatic code assistance to rapidly type code. Building any grammar file in the source view will instantly display the grammar when the design view is clicked.

[top]
XML Tree View
Grammar files are essentially XML files which all XML files are required to be well-formed. The left pane has two views which can be used to create and view GRXML files. The XML Tree view visually displays the XML tree within the GRXML document structure. The tree can be expanded, collapsed and edited.

[top]
Grammar Wizard
Grammar Studio comes built-in with a rapid design tool called the Grammar Wizard which will instantly create up to 10 groups of items within a rule "item list" or within a one-of "item group". Just simply type the phrase and value (if applicable).

[top]
Grammar Properties
Grammars XML properties can be easily modified by selecting File->Grammar Settings from the file menu. Just simply type the value into each area.

[top]
Table
of Contents | Previous Chapter | Next Chapter
|