Method for acquiring a parallel corpus, electronic device, and storage medium
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsJun Cao, Lei Li, Mingxuan Wang, Peihao Zhu
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Bytedance Network Technology Co., Ltd.
InventorsJun Cao, Lei Li, Mingxuan Wang, Peihao Zhu
Estimating the term…
Provided are a method for acquiring a parallel corpus, an electronic device, and a storage medium. The method includes: acquiring text data in a target document; performing language detection on the text data; in response to the text data including at least two languages, retaining the text data; detecting a distribution proportion of words in each of the at least two languages among the retained text data; in response to each distribution proportion of words in a first language and in a second language being greater than a preset proportion threshold, retaining the detected text data; extracting sentences in the first language as a first sentence set and sentences in the second language as a second sentence set; performing sentence alignment on the first sentence set and the second sentence set; and determining sentence pairs with alignment degrees greater than a preset alignment degree threshold as the parallel corpus.
A method for acquiring a parallel corpus, comprising:
An electronic device, comprising:
A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements:
Dependencies are inferred from the claim text.