{"id":21343684,"url":"https://github.com/catalystcode/cordova-plugin-cogsvcsspeech","last_synced_at":"2025-07-12T15:31:32.842Z","repository":{"id":41732371,"uuid":"233627150","full_name":"CatalystCode/cordova-plugin-cogsvcsspeech","owner":"CatalystCode","description":"Cordova plugin for Microsoft Cognitive Services speech services.","archived":false,"fork":false,"pushed_at":"2023-01-07T13:51:23.000Z","size":5359,"stargazers_count":2,"open_issues_count":44,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-23T14:07:40.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CatalystCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-13T15:25:28.000Z","updated_at":"2023-08-29T10:37:06.000Z","dependencies_parsed_at":"2023-02-07T08:31:41.907Z","dependency_job_id":null,"html_url":"https://github.com/CatalystCode/cordova-plugin-cogsvcsspeech","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fcordova-plugin-cogsvcsspeech","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fcordova-plugin-cogsvcsspeech/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fcordova-plugin-cogsvcsspeech/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatalystCode%2Fcordova-plugin-cogsvcsspeech/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CatalystCode","download_url":"https://codeload.github.com/CatalystCode/cordova-plugin-cogsvcsspeech/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225824673,"owners_count":17529906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T01:14:48.052Z","updated_at":"2024-11-22T01:14:48.730Z","avatar_url":"https://github.com/CatalystCode.png","language":"Java","readme":"# Ionic Application\n\nThe Ionic application was build with the\n[Ionic framework](https://ionicframework.com/), an open-source front-end\ndevelopment kit for building cross-platform mobile apps with HTML5 and Javascript.\n\n## Getting started\n\nFirst, install [Node.js](https://nodejs.org/en/).  The cognitive services plugin supports Node version 10.9 or greater.\n\nNext, install Ionic using the following command:\n\n```bash\nnpm install -g ionic\n```\n\nNote:  Visual Studio Code was used for development and ionic was installed\nthrough VS Code.\n\n## Dependencies\n\n### Create a Speech resource in Azure\n\nTo add a Speech Services resource to your Azure account:\n\n1. Sign in to the [Azure portal](https://portal.azure.com/) using your Microsoft\naccount.\n\n1. Select **Create a resource** at the top left of the portal.\n\n    ![Create a resource](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media/index/try-speech-api-create-speech1.png)\n\n1. In the **New** window, search for **speech**.\n\n1. In the search results, select **Speech**.\n\n    ![Select Speech](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media//index/try-speech-api-create-speech2.png)\n\n1. Under **Speech**, select the **Create** button.\n\n    ![Select the Create button](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media//index/try-speech-api-create-speech3.png)\n\n1. Under **Create**, enter:\n\n   * A name for the new resource. The name helps you distinguish among multiple\n   subscriptions to the same service.\n   * Choose the Azure subscription that the new resource is associated with to\n   determine how the fees are billed.\n   * Choose the region where the resource will be used.\n   * Choose either a free or paid pricing tier.\n   * Create a new resource group for this Speech subscription or assign the\n   subscription to an existing resource group. Resource groups help you keep your\n   various Azure subscriptions organized.\n     * Select **Create.**\n\n     ![Select the Create button](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media/index/try-speech-api-create-speech4.png)\n\n     It takes a moment to create and deploy your new Speech resource. Select\n     **Quickstart** to see information about your new resource.\n\n     ![Quickstart panel](https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/media//index/try-speech-api-create-speech5.png)\n\n1. Under **Quickstart**, select the **Keys** link under step 1 to display your\nsubscription keys. Each subscription has two keys; you can use either key in your\napplication. Select the button next to each key to copy it to the clipboard for\npasting into the [Environment.ts](\\src\\environments\\environment.ts) file.\n1. Copy the name of the Speech Service and the region of the service into the\nEnvironments.ts file.\n\n## Install packages using NPM\n\nIn the folder of the Ionic Application (ie examples/ionic-angular), run the following steps.\n\nRun the following command to install all packages within the app.  In a terminal\nwindow, browse to the examples/ionic-angular folder\nand run the following:\n\n```bash\nnpm install\n```\n\nInstall Native-Run so that the application can run the cordova native platforms (android, ios, or browser)\n\n```bash\nnpm i -g native-run\n```\n\nInstall Cordova\n\n```bash\nnpm i -g cordova\n```\n\nTo include the wrapper for the Cognitive Services plugin as an observable, run the following command:\n\n```bash\ncp -r ../../cognitiveservices node_modules/@ionic-native/\n```\n\nWhile this should install all components, there have been a few changes to\ncordova recently and errors were being generated while devloping on the Mac.  \nIf you get errors, specifically using toLowerCase, the run the following commands:\n\n```bash\nnpm uninstall cordova\nnpm install cordova@latest\ncordova platform remove ios\ncordova platform add ios\n```\n\n## Run the Application\n\n### Run on Browser\n\nTo run the application, in a terminal window, browse to the examples/ionic-angular folder\nand run the following:\n\n```bash\nionic cordova run browser\n```\n\n### Run in Android Emulator\n\n#### Setting up Android environment\n\nThese steps are to set up your SDK environment to build, test, and deploy\nAndroid apps.\n\n1. Install [Java Development Kit (JDK) 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\n or later.\n1. Install [Gradle](https://gradle.org/).  Go through each steps on the\n[Gradle Installation](https://gradle.org/install/) page.\n1. Install [Android Studio](https://developer.android.com/studio/index.html).\n1. After installing Android Studio, run the Android Studio Setup Wizard to\ndownload some standard components that are required for development.\n\n#### Creating an emulator\n\n1. In Android Studio, click the AVD Manager in the Toolbar.\n\n    ![AVD Manager](img/avdmanager.png)\n\n1. In the Select Deployment Target window, click Create New Virtual Device.\n\n    ![Create Virtual Device](img/createvirtualdevice.png)\n\n1. Select a device configuration of your choice and press Next.\n\n    ![Device Configuration](img/deviceconfiguration.png)\n\n1. Download and select a system image.  Press next.\n\n    ![System Image](img/systemimage.png)\n\n1. Verify configuration and press finish.\n\n    ![Verify](img/verifyinstallation.png)\n\n1. In the Virtual Device Manager, select the run button to start the emulator.\n\n    ![Run](img/verifyinstallation.png)\n\n#### Run Android Application\n\nTo run the application, in a terminal window, browse to the speecthtoText folder\nand run the following:\n\n```bash\nionic cordova run android\n```\n\n### Run in iOS Emulator\n\n#### Setting up iOS environment\n\nThese steps are to set up your SDK environment to build, test, and deploy\niOS apps.  This will only work on a Mac.\n\n1. Install [XCode](https://developer.apple.com/download/) with Apple Developer\naccount, or download from the App Store.\n\n#### Run iOS Application\n\nTo run the application, in a terminal window, browse to the speecthtoText folder\nand run the following:\n\n```bash\nionic cordova run ios\n```\n\nBy participating in this project, you\nagree to abide by the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fcordova-plugin-cogsvcsspeech","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalystcode%2Fcordova-plugin-cogsvcsspeech","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalystcode%2Fcordova-plugin-cogsvcsspeech/lists"}