updated phoseg/phonetic/phoneticsegment.py from Phoseg project, v. 0.4.8