More robust word splitting