HOSTING

Managed Services

PRODUCTS

Speech Engine

AMD

Text to Speech

SERVICES

Discover

Design

Develop

Deploy

ASR

Subscriptions

Multiple Ways of Billing

Grammar of Blood Types

This sample grammar was created by Kenny Shumard of Digium to recognize human blood types.

Example of Grammar Blood Types

Author: Kenny Shumard

#ABNF 1.0 UTF-8;

language en-US;

mode voice;

tag-format ;

root $Bloodtype;

$letter = (/1.5/ "A B" {$ = "AB"}|
          /2/ "A" {$ = "A"}|
          "B" {$ = "B"}|
          "O" {$ = "O"});

$rh =   (PLUS  | POSITIVE):"+"|
        (MINUS | NEGATIVE):"-";

$type = ( TYPE );

$Bloodtype = {$=""} [$type] $letter {$+=$$} $rh {$+=$$};