split the text files into amis/english/mandarin

proposition of a way to split text files