Skip to content

Commit 6b92db6

Browse files
✏️ typo
1 parent 0e451eb commit 6b92db6

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
@@ -6,7 +6,7 @@
66
class Common(object):
77

88
# added special case: r"[。..!!?].*" to handle intermittent dots, exclaimation, etc.
9-
# TODO: above special cases group can be updates as per devloper needs
9+
# 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
1212
QUOTATION_AT_END_OF_SENTENCE_REGEX = r'[!?\.-][\"\'“”]\s{1}[A-Z]'

0 commit comments

Comments
 (0)