Patent Document ID: 9916286
Application ID: 15331943

Base Claim:
1. A method for reformatting a plurality of target paragraphs with a format pattern of a plurality of sample paragraphs, the method comprising: generating a sample combination by dividing the plurality of sample paragraphs into sample groups according to their order and format pattern, each sample group includes adjacent sample paragraphs of the same format pattern; generating a plurality of different candidate combinations by assigning the plurality of target paragraphs to the sample groups, wherein each of the plurality of candidate combinations comprises a different combination of target paragraphs and sample groups, and each of the plurality of target paragraphs is assigned to only one sample group for each of the plurality of candidate combinations; selecting two or more preferred candidate combinations from the plurality of candidate combinations based on a degree of similarity between the sample combination and each of the plurality of candidate combinations; selecting a single matching combination from the two or more preferred candidate combinations; and applying the format pattern of the plurality of sample paragraphs to the plurality of target paragraphs in accordance with the single matching combination.

---

Claim 3:
3. The method of claim 1 , wherein the number of sample groups is less than or equal to the number of sample paragraphs, and the number of sample groups is less than or equal to the number of target paragraphs.