code: public static void displayHelp() {
          System.out.println("Usage:");
          System.out.println("\tCase 1: WordSegmenting -modeldir <model directory> -inputfile <input data file>");
          System.out.println("\tCase 2: WordSegmenting -modeldir <model directory> -inputdir <input data directory>");
          System.out.println("Where:");        
          System.out.println("\t<model directory> is the directory contain the model and option files");
          System.out.println("\t<input data file> is the file containing input sentences that need to");
          System.out.println("\tbe tagged (each sentence on a line)");
          System.out.println("\t<input data directory> is the directory containing multiple input data files (.tkn)");
          System.out.println();
      }
docs: Display help.