File size: 254 Bytes
714aaf8
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import test from "node:test";
import assert from "node:assert/strict";
import { normalizeText } from "../text_preprocessing.js";

test("preprocessing normalizes spacing", () => {
  assert.equal(normalizeText("  She   go\tthere. "), "She go there.");
});