Skip to content

Commit 3365da3

Browse files
✏️ typo
1 parent 6b92db6 commit 3365da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysbd/lang/common/numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class Common(object):
77

8-
# added special case: r"[。..!!?].*" to handle intermittent dots, exclaimation, etc.
8+
# added special case: r"[。..!!?].*" to handle intermittent dots, exclamation, etc.
99
# TODO: above special cases group can be updated as per developer needs
1010
SENTENCE_BOUNDARY_REGEX = r"((?:[^)])*)(?=\s?[A-Z])|「(?:[^」])*」(?=\s[A-Z])|\((?:[^\)]){2,}\)(?=\s[A-Z])|\'(?:[^\'])*[^,]\'(?=\s[A-Z])|\"(?:[^\"])*[^,]\"(?=\s[A-Z])|\“(?:[^\”])*[^,]\”(?=\s[A-Z])|[。..!!?].*|\S.*?[。..!!??ȸȹ☉☈☇☄]"
1111
# # Rubular: http://rubular.com/r/NqCqv372Ix

0 commit comments

Comments
 (0)