I tried using docomo speech recognition API and Google Speech API in Java

When I checked the library etc. in order to install the function of making the product at school perform voice recognition and converting it into a character string, I used it because there was an API for docomo and Google.

Preparation

docomo Speech Recognition API To use Google's voice recognition API, you must join the following groups Chrome-dev Google Cloud Console

Please create (sign in) an account on docomo and the Google Cloud Console site. Also, in Google Cloud Console, create a new project and enter ** "speech" ** from the API library search window to enable the API. At docomo, when you apply for an API Key, it will be issued in a few minutes, depending on the time of day.

Screenshot from 2018-06-20 00-59-27.png (Already enabled in the image, but for reference. Joining the Chrome-dev group brought up this API)

Execution result

Screenshot from 2018-06-20 01-01-53.png The upper string is docomo and the lower is Google (I'm sorry for the strange display because it was a program in the middle of the experiment)

The source code has been uploaded to GitHub for your reference.

It's a Gabagaba program, but please look at it with warm eyes as you are still studying. Google voice recognition is taking out the first one. There are about 3 candidates for the response body, so please try to modify them yourself. We also added a program to play the recorded voice, so if the recognition does not work, check the voice and check if there is any noise.

If you have any typographical errors, please leave a comment or edit request.

Recommended Posts

I tried using docomo speech recognition API and Google Speech API in Java
I tried using google test and CMake in C
I tried using Twitter api and Line api
I tried using the Google Cloud Vision API
I tried face recognition using Face ++
Speech transcription procedure using Python and Google Cloud Speech API
Speech file recognition by Google Speech API v2 using Python
I tried programming the chi-square test in Python and Java.
Stream speech recognition using Google Cloud Speech gRPC API on python3 on Mac!
I tried using Azure Speech to Text.
Streaming speech recognition with Google Cloud Speech API
I tried using YOUTUBE Data API V3
Get mail using Gmail API in Java
I tried using PyEZ and JSNAPy. Part 2: I tried using PyEZ
I tried using Bayesian Optimization in Python
Speech transcription procedure using Google Cloud Speech API
I tried using UnityCloudBuild API from Python
I tried using the BigQuery Storage API
I tried to make PyTorch model API in Azure environment using TorchServe
I tried updating Google Calendar with CSV appointments using Python and Google APIs
I tried using PyEZ and JSNAPy. Part 1: Overview
I tried using Remote API on GAE / J
I tried "License OCR" with Google Vision API
I tried object detection using Python and OpenCV
I tried "Receipt OCR" with Google Vision API
Try using ChatWork API and Qiita API in Python
I tried using Google Translate from Python and it was just too easy
I tried to make a simple image recognition API with Fast API and Tensorflow
I tried using parameterized
I tried using argparse
I tried using mimesis
I tried using anytree
I tried to notify the update of "Become a novelist" using "IFTTT" and "Become a novelist API"
I tried using aiomysql
I tried using TradeWave (BitCoin system trading in Python)
I tried using Summpy
I tried using coturn
I tried using Pipenv
I tried using matplotlib
I tried using "Anvil".
I tried using Hubot
I tried to score the syntax that was too humorous and humorous using the COTOHA API.
I tried using ESPCN
I tried using openpyxl
Speech recognition in Python
I tried using Ipython
I tried using PyCaret
I tried APN (remote notification) using Parse.com REST API
I tried using cron
I tried using the API of the salmon data project
I tried using ngrok
I tried using Jupyter
I tried using PyCaret
I tried using Heapq
Investigation of the relationship between speech preprocessing and transcription accuracy in the Google Cloud Speech API
I tried using doctest
I tried using folium
I tried using jinja2
I tried using folium
I tried [scraping] fashion images and text sentences in Python.
I tried to create API list.csv in Python from swagger.yaml