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