Update pipeline/postprocess.py
Browse files- pipeline/postprocess.py +1 -1
pipeline/postprocess.py
CHANGED
|
@@ -152,7 +152,7 @@ def split_long_segment(seg: dict) -> list:
|
|
| 152 |
'of', 'to', 'at', 'on', 'by', 'for', 'with', 'is', 'are', 'was', 'were',
|
| 153 |
'and', 'or', 'but', 'so', 'if', 'that', 'this', 'we', 'you', 'he', 'she', 'they',
|
| 154 |
}
|
| 155 |
-
min_part_chars =
|
| 156 |
|
| 157 |
full_text = text
|
| 158 |
mid_char = len(full_text) / 2
|
|
|
|
| 152 |
'of', 'to', 'at', 'on', 'by', 'for', 'with', 'is', 'are', 'was', 'were',
|
| 153 |
'and', 'or', 'but', 'so', 'if', 'that', 'this', 'we', 'you', 'he', 'she', 'they',
|
| 154 |
}
|
| 155 |
+
min_part_chars = 10
|
| 156 |
|
| 157 |
full_text = text
|
| 158 |
mid_char = len(full_text) / 2
|