Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
watson-speech-to-text-utils
Advanced tools
Speech to text CLI that helps you manage speech customizations.
Make sure you read the documentation for Speech to Text before using this library.
npm install watson-speech-to-text-utils -g
$ watson-speech-to-text-utils
Usage: <command> [options]
Commands:
set-credentials [options] Set Speech to Text username and password
base-models-list [options] List all the base models
customization-create-and-train [options] Create a customization model using a Conversation workspace JSON file
customization-add-corpus [options] Add a new corpus (i.e. workspace.json) to an existing customization
customization-list [options] List all the customization
customization-train [options] Train a customization
customization-status [options] Get customization status
customization-delete [options] Delete a customization
customization-list-words [options] List all out-of-vocabulary(OOV) words for a customization
corpus-list [options] Lists information about all corpora for a customization model
corpus-status [options] Lists information about all corpora for a customization model
corpus-add-words [options] Add a group of words from a file into a corpus
corpus-add-word [options] Add a single word to the corpus
corpus-delete-word [options] Delete a single word from a corpus
corpus-from-workspace [options] Build a Speech to text corpus from a Conversation workspace
Options:
-h, --help output usage information
-V, --version output the version number
All the commands need an Speech to Text username
and password
. Take a look at the Getting Credentials page to learn how to get credentials for the Watson services.
workspace.json
fileDownload as JSON
.Usage: watson-speech-to-text-utils corpus-add-words [options]
Add a group of words from a file into a corpus
Options:
-h, --help output usage information
-u, --username [username] Speech to text username
-p, --password [password] Speech to text password
-i, --customization_id <customization_id> The customization identifier
-w, --words <words> The JSON file with the words to add to the corpus
The words JSON file should look like:
{
"words": [{
"display_as": "could",
"sounds_like": [ "could" ],
"word": "culd"
}, {
"display_as": "closeby",
"sounds_like": [ "closeby" ],
"word": "closeby"
}, {
"display_as": "cya",
"sounds_like": [ "cya", "see ya" ],
"word": "cya"
}]
}
Usage: watson-speech-to-text-utils corpus-add-word [options]
Add a single word to the corpus
Options:
-h, --help output usage information
-i, --customization_id <customization_id> The customization identifier
-w, --word <word> The word
-s, --sounds_like [sounds_like] The pronunciation of the word
-d, --displays_as [displays_as] How the word is displayed
For example:
watson-speech-to-text-utils corpus-add-word -i 67f35b00-8c0d-12e6-8ac8-6333954f158e -w cya -d cya -s "cya, see ya"
This sample code is licensed under Apache 2.0.
See CONTRIBUTING.
Find more open source projects on the IBM Github Page
FAQs
IBM Watson Speech to Text CLI
The npm package watson-speech-to-text-utils receives a total of 1 weekly downloads. As such, watson-speech-to-text-utils popularity was classified as not popular.
We found that watson-speech-to-text-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.