Let (semi) colon end sentences

pull/217/head
M66B 9 months ago
parent 35ec9857e5
commit c6ad264b66

@ -2793,13 +2793,13 @@ public class Helper {
}
static boolean isEndChar(char c) {
return (isSentenceChar(c) ||
c == ',' || c == ':' || c == ';');
return (isSentenceChar(c) || c == ',');
}
static boolean isSentenceChar(char c) {
return (c == '.' /* Latin */ ||
c == '。' /* Chinese */ ||
c == ':' || c == ';' ||
c == '?' || c == '!');
}

Loading…
Cancel
Save