<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Grammar insert API</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=1061654" />
  <subtitle>Grammar insert API</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=1061654</id>
  <updated>2013-05-19T16:04:14Z</updated>
  <dc:date>2013-05-19T16:04:14Z</dc:date>
  <entry>
    <title>RE: Great!</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061659" />
    <author>
      <name />
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061659</id>
    <updated>2008-02-23T18:41:18Z</updated>
    <published>2008-02-23T18:41:18Z</published>
    <summary type="html">Cory, our engineers were some of the best speech engineers in the market so they looked at Audium and completely rewrote new advanced speech components using all the technique speech scientists would require. This has taken quite a lot of time. We even have things like Transcription tools, encryption and biometrics embedded into Audium.

I showed Nuance the other day, and they went holy c**p :-)

We just delivered a speech project in record time for a major bank.

Maybe if your in the UK, we might have an audience with you but clearly this won't be open source but happy to support the partner community.

Suggest you get your crowd to visit us. Suggest you do this via Jason T</summary>
    <dc:date>2008-02-23T18:41:18Z</dc:date>
  </entry>
  <entry>
    <title>Great!</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061658" />
    <author>
      <name>Cory Wright</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061658</id>
    <updated>2008-02-06T23:14:00Z</updated>
    <published>2008-02-06T23:14:00Z</published>
    <summary type="html">Impressive -- sounds good. Are you planning on maybe open sourcing those or making them available online to anyone? 

Reason I ask is that as we look at new concepts on Cisco.com, we're interested in who has what kind of assets they are willing to talk about and/or share with the rest of the community.

Cory</summary>
    <dc:creator>Cory Wright</dc:creator>
    <dc:date>2008-02-06T23:14:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Following up</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061657" />
    <author>
      <name />
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061657</id>
    <updated>2008-02-06T20:56:43Z</updated>
    <published>2008-02-06T20:56:43Z</published>
    <summary type="html">cory, there's nothing we need at moment, we've written all the necessary grammar components. In fact we have over 60 or more various components, probably more than that now.

Cheers</summary>
    <dc:date>2008-02-06T20:56:43Z</dc:date>
  </entry>
  <entry>
    <title>Following up</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061656" />
    <author>
      <name>Cory Wright</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061656</id>
    <updated>2008-02-06T05:08:31Z</updated>
    <published>2008-02-06T05:08:31Z</published>
    <summary type="html">Karl and others ---

Did the provided solution on this thread enable what you wanted? I'm scanning for product improvements and this is on my list for follow up.

Can you let me know something soon?

Thanks,
Cory</summary>
    <dc:creator>Cory Wright</dc:creator>
    <dc:date>2008-02-06T05:08:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Grammar insert API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061655" />
    <author>
      <name />
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061655</id>
    <updated>2007-10-27T04:22:26Z</updated>
    <published>2007-10-27T04:22:26Z</published>
    <summary type="html">Hi Karl,

I believe we may already have the functionality you need today! Let me describe it, though, in case this is not what you want. 

The Voice Foundation Class [i:d7f4e8b385]VGrammar[/i:d7f4e8b385] has a bunch of overloaded methods with the name [i:d7f4e8b385]setDtmfInline[/i:d7f4e8b385] and [i:d7f4e8b385]setSpeechInline[/i:d7f4e8b385] that allow you to create an inline grammar. Most of these methods take only the requisite information such as the keywords and values and the [i:d7f4e8b385]VGrammar[/i:d7f4e8b385] VFC will generate the inline grammar for you according to the requirements of the browser. But one of these implementations has the method signature of [i:d7f4e8b385]setDtmfInline(Element)[/i:d7f4e8b385] and [i:d7f4e8b385]setSpeechInline(Element)[/i:d7f4e8b385]. These methods take as input an [i:d7f4e8b385]Element[/i:d7f4e8b385] object, which is a JDOM element (actually it is a [i:d7f4e8b385]com.audium.thirdparty.jdom.Element[/i:d7f4e8b385] - which is really a copy of the JDOM class with the same name). These methods allow you to pass to it a JDOM tree defining the inline grammar and the [i:d7f4e8b385]VGrammar[/i:d7f4e8b385] VFC will throw that XML unchanged into the resulting VoiceXML page. You can then define whatever you want in whatever way you want using these methods. 

Obviously using this methods now puts the burden on you to ensure that the XML you pass to it represents correct VoiceXML and conforms to the format of your individual browser and ASR engine, so there will probably be a larger testing burden. But you can do anything you want there, just like flat VoiceXML. Additionally, since this is a VFC, you would have to write your own voice element to use it, there is no built-in support in the included elements to support custom written XML inline grammars (and if I would venture a guess, will probably never have this capability).

So hopefully this is what you want and you can do it today!</summary>
    <dc:date>2007-10-27T04:22:26Z</dc:date>
  </entry>
  <entry>
    <title>Grammar insert API</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061653" />
    <author>
      <name />
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=1061653</id>
    <updated>2007-10-27T02:50:19Z</updated>
    <published>2007-10-27T02:50:19Z</published>
    <summary type="html">Folks,

I know we have API tags for adding items, and i know we can reference a grammar/another web grammar page dynamically.

One thing, that's frustrating is to generate a component that can generate an inline grammar then "way we want" WITHIN the audium component with complete fidelity.

So we're asking for a request to extend the grammar API with CustomXML method, so we can write the XML grammar directly in the way we want. So anything after the grammar tag, we want control of.

Clearly we then have to take responsibility for the grammar content and it's correctness, but it just opens loads of options in garbage handling, bigrams, weighting etc.

It can't be difficult to do but such a method means we can make small dynamic grammar components and simple pass in a string with all the guts of the XML grammar. 

Hope this makes sense.</summary>
    <dc:date>2007-10-27T02:50:19Z</dc:date>
  </entry>
</feed>

