Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

word-error-rate

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

word-error-rate - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

dist/app.js

@@ -14,3 +14,3 @@ "use strict";

if (incoming.length === 0 || expected.length === 0)
return Math.max(incoming.length, expected.length);
return Math.max(incoming.split(" ").length, expected.split(" ").length);
let [incomingHashes, expectedHashes] = [exports.createHashArray(incoming), exports.createHashArray(expected)];

@@ -17,0 +17,0 @@ let [length, height] = [incomingHashes.length, expectedHashes.length];

{
"name": "word-error-rate",
"version": "0.0.6",
"version": "0.0.7",
"description": "A set of tools to calculate edit distance and scores on a per word basis",

@@ -5,0 +5,0 @@ "main": "dist/app.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc