removed bleu-score package and wrote my own that

didn't have a bug in it (issue with saving "constructor" as a key of a normal object)
This commit is contained in:
Karma Riuk
2025-05-10 21:59:37 +02:00
parent dfb3cae44d
commit 719e127019
3 changed files with 127 additions and 3 deletions

View File

@ -1,7 +1,6 @@
import fs from "fs";
import { getProjectPath } from "../utils/paths.js";
import { bleu } from "bleu-score";
import { bleu } from "../utils/bleu.js";
function buildReferenceMap(dataset_path) {
const referenceMap = {};