Polish sentence and word segmentation rules in Ruby.