Remove unused splitSentences function from utils.js
| @@ -1015,10 +1015,6 @@ export function splitRecursive(input, length, delimiters = ['\n\n', '\n', ' ', ' | ||
| 1015 | 1015 | return result; |
| 1016 | 1016 | } |
| 1017 | 1017 | |
| 1018 | -export function splitSentences(input, length) { | |
| 1019 | - var pattRegex = new RegExp(`^[\\s\\S]{${Math.floor(length / 2)},${length}}[.!?,]{1}|^[\\s\\S]{1,${length}}$|^[\\s\\S]{1,${length}}`); | |
| 1020 | -} | |
| 1021 | - | |
| 1022 | 1018 | /** |
| 1023 | 1019 | * Checks if a string is a valid data URL. |
| 1024 | 1020 | * @param {string} str The string to check. |