From 361a35b44c04ffc6d94713356e560a7f5d535932 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Tue, 23 Apr 2024 18:29:04 +0100 Subject: [PATCH] Removed trailing spaces from RAKE --- src/core/operations/RAKE.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/operations/RAKE.mjs b/src/core/operations/RAKE.mjs index 3dd58c50..1470f5f0 100644 --- a/src/core/operations/RAKE.mjs +++ b/src/core/operations/RAKE.mjs @@ -102,7 +102,7 @@ class RAKE extends Operation { // Remove duplicate phrases phrases = phrases.unique(); - + // Generate word_degree_matrix and populate const wordDegreeMatrix = Array(tokens.length).fill().map(() => Array(tokens.length).fill(0)); for (const phrase of phrases) {