Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Fix baidu translate issue#51

Merged
Richasy merged 1 commit intomainfrom
richasy/fixBaiduTransSplit
Jun 25, 2023
Merged

Fix baidu translate issue#51
Richasy merged 1 commit intomainfrom
richasy/fixBaiduTransSplit

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 25, 2023

Close #50

Fix the issue where Baidu Translate only displays the first paragraph

PR type

What is the purpose of this PR?

  • Bug fix

What is the current behavior?

Baidu Translate only displays the first paragraph of content

What is the new behavior?

  1. Segment the text and translate it in batches when the text volume is large
  2. Fix previous code errors. Baidu Translate will generate multiple translation results based on paragraphs, and now they can be combined instead of just taking the first one

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • File headers have been added to all source files
  • NOT Contains breaking updates

Remark

There are still many restrictions on Baidu translation

@Richasy Richasy added the bug Something isn't working label Jun 25, 2023
@Richasy Richasy merged commit 7baab3f into main Jun 25, 2023
@Richasy Richasy deleted the richasy/fixBaiduTransSplit branch June 25, 2023 02:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] 工作流中英译中不完整

1 participant