Commit 91fec522 authored by 朱国瑞's avatar 朱国瑞

丰富场景模式下 一句话最后一段字数不超过5个字则添加到上一段

parent 8a2533ec
......@@ -45,6 +45,9 @@ export default class utils {
if (i < sentences.length - 1 && (currentSentence + sentences[i + 1]).length <= 20) {
continue;
}
if (i === sentences.length - 2 && sentences[i + 1].length <= 5) {
continue;
}
if (currentSentence.length < 10) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment