locked
Using Cognitive Services / Speech API without using Maven RRS feed

  • Question

  • My speech application uses a number of local .jar files, which I would prefer to use without having to bother with entering them into a local Maven repository.   Is it possible to use the speech api without creating a Maven project?   Thanks - Rob. 

    P.S.  Sorry if I posted this to the wrong service -- speech wasn't listed explicitly, so it wasn't clear.


    Robert Shostak

    Monday, September 30, 2019 12:01 AM

Answers

  • Hi Robert,

    It looks like you are using the speech SDK for java. As an alternative to the Speech SDK, Speech Services allow you to convert speech-to-text using a REST API. Each accessible endpoint is associated with a region. Your application requires a subscription key for the endpoint you plan to use.

    Before using the speech-to-text REST API, please note the following:

    • Requests that use the REST API can only contain 10 seconds of recorded audio.
    • The speech-to-text REST API only returns final results. Partial results are not provided.
    • If sending longer audio is a requirement for your application, consider using the Speech SDK or batch transcription.

    You can build a API request similar to the SDK using REST API by using some of the samples mentioned here.

    -----------------------------------------------------------------------------------------------------------
    If you found this post helpful, please give it a "Helpful" vote. 
    Please remember to mark the replies as answers if they help. 

    Monday, September 30, 2019 8:32 AM