Fast-fly SDK for Linux first experience

Source: Internet
Author: User

Today, we tested the SDK of the Hkust Flash.

Several problems were encountered.

Question 1

I used the speech recognition demo, and when I changed a voice file, I recognized his results as such.

confidence= grammar=0ID=nomatch name=nomatch:out-of-voca  input=nomatch:o Ut-of-voca

After finding it, you need to modify the contents of this open grammar file.

    fp = fopen ("gm_continuous_digit.abnf""RB");     if (NULL = = fp)    {        printf ("\nopen Grammar file failed!\n");        Goto grammar_exit;    }

This fast-fly SDK can only be identified by a grammar file. Otherwise, it's not recognizable.

Question 2

Next I succeeded in identifying other example files. I started writing my own grammar file and started recording myself.

My grammar file

1.0 Gb2312;mode voice;language zh-= $yidong $digit <1-9>= Forward |  123456789  0;   

Now I'm starting recording, and my recording command is

5 16000 -D PLUGHW:0 Test.wav

However, there is still a problem starting to recognize it.

10119

Officials say the problem is a format mismatch. But my format is perfectly correct.

Finally, I found that my voice was too light, and he recognized that it was noise, before the problem arose. Then I increased the volume.

end of speech recognition ============================================================= confidence= grammar=04  m confidence= grammar=0541 m confidence= grammar=0542  m ====== ======================================================= Press any key to exit ...

Flash SDK for Linux first experience

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.