GithubHelp home page GithubHelp logo

verbio-technologies / python-verbio-speech-center Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 32.36 MB

Python integration with the Verbio Speech Center Cloud. https://speechcenter.verbio.com/

Home Page: https://speechcenter.verbio.com/

License: MIT License

Shell 2.30% Python 97.70%
cloud nlp speech speech-recognition verbio

python-verbio-speech-center's People

Contributors

anikocharyan avatar gdjverbio avatar jadell-verbio avatar jordi-adell avatar mjbverbio avatar ralucado avatar rmarrugat avatar spyros-dc avatar vylion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rmarrugat

python-verbio-speech-center's Issues

[Suggestion] Secure Host Argument

Description: [Suggestion] Secure Host Argument

Motivation and Context

Currently, the host argument is described as follows:

--host HOST, -H HOST The URL of the host trying to reach (default: speechcenter.verbio.com:2424)

Though the parameter exhibits a default value that serves the purpose of an example as well, any user could be blindly encourage to add an schema prefix. If said schema is provided to the gRPC library (e.g. https://speechcenter.verbio.com:2424), a misleading error is encountered stating that the DNS is unable to find/reach the host.

In order to avoid potential misuses, I would suggest using an URL parsing library (e.g. urllib.parse) to precisely gather the expected contents from the host parameter.

As a code example:

>>>import urllib.parse

# From either of the following examples, take SplitResult.hostname and SplitResult.port to compose the real gRPC host
>>>urllib.parse.urlsplit('speechcenter.verbio.com:2424')
SplitResult(scheme='', netloc='', path='speechcenter.verbio.com:2424', query='', fragment='')
>>> urllib.parse.urlsplit('http://speechcenter.verbio.com:2424')
SplitResult(scheme='http', netloc='speechcenter.verbio.com:2424', path='', query='', fragment='')
>>> urllib.parse.urlsplit('https://speechcenter.verbio.com:2424')
SplitResult(scheme='https', netloc='speechcenter.verbio.com:2424', path='', query='', fragment='')

Issue: command line option '--formatting' does not take effect

Hello @jordi-adell, @anikocharyan, Verbio development team:
I am trying to test how Verbio ASR behaves for numbers and alphanumeric speech with this client, and would like to feedback an issue and ask some questions:

  1. When running recognizer_stream.py with '--formatting', it still gives non-formatted result. It seems the following code causes the issue:
    parser.add_argument('--formatting', '-f', help='', required=False, default=False, action='store_false')

  2. After fixing this locally, I can get text like "dee ef Dee 6 9 8 6 9". Seems 'dee' means D, 'ef' means F --- is this understanding correct? If correct, is there a full mapping of the words (like 'dee') to letters (like 'd')?

[Refactor] Misleading Token Argument

Description: [Refactor] Misleading Token Argument

Motivation and Context

Currently, the token argument is described as follows:

--token TOKEN, -t TOKEN A string with the authentication token

Despite the description, the current behaviour of the CLI client involves reading the authentication token from a text file, expecting a filename as the content of the --token argument. Therefore, I believe there is a mismatch between the parameter description and the expected contents which should be addressed.

Consequently, I propose either changing the description to a better fitting proposition or altering the behaviour of the CLI client with respect to the argument, expecting the token itself as the content.

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.