A survey of table recognition