changed files predit.py preprocessor.py and segmenter.py