pyatnitsev/yandex-speech

This package is abandoned and no longer maintained. No replacement package was suggested.

This is library for Laravel, that implements Yandex SpeechKit Cloud

1.0.0.1 2016-11-24 02:52 UTC

This package is auto-updated.

Last update: 2023-01-06 05:43:49 UTC


README

This is small library, that adds Facade in laravel 5, that implements Yandex Speech Kit Cloud.

At this moment, library can transform audio file to text only.

Installation

Composer

Run the following to include this via Composer

   composer require pyatnitsev/yandex-speech

Laravel 5 Configuration

To install into a Laravel project, first do the composer install then add class to your config/app.php service providers list.

   Pyatnitsev\YandexSpeech\YandexSpeechServiceProvider::class,

Usage

Add using for facade:

   use Pyatnitsev\YandexSpeech\YandexSpeechFacade;

and next use it in controller:

   YandexSpeechFacade::getTextByAudioByURL($filePath);

this method returns best suggestion or false if no suggestions

License

This package is licensed under the MIT license.