IP Library Granted Patent US 11,763,102
Granted Patent B2
US 11,763,102 · App. 17/186,551 · Granted Sep 19, 2023

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 11,763,102
App. No.
17/186,551
Filed
Feb 26, 2021
Granted
Sep 19, 2023
Kind
B2
Art Unit
2659
USPC
704/8
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 (52)

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 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, 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.

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. The method of claim 1 , 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; and

processing the at least one part based on the detected language.

9. The method of claim 8 , wherein the at least one part includes two or more parts, the method further comprising: merging the two or more parts that are processed.

10. 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 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, wherein splitting the multi-language text in the document into the 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.

11. The device of claim 10 , 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.

12. The device of claim 11 , 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.

13. The device of claim 12 , 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.

14. The device of claim 12 , 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.

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

16. The device of claim 10 , 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.

17. The device of claim 10 , 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; and

processing the at least one part based on the detected language.

18. The device of claim 17 , wherein the at least one part includes two or more parts, and the instructions, when executed by the at least one processing unit, further cause the device to: merge the two or more parts that are processed.

19. 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 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, wherein splitting the multi-language text in the document into the 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.

20. The method of claim 9 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.

Assignments (10)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0280) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0255 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0124) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062022/0012 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (056295/0001) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 062021/0844 →
RELEASE OF SECURITY INTEREST Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058297/0332 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0124 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0001 →
SECURITY INTEREST Recorded May 19, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 056295/0280 →
CORRECTIVE ASSIGNMENT TO CORRECT THE MISSING PATENTS THAT WERE ON THE ORIGINAL SCHEDULED SUBMITTED BUT NOT ENTERED PREVIOUSLY RECORDED AT REEL: 056250 FRAME: 0541. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded May 17, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 056311/0781 →
SECURITY AGREEMENT Recorded May 14, 2021
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 056250/0541 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 26, 2021
From: HUANG, KUN WU; ZHANG, WINSTON LEI; CHEN, CHAO; LIU, JINGJING; DAI, DUKE HONGTAO
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 055425/0082 →
Priority Claims (1)
CN 201610454208.X · Jun 21, 2016 · national
Continuity (2)
Continuation 15628962 · Jun 21, 2017
Related Publication 20210182506A1 · Jun 17, 2021