Learning cell embeddings for understanding table layouts