
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
watson-stt-experiment
Advanced tools
Runs word-error-rate evaluation on Watson STT Model
npm install -g watson-stt-experiment
CLI:
> watson-stt-experiment
Marcão WER Evaluation Script
Runs WER evaluation on Watson Speech-to-text Model.
Options
-h, --help Print usage instructions.
-u, --url string Watson STT base URL.
-a, --apikey string Watson STT API Key.
-f, --filePath string CSV file with columns [audio, transcript]
-m, --model string Watson STT base model ID.
-c, --customizationId string Language customization ID
-d, --acousticCustomizationId string Acoustic customization ID
-v, --version string Watson STT API version. Default: 2020-07-01
-o, --output string Output file. Default: results.json
Output
WER Evaluation results in JSON format
As a module:
const STT = require('watson-stt-experiment')
const stt = new STT({
version: '2020-07-01',
apikey: 'YOUR_WATSON_STT_API_KEY',
url: 'YOUR_WATSON_STT_SERVICE_URL'
})
let results = await stt.runExperiment({
groundTruth: [
{
audio: "some_dir/audio_1.mp3",
transcript: "How to change my password"
},
{
audio: "some_dir/audio_2.mp3",
transcript: "How do I change my password"
}
],
model: 'en-US_BroadbandModel'
})
{
"total_words": 11,
"word_error_rate": 0.90909091,
"sentence_error_rate": 0.5,
"transcriptions": [
{
"file": "some_dir/audio_1.mp3",
"text": "How to change my password",
"prediction": "How to change my password",
"word_error_rate": 0,
"changes": []
},
{
"file": "some_dir/audio_2.mp3",
"text": "How do I change my password",
"prediction": "How I change my password",
"word_error_rate": 0.16666666666666666,
"changes": [
{
"type": "deletion",
"phrase": "do"
}
]
}
]
}
Supported change types are currently:
npm run test
👤 Marco Cardoso
Give a ⭐️ if this project helped you!
FAQs
Runs word-error-rate evaluation on Watson STT Model
The npm package watson-stt-experiment receives a total of 6 weekly downloads. As such, watson-stt-experiment popularity was classified as not popular.
We found that watson-stt-experiment demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.