private int parseSplit(char ch, int state) {
        if (state == 0) {
            switch (ch) {
                case '\n': return 1;
                case '\t': return 2;
                case '\r': return 3;
                case ' ': return 4;
                case ';': return 5;
            }
        }
        return -1;
    }