
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@bbc/stt-align-node
Advanced tools
<!-- _One liner + link to confluence page_ _Screenshot of UI - optional_ -->
See The alignment problem in the docs for more background of the problem this module set out to address.
Originally developed as a node version of python's stt-align by Chris Baume - BBC R&D.
git clone git@github.com:bbc/stt-align-node.git
cd stt-align-node
npm install
npm install @bbc/stt-align-node
Other then to realign STT results with accurate text, this modules can also be used to perform related oprations in the same domain, such as benchmarking STT.
| Function | Description | type |
|---|---|---|
alignSTT | Realign STT json with accurate text. by transposing words from accurate text to timecodes of STT. | json |
diffsList | return a diff json of STT vs accurate text | json |
diffsListAsHtml | return a diff of STT vs accurate text as HTML | html |
diffsCount | return a diff of STT vs accurate text as HTML | json |
calculateWordDuration | return a diff of STT vs accurate text as HTML | Number |
See See README in example-usage folder as well as code examples for more.
Node version of stt-align by Chris Baume - R&D.
In pseudo code overview of alignSTT:
input, output as described in the example usage.
Align words
normalize words, by removing capitalization and punctuation and converting numbers to letters
generate array list of words from base text, and array list of words from stt transcript.
difflib comparing two arraysinterpolate missing words
'everpolate.106.1.0npm run build
bundles the code with react, into a ./build folder.
npm run build:demo
Demo is in docs folder
Publish demo to github pages
npm run deploy:ghpages
npm run test:watch
Deploy to npm
npm run publish:public
FAQs
<!-- _One liner + link to confluence page_ _Screenshot of UI - optional_ -->
The npm package @bbc/stt-align-node receives a total of 189 weekly downloads. As such, @bbc/stt-align-node popularity was classified as not popular.
We found that @bbc/stt-align-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.