An open API service indexing awesome lists of open source software.

https://github.com/freeclimbapi/java-speech-recognition-how-to-guide

Java - Speech Recognition Tutorial
https://github.com/freeclimbapi/java-speech-recognition-how-to-guide

ivr tutorial

Last synced: 3 months ago
JSON representation

Java - Speech Recognition Tutorial

Awesome Lists containing this project

README

          

# Java - Speech Recognition How-To Guide

This project serves as a guide to help you build an application with FreeClimb. View this how-to guide on [FreeClimb.com](https://docs.freeclimb.com/docs/add-speech-recognition-1#section-java). Specifically, the project will:

- Make an outgoing Call
- Prompt the participant for a response
- Host a grammar file for speech recognition
- Use the users response

## Setting up your new app within your FreeClimb account

To get started using a FreeClimb account, follow the instructions [here](https://docs.freeclimb.com/docs/getting-started-with-freeclimb).

## Setting up the how-to guide

1. Configure environment variables.

| ENV VARIABLE | DESCRIPTION |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ACCOUNT_ID | Account ID which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| API_KEY | API key which can be found under [API credentials](https://www.freeclimb.com/dashboard/portal/account/authentication) in Dashboard |
| TUTORIAL_APPLICATION_ID | Appliction IDs can be found under [Apps](https://www.freeclimb.com/dashboard/portal/applications) |
| HOST | The url of where your app is being hosted (e.g. yourHostedApp.com) |
| FREE_CLIMB_PHONE_NUMBER | The FreeClimb number that is being used to make a phone call. To learn more go [here](https://docs.freeclimb.com/docs/getting-started-with-freeclimb#section-2-get-a-phone-number) |

2) Provide a value for the variable `to` in speechRecognition.java. The `to` number is any phone number you wish to call. This number must be [verified](https://docs.freeclimb.com/docs/using-your-trial-account#section-verifying-outbound-numbers) (for trial users) and in E.164 format.

## Building and runnning the how-to guide

1. Build and run the application using command:

```bash
$ gradle build && java -Dserver.port=3000 -jar build/libs/gs-spring-boot-0.1.0.jar
```

## Getting Help

If you are experiencing difficulties, [contact support](https://freeclimb.com/support).