word-error-rate
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9943