public static void main(String[] args) {
        Syllabicator syl = new Syllabicator();

        if (args.length > 0) {

            for (int k = 0; k < args.length; ++k) {
                if (args[k].equals("-h")) {
                    syl.useHyphen(args[++k]);
                } else {
                    String word = args[k];
                    if (word.length() > 0) {
                        String spl=syl.split(word);
                        System.out.println("WORD: "+word);
                        System.out.println("SPLIT: "+spl);
                        int sl = syl.countSyllables(spl);
                        System.out.println("TOTAL: "+sl);
                        System.out.println("FIRST SYL: "+syl.getSyl(spl, 0));
                        System.out.println("LAST SYL: "+syl.getSyl(spl,sl-1));
                    }
                }
            }
        }
    }