1. A method of processing for the generation of data for configuring a processor for coding/decoding structured documents comprising items, the method comprising a step of generating at least one unified model representative of the structure of a type of element on the basis of at least one structured configuration document, wherein said unified model comprises statistical information on transitions between items made in the occurrences of said element type within said at least one structured configuration document, and the method further comprising a step of optimizing said unified model, using the statistical information on transitions, by modification of the unified model, wherein the modification comprises deletion of at least one transition of the unified model and/or grouping together of at least two transitions within the unified model.