Giter VIP home page Giter VIP logo

xvcs-speech-sdk-core's Introduction

vrex-speech-sdk

This is a multiplatform Speech SDK which supports the following targets:

  1. JVM
  2. Native (i.e Linux X64, MacOS X64, etc)
  3. NodeJs

More about native targets:

  1. More native targets can be added as requested.
  2. Please see this documentation for available targets: https://kotlinlang.org/docs/mpp-supported-platforms.html
  3. A dynamic or a static library can be generated which can then be used by C/C++ programs.

Demos

https://github.com/rdkcentral/xvcs-speech-sdk-demo

Usage

Please see the above demo and follow comments under Demo.kt file. The same sequence of steps apply regardless of the platform.

Build instructions

  1. Clone the repository git clone [email protected]:rdkcentral/xvcs-speech-sdk-core.git
  2. Follow instructions from the appropriate platform below

JVM

  1. In order to publish the library to the local maven repository run gradle publishToMavenLocal task
  2. The dependency now can be included in your build system
    1. Gradle - implementation("com.comcast.vrex.sdk:vrex-speech-sdk-jvm:1.0.0") (ensure that mavenLocal() is under repositories block)
  3. See the JVM demo in the Demos section above for a complete usage example

Native Targets

For native targets, a dynamic library and a header file will be created so that you can use the SDK from C/C++ projects. We will use macosX64 target used in a C++ project as an example. But same instructions apply to other targets as well.

  1. Run the Gradle task gradle linkReleaseSharedMacosX64 in order generate the above 2 files.
    1. These files can be found in /build/bin/releaseShared
    2. The dynamic libary is named libspeech_sdk.dylib
    3. The header file is named libspeech_sdk_api.h
  2. Copy/include both files to your C++ project
  3. Include the header file in the project #include "libspeech_sdk_api.h"
  4. Library can be accessed with following code libspeech_sdk_ExportedSymbols* lib = libspeech_sdk_symbols();

xvcs-speech-sdk-core's People

Contributors

iocapps avatar

Watchers

James Cloos avatar LE COZ Cedric avatar Vijayendra Ghadge avatar Alan Ryan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.