sprex logo
Sprex
Banner Image
      
 

News: Downloadable PDA Demos

Introduction

Technical Description

How To

Documents

Product Brief

White Paper

Supported Platforms

Consulting

License Terms

NFL Demo

Downloads

Secure Travel Demo

FAQ's for Users
& Developers

Registration Form and License Agreement

SDK Access

Client Access

Feedback

Other Sprex Products/Services

Exit

 


Step-by-step Usage Instructions for gxc

1) Study and understand your speech-based application:
   what it must recognize and what it must do with the results.
2) Read gxc.TUTORIAL to understand the input file format and how it works.
3) Write a GX grammar-with-actions file, let's call it task.gx

   The rest is just following your nose and filling in the blanks
   with the needed code, header files, and compilation steps.

4) Write a header file and C functions file to define any functions
   called by your action code, let's call them task_funcs.h, task_funcs.c
   (Of course task_funcs.c should probably also #include task_funcs.h)
5) Run "gxc -i task.gx -H task_funcs.h -l task.lat -s task.c"
6) Compile task_funcs.c to a linkable object file, as in:
	gcc -c task_funcs.c
7) Compile task and link in the functions, as in:
	gcc -o task task.c task_funcs.o
8) task will read an input file containing a sequence of words
   generated by following any path through task.lat, and execute
   the actions specified in task.gx.
Copyright © 1996-2005 Sprex, Inc. All rights reserved. Sprex, Speech in the Network, TallyGram and ANSR are trademarks of Sprex, Inc.
All other trademarks belong to their respective owners.
Date: July 31, 2010