AliJabbarpour commited on
Commit
2d1d6d9
·
verified ·
1 Parent(s): dd8475d

Update pipeline/postprocess.py

Browse files
Files changed (1) hide show
  1. 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 = 15
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