Robust algorithms for synchronizing plain text
