A method for information extraction from tables and lists