public static void main(String[] args) {
		try {
			if (args.length < 5) {
				System.out.println("parameters error!");
				showHelp();
				System.exit(0);
			} else {
				txtPath = args[1];
				xmlPath = args[2];
				StanfordInputpath = args[3];
				outputPath = args[4];
			}

			if(args[0].equals("-o")){
				System.out.println("creating xml file...");
				execute('o');
				}
				
				else if(args[0].equals("-e")){
					System.out.println("creating xml files...");
					execute('e');
				}
				
				else {
					showHelp();
					System.exit(0);
				}
			System.out.println("done!");
			
		} catch (Exception e) {
			e.printStackTrace();
			//showHelp();
		}
	}