liblinebreak is an implementation of the line breaking algorithm as described in Unicode 5.2.0 Standard Annex 14.