1. A computer-implemented method for storing recognition data in a compactable binary lattice structure, comprising: generating a first data field for storing size data associated with the recognition data; generating a second data field for storing lattice descriptor data, wherein the lattice descriptor data includes at least one flag that indicates a characteristic of the recognition data as saved in the lattice structure; generating at least one of a third data field and a fourth data field for storing left separator data and right separator data, respectively, wherein a presence of each of the left separator data and the right separator data in the lattice structure is indicated by one of the flags associated with the lattice descriptor data; generating a fifth data field for storing a number of columns associated with the lattice, wherein a presence of multiple columns associated with the lattice structure is indicated by one of the flags associated with the lattice descriptor data; and generating one or more additional data fields in sequence for each column within the lattice structure to store data based on the columns associated with the lattice structure, wherein a number of the one or more additional data fields is indicated by at least one of a combination of flags within the lattice descriptor data and the fifth data field.