15m22 成书孤短退化阈值90→100(治页5/7/8=96/99/99字仍稀疏, <100全退化硬切满屏)
Auto Release / build (push) Successful in 11m54s
Auto Release / build (push) Successful in 11m54s
This commit is contained in:
@@ -625,9 +625,9 @@ public class CustomScreenManager implements Listener {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 15m21 孤短句末退化: 句末切点 < 90 字(稀疏) → 退化到逗号/空格, 仍无→硬切limit
|
// 15m22 孤短句末退化: 阈值90→100(<100字句末切点全退化逗号/硬切, 满屏不稀疏;
|
||||||
// 旧55太宽松, 75字页没退化致UI一屏(~100)留空。90=UI容量90%, 低于90就退化硬切满屏。
|
// 100字以上句末切点保留语义切不劈词。UI一屏~100字, <100必稀疏)。
|
||||||
if (best < 90) best = -1;
|
if (best < 100) best = -1;
|
||||||
if (best > 0 && best <= limit + tol) return best;
|
if (best > 0 && best <= limit + tol) return best;
|
||||||
for (int i = Math.min(s.length() - 1, limit - 1); i >= 0; i--) {
|
for (int i = Math.min(s.length() - 1, limit - 1); i >= 0; i--) {
|
||||||
char c = s.charAt(i);
|
char c = s.charAt(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user