IP Library Granted Patent US 10,936,829
Granted Patent B2
US 10,936,829 · App. 15/628,962 · Granted Mar 2, 2021

Method and device for processing a multi-language text

Inventors: Kun Wu Huang (Shanghai, CN); Winston Lei Zhang (Shanghai, CN); Chao Chen (Shanghai, CN); Jingjing Liu (Shanghai, CN); Duke Hongtao Dai (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F40/58G06F16/951G06F40/263G06F40/53
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,936,829
App. No.
15/628,962
Granted
Mar 2, 2021
Kind
B2
Abstract

Embodiments of the present disclosure provide a method and apparatus for processing a multi-language text. According to embodiments of the present disclosure, the multi-language text including contents in a plurality of languages may be encoded with a Unicode. The method further comprises splitting the multi-language text into a plurality of parts based on the Unicode of the multi-language text, contents of the plurality of parts having different languages. In addition, the multi-language text may also be processed based on the plurality of parts.

Claims (55)

1. A method of processing a multi-language text, comprising:

encoding the multi-language text in a document with a Unicode, the multi-language text including contents in a plurality of languages;

splitting the multi-language text in the document into a plurality of parts by the plurality of languages used in the contents based on the Unicode of the multi-language text, contents of the plurality of parts having different languages, wherein splitting the multi-language text in the document into the plurality of parts comprises combining a plurality of code values, wherein the combined plurality of code values correspond to a language category; and

processing the multi-language text based on the plurality of parts, wherein processing the multi-language text based on the plurality of parts comprises:

detecting a language of at least one part of the plurality of parts, wherein the at least one part includes two or more parts;

processing the at least one part based on the detected language; and

merging the two or more parts that are processed, wherein merging the two or more parts that are processed includes merging each processed part of the two or more parts into a single stream as a processing result of an entirety of the multi-language text.

2. The method of claim 1 , wherein splitting the multi-language text into a plurality of parts comprises:

obtaining a code value of the Unicode of the multi-language text, the code value corresponding to a content in the coded multi-language text; and

determining, based on the code value, a part of the plurality of parts to which the corresponding content belongs.

3. The method of claim 2 , wherein determining, based on the code value, a part of the plurality of parts to which the corresponding content belongs comprises:

matching the code value with one of a plurality of code value ranges in a reference table, the plurality of code value ranges corresponding to a plurality of languages; and

determining, based on the matching, the part to which the content corresponding to the code value belongs.

4. The method of claim 3 , wherein determining, based on the matching, the part to which the content corresponding to the code value belongs comprises:

in response to determining that the code value and a previous code value belong to different code value ranges, splitting the content corresponding to the code value into a new part of the plurality of parts; and

in response to determining that the code value and the previous code value belong to a same code value range, splitting the content corresponding to the code value into a same part of the plurality of parts as a previous content corresponding to the previous code value.

5. The method of claim 3 , wherein determining, based on the matching, the part to which the content corresponding to the code value belongs comprises: in response to determining that the code value belongs to a code value range corresponding to a common character, splitting the content corresponding to the code value into a same part of the plurality of parts as a previous content corresponding to a previous code value.

6. The method of claim 5 , wherein the common character includes at least one of a punctuation or a numeric value.

7. The method of claim 1 , wherein the multi-language text further includes a metadata, the method further comprising:

receiving an input to exclude the metadata from the splitting; and

in response to receiving the input, splitting only the contents of the multi-language text into the plurality of parts.

8. An electronic device, comprising:

at least one processing unit;

at least one memory coupled to the at least one processing unit and storing instructions executable by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the device to:

encode a multi-language text in a document with a Unicode, the multi-language text including contents in a plurality of languages;

split the multi-language text in the document into a plurality of parts by the plurality of languages used in the contents based on the Unicode of the multi-language text, contents of the plurality of parts having different languages, wherein splitting the multi-language text in the document into the plurality of parts comprises combining a plurality of code values, wherein the combined plurality of code values correspond to a language category; and

process the multi-language text based on the plurality of parts, wherein processing the multi-language text based on the plurality of parts comprises:

detecting a language of at least one part of the plurality of parts, wherein the at least one part includes two or more parts;

processing the at least one part based on the detected language; and

merging the two or more parts that are processed, wherein merging the two or more parts that are processed includes merging each processed part of the two or more parts into a single stream as a processing result of an entirety of the multi-language text.

9. The device of claim 8 , wherein splitting the multi-language text into a plurality of parts comprises:

obtaining a code value of the Unicode of the multi-language text, the code value corresponding to a content in the coded multi-language text; and

determining, based on the code value, a part of the plurality of parts to which the corresponding content belongs.

10. The device of claim 9 , wherein determining, based on the code value, a part of the plurality of parts to which the corresponding content belongs comprises:

matching the code value with one of a plurality of code value ranges in a reference table, the plurality of code value ranges corresponding to a plurality of languages; and

determining, based on the matching, the part to which the content corresponding to the code value belongs.

11. The device of claim 10 , wherein determining, based on the matching, the part to which the content corresponding to the code value belongs comprises:

in response to determining that the code value and a previous code value belong to different code value ranges, splitting the content corresponding to the code value into a new part of the plurality of parts; and

in response to determining that the code value and the previous code value belong to a same code value range, splitting the content corresponding to the code value into a same part of the plurality of parts as a previous content corresponding to the previous code value.

12. The device of claim 10 , wherein determining, based on the matching, the part to which the content corresponding to the code value belongs comprises: in response to determining that the code value belongs to a code value range corresponding to a common character, splitting the content corresponding to the code value into a same part of the plurality of parts as a previous content corresponding to a previous code value.

13. The device of claim 12 , wherein the common character includes at least one of a punctuation or a numeric value.

14. The device of claim 8 , wherein the multi-language text further includes a metadata, and the instructions, when executed by the at least one processing unit, further cause the device to:

receive an input to exclude the metadata from the splitting; and

in response to receiving the input, split only the contents of the multi-language text into the plurality of parts.

15. A computer program product for processing a multi-language text, the computer program product comprising:

a non-transitory computer readable medium encoded with computer-executable program code for using read signatures in replication, the code configured to enable the execution of:

encoding the multi-language text in a document with a Unicode, the multi-language text including contents in a plurality of languages;

splitting the multi-language text in the document into a plurality of parts by the plurality of languages used in the contents based on the Unicode of the multi-language text, contents of the plurality of parts having different languages, wherein splitting the multi-language text in the document into the plurality of parts comprises combining a plurality of code values, wherein the combined plurality of code values correspond to a language category; and

processing the multi-language text based on the plurality of parts, wherein processing the multi-language text based on the plurality of parts comprises:

detecting a language of at least one part of the plurality of parts, wherein the at least one part includes two or more parts;

processing the at least one part based on the detected language; and

merging the two or more parts that are processed, wherein merging the two or more parts that are processed includes merging each processed part of the two or more parts into a single stream as a processing result of an entirety of the multi-language text.

16. The method of claim 1 wherein splitting the multi-language text in the document into the plurality of parts comprises buffering, via a text part buffer, information regarding the Unicode and a position of a text part, of the plurality of parts, in at least a portion of original text.

17. The device of claim 8 wherein splitting the multi-language text in the document into the plurality of parts comprises buffering, via a text part buffer, information regarding the Unicode and a position of a text part, of the plurality of parts, in at least a portion of original text.

18. The computer program product of claim 15 wherein splitting the multi-language text in the document into the plurality of parts comprises buffering, via a text part buffer, information regarding the Unicode and a position of a text part, of the plurality of parts, in at least a portion of original text.

Assignments (8)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (043775/0082) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
Reel/Frame 060958/0468 →
RELEASE OF SECURITY INTEREST AT REEL 043772 FRAME 0750 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
Reel/Frame 058298/0606 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
PATENT SECURITY AGREEMENT (CREDIT) Recorded Sep 6, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 043772/0750 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Sep 6, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 043775/0082 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 11, 2017
From: HUANG, KUN WU; ZHANG, WINSTON LEI; CHEN, CHAO; LIU, JINGJING; DAI, DUKE HONGTAO
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 042969/0906 →
Priority Claims (1)
CN 201610454208.X · Jun 21, 2016 · national
Continuity (1)
Related Publication 20170364510A1 · Dec 21, 2017