Pro Tool

GRXML Editor

Create, edit, and validate GRXML grammar files with our powerful editor. Built for speech recognition developers who demand precision.

Real-time Validation Syntax Highlighting AI Suggestions

Ready to build your grammar?

Open Editor View Quick Start Guide

Features

Everything you need to build grammars

Real-time Validation

Catch errors as you type with instant feedback. Our validator checks XML structure, rule references, and GRXML-specific semantics in real-time.

  • XML syntax validation
  • Rule reference checking
  • Semantic analysis

Syntax Highlighting

Color-coded elements make it easy to read and navigate complex grammar structures.

Auto-completion

Quick insertion of common GRXML elements, attributes, and rule patterns.

Template Library

Start fast with pre-built templates for common use cases like yes/no, numbers, dates.

Testing Tools

Validate your grammars against sample inputs before deployment.

Create Your First Grammar

  1. 1

    Open the Editor

    Click "Open Editor" above or use the New Grammar button

  2. 2

    Choose a Template

    Select from our library or start from scratch

  3. 3

    Write Your Rules

    Define grammar rules with real-time validation

  4. 4

    Test & Export

    Validate against samples and download your grammar

Basic Grammar Template
<?xml version="1.0"?>
<grammar version="1.0"
         xmlns="http://www.w3.org/2001/06/grammar"
         xml:lang="en-US"
         root="main">

    <rule id="main">
        <one-of>
            <item>yes</item>
            <item>no</item>
        </one-of>
    </rule>

</grammar>

Toolbar Functions

  • New Grammar Ctrl+N
  • Open File Ctrl+O
  • Save Ctrl+S
  • Validate F5
  • Format Code Ctrl+Shift+F

Best Practices

  • Use meaningful rule IDs that describe their purpose
  • Keep rules modular and reusable
  • Minimize deep nesting for better performance
  • Test with various input patterns

File Operations

  • New FileCtrl+N
  • Open FileCtrl+O
  • SaveCtrl+S
  • Save AsCtrl+Shift+S

Editing

  • UndoCtrl+Z
  • RedoCtrl+Y
  • FindCtrl+F
  • ReplaceCtrl+H

Actions

  • ValidateF5
  • FormatCtrl+Shift+F
  • TestF6
  • Toggle CommentsCtrl+/
Pro Features

Unlock Advanced Capabilities

  • AI-powered grammar suggestions with SpeechSmith AI
  • Advanced testing and validation tools
  • Grammar version control and history

Troubleshooting

Common Questions

Common causes of validation errors include:

  • Missing or mismatched XML tags
  • Incorrect rule references (check rule IDs)
  • Invalid attribute values
  • Missing XML namespace declarations

Try these performance optimizations:

  • Simplify complex rule structures
  • Reduce unnecessary nesting levels
  • Use more specific patterns instead of broad ones
  • Group common patterns into reusable rules

Use the built-in Testing Tools (press F6 or click the Test button). Enter sample phrases that users might say and verify they match the expected rules. Pro users get access to batch testing and automated test suites.