Google Cloud Speech API

SHSguySHSguy MemberPosts:24Contributor I
edited December 2018 inHelp

Hi,

Was wondering if anyone knew the process required to get an output from the Google Cloud Speech API?

Yes, before anyone asks I did get the required Google API key which has been omitted for the obvious reasons:)

From the tutorial, it indicates that you need the Google Speech operator which then should provide an example output (Data Table).

It runs, the operator receives a green check mark but produces no output.

Tried:

Various audio input formats (mp3,mp4,flac)

Various audio output formats (mp3,mp4,flac)

Appreciate any assistance on the matter.







<参数键= value =“音频文件/用户/尼克/ Desktop/Brad_interview_20181605.flac"/>









Screen Shot 2018-05-17 at 1.43.43 pm.png

Answers

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager

    hi@SHSguyso the Cloud Speech API operator should return an output if you have a valid audio file and parameters. Try this with your API key:























    You should get this:

    Screen Shot 2018-05-21 at 11.40.25 AM.png

    Scott

  • SHSguySHSguy MemberPosts:24Contributor I

    Hi Scott,

    Thank you for the reply.

    我有试过process, only replacing the Google Speech API key, and it seems to do something. However, instead of a result it changes the XML code you provided to:















    While the Process page adds a red process box, title Google Cloud Speech (please see below). It then indicates that I should download an extension from the market. It opens the market and then returns with an error stating the extension is not available.

    Cheers,

    Nicolas


    Capture.JPG

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,287RM Data Scientist

    Hi@SHSguy,

    were did you get the operator from in first place?

    We are at the moment in the process of adding capabilities to an extension to connect to cloud services. Scott used an unreleased beta of this, which gives the option to connect to google Speech. Since you do not have this, you get the red operators.

    Best,

    Martin

    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
  • SHSguySHSguy MemberPosts:24Contributor I

    Hi Martin,

    It was the in Market Space, unfortunately, my incredibly limited coding expertise (hacking) did not lead me to find it on the deep servers of RapidMiner:)

    Cheers,

  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager

    yes that is indeed on the marketplace (seehttps://marketplace.www.turtlecreekpls.com/UpdateServer/faces/product_details.xhtml?productId=rmx_google_cloud_platform- been released since last fall).

    Scott

  • bkingbking MemberPosts:4Contributor I

    Hi Scott...

    I am receiving a similar "non" result in that the google cloud speech api operator appears to run (no complaints) but does not return an example. I confirmed that the .wav file has audible speech.

    XML Below:





















    Thoughts?...

    sgenzer
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University ProfessorPosts:3,287RM Data Scientist

    Hi@bking,

    can you check your rapidminer-studio.log? Sometimes there are errors which are only visible in this file and are not propagated to these "speech bubbles".

    BR,

    Martin

    - Head of Data Science Services at RapidMiner -
    Dortmund, Germany
  • sgenzersgenzer 12Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager

    hi@bkingI'm out of the office most of this week - please ping me again at the end of the week if you're still having trouble.

    thx@mschmitzfor chiming in.


    Scott

  • bkingbking MemberPosts:4Contributor I

    Hi Martin...

    Thank you for replying...below is the output from the log file.

    -------------

    Sep 25, 2018 4:45:41 PM com.rapidminer.Process execute
    INFO: Process //Voice_Analysis_from_TCN_Campaign starts
    Sep 25, 2018 4:45:59 PM com.rapidminer.Process saveResults
    INFO: Saving results.
    Sep 25, 2018 4:45:59 PM com.rapidminer.Process execute
    INFO: Process //Voice_Analysis_from_TCN_Campaign finished successfully after 18 s

    -----------

    Thoughts?

    BK

  • jim_nicholasjim_nicholas MemberPosts:1Learner I
    Hi, I know it's been a while since this was posted, however I'm wondering what the outcome was here as I'm having the same issue. On my Google Console I can see that the requests are running successfully without errors. Looking at the log file I've seen this "No filename given for result file, using stdout for logging results!". Just wondering, is it just a matter of where the results are being saved? I haven't been able to find them yet!

    Any help would be amazing, since I'm assuming you were able to sort it.

    Thanks
Sign InorRegisterto comment.