Some scripts using python, such as Machine Learning, DFA, Word Segmentation and so on