• myhloli's avatar
    refactor(para): adjust right margin threshold based on block width · 69805f4b
    myhloli authored
    - Introduce a variable threshold for right margin based on block width
    - Use 0.26 * block_weight for wider blocks (block_weight_radio >= 0.5)
    - Use 0.36 * block_weight for narrower blocks- This change aims to improve paragraph splitting accuracy for different block widths
    69805f4b
para_split_v3.py 15.2 KB