Recognize entire phrase

Home Forums OpenEars Recognize entire phrase

Viewing 6 posts - 1 through 6 (of 6 total)

  • Author
    Posts
  • #1016874
    catdsnny
    Participant

    Is it possible to force recognition of an entire phrase instead of component words within phrase? For example, if I pass a dictionary with the following entries:

    “Miller Street”
    “Jones Street”
    “Franklin Avenue”

    I only want to receive those entire phrases back and none of the component words. Right now, the library is returning “Jones” as a hypothesis, using the example above.

    #1016875
    Halle Winkler
    Politepix

    Welcome,

    Is this with OpenEars or RapidEars?

    #1016902
    catdsnny
    Participant

    Open ears with Rejecto

    #1016903
    Halle Winkler
    Politepix

    OK, a couple suggestions. The first is to make sure that you are entering those items into LanguageModelGenerator as phrases rather than discrete words, which should raise the probability of them being detected as phrases. But in order to absolutely require that they are detected as phrases, you can try one of the following two approaches:

    1. The not-so-easy but correct way: use a JSGF grammar instead of an ARPA model. This allows you to set rules for what can be recognized. It’s not-so-easy because you have to learn about how JSGF works and define the rule structure yourself.

    2. The easy and cheap way: turn them into a single word (“MillerStreet”) and then re-insert the space for display to the user.

    #1020918
    Halle Winkler
    Politepix

    Please check out the new dynamic generation language for OpenEars added with version 1.7: https://www.politepix.com/2014/04/10/openears-1-7-introducing-dynamic-grammar-generation/

    #1021028
    Halle Winkler
    Politepix

    In addition to the dynamic grammar generation that has been added to stock OpenEars in version 1.7, there is also a new plugin called RuleORama which can use the same API in order to generate grammars which are a bit faster and compatible with RapidEars: https://www.politepix.com/ruleorama

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.