CFCT: The cell function classification method for complex tables