mirror of
https://github.com/gchq/CyberChef
synced 2025-01-01 07:18:47 +00:00
Removed trailing spaces from RAKE
This commit is contained in:
parent
e61d64f618
commit
361a35b44c
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class RAKE extends Operation {
|
||||||
|
|
||||||
// Remove duplicate phrases
|
// Remove duplicate phrases
|
||||||
phrases = phrases.unique();
|
phrases = phrases.unique();
|
||||||
|
|
||||||
// Generate word_degree_matrix and populate
|
// Generate word_degree_matrix and populate
|
||||||
const wordDegreeMatrix = Array(tokens.length).fill().map(() => Array(tokens.length).fill(0));
|
const wordDegreeMatrix = Array(tokens.length).fill().map(() => Array(tokens.length).fill(0));
|
||||||
for (const phrase of phrases) {
|
for (const phrase of phrases) {
|
||||||
|
|
Loading…
Reference in a new issue