22 lines
444 B
Python
22 lines
444 B
Python
sentence_ending_punctuations = [".", "?", "!", ":", ";"]
|
|
|
|
# punctuations that usually have no space between them and the character to their left
|
|
left_regular_punctuations = [
|
|
*sentence_ending_punctuations,
|
|
",",
|
|
"'",
|
|
"%",
|
|
")",
|
|
"}",
|
|
"]",
|
|
]
|
|
|
|
# punctuations that usually have no space between them and the character to their right
|
|
right_regular_punctuations = [
|
|
"(",
|
|
"{",
|
|
"[",
|
|
"$",
|
|
"€",
|
|
"#",
|
|
]
|