Patent ID: 8601368

Claim:
A method of processing a document of hierarchized data organized into a plurality of items, the method comprising: obtaining a plurality of description structures respectively associated with a plurality of items, each description structure being linked to another description structure through a prediction link that reflects the structure and organization of previously encoded other documents of hierarchized data generated by a same application that generated the document of hierarchized data; storing each description structure, each prediction link, and at least one encoding link in a memory of an encoder; obtaining, from the memory of the encoder, the at least one encoding link that links a description structure associated with an item to an encoding value of at least one encoding table, the at least one encoding table being generated based on prior coding according to the structure and organization of the other documents of hierarchized data generated by the same application that generated the document of hierarchized data; encoding a first item of the document; predicting a second item of the document to code, the predicting including: (i) searching for a description structure associated with the first item among the plurality of description structures; (ii) determining a predicted description structure based on the prediction link of the description structure associated with the first item; and (iii) generating a predicted item based on the item associated with the predicted description structure; extracting the second item of the document to code; determining whether the predicted item matches the extracted second item; and when the predicted item matches the extracted second item, coding the second item using the encoding value corresponding to the encoding link associated with the predicted description structure.