Processing of text documents: straight line approximation and lost loop recovery | IEEE Conference Publication | IEEE Xplore