modified crf_segmenter.py: