Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
@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
.10
6.1.0
npm 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 260 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.