def get_grid(self):
mentions, lines = _split_text_n_lines(self.elems)<EOL>mentions.sort(key=lambda m: (m.yc_grid, m.xc))<EOL>grid = Grid(mentions, lines, self)<EOL>return grid<EOL>
Standardize the layout of the table into grids