mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 19:43:11 +02:00
Sentence
This commit is contained in:
@@ -2528,10 +2528,13 @@ public class Helper {
|
||||
}
|
||||
|
||||
static boolean isEndChar(char c) {
|
||||
return (isSentenceChar(c) ||
|
||||
c == ',' || c == ':' || c == ';');
|
||||
}
|
||||
|
||||
static boolean isSentenceChar(char c) {
|
||||
return (c == '.' /* Latin */ ||
|
||||
c == '。' /* Chinese */ ||
|
||||
c == ',' ||
|
||||
c == ':' || c == ';' ||
|
||||
c == '?' || c == '!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user