1. A method for locating line breaks in text, the method being carried out by a computer device having a processor and system memory, comprising the steps of: a) creating a probabilistic model of a paragraph of text, parameterized by inter-word spacing; and b) running an inference on the model to find a sequence of line-breaks that maximize the joint probability of line break positions with minimum deviation of inter-word spacing from an ideal value.