IOS Google speech recognition updated!!!

Source: Internet
Author: User
Tags http post

Older versions of the API:-Googleprovides an on-line speech recognitionAPIinterface, through which theAPIIt can be recognized in Chinese, English and other languages.  ApiAddress:http://www.google.com/speech-api/v1/recognize?Xjerr=1&Client=chromium&Lang=zh-cn&maxresults=1-parameter explanation:

xjerr: Error Criteria

Client: Types of clients

lang: Language type to be recognized,en - us is English, Chinese is zh-cn,

maxresults: Maximum number of returned recognition results

-Identify basic processes:
      • Get raw audio from the audio input device and encode or call the audio file directly.
      • the audio POST to the interface address.
      • The parse process returns the JSON and come to the result.
-Request Interface
      • Address: As before
      • Request Method: HTTP POST
      • Request data: Encoded audio data
      • Audio encoding format: wav , Speex or FLAC .
      • Audio Sampling frequency: 8000Hz , 11025Hz , 16000Hz , 22050Hz , 24000Hz , 32000Hz , 44100Hz , 48000Hz
-Key Benefits?The speech recognition engine is large and the recognition accuracy is very high, and it is suitable for text speech recognition. Provides speech recognition in multiple languages. ?any platform can be accessed, easy to use. -Main Disadvantages?APInot be open to know the specifics of the development. ?The recognition engine is located on the server side, and the speed of recognition is related to the network quality and the recognition speed is slow. ?The format, size, and duration limit of the audio to be recognized. new version of the API:    
api:地址: https://www.google.com/speech-api/v2/recognize?output=json&lang=en-us&key=yourkey
Mainly about the change:
URL path: The previous V1 becomes V2

Parameters: New output: Outputs type, we generally use JSON
Add key: Need to go to Goole Register account, apply for Apikey, if you do not understand please Google
All other parameters can continue to be used.

Related documents:

Google official Open source code: Https://www.google.com/speech-api/v2/recognize

Google developer key application address: https://console.developers.google.com

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.