-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(translation_config): add split short lines functionality
- introduce split_short_lines and short_line_split_factor in TranslationConfig - update ParagraphFinder to handle new configuration for splitting short lines - adjust logic in paragraph processing to use new config options refactor(paragraph_finder): enhance initialization and condition checks - initialize ParagraphFinder with translation_config - improve condition check readability in get_layout method - pass translation_config to ParagraphFinder in high_level.py
- Loading branch information
Showing
3 changed files
with
37 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters