Given an unspaced sentence in "Punjabi", segment it into words using some minor modifications of Peter Norvig's code.