private static void text2binModel(String inText,String outBin) throws IOException {
		ObjectOutputStream out = new ObjectOutputStream(new BufferedOutputStream (
				new GZIPOutputStream (new FileOutputStream(outBin))));
		String rules = loadtxt(inText);
		Pattern p = Pattern.compile(rules);
		out.writeObject(p);
		out.close();
	}
private static void text2binModel ( String inText , String outBin ) throws IOException { ObjectOutputStream out = new ObjectOutputStream ( new BufferedOutputStream ( new GZIPOutputStream ( new FileOutputStream ( outBin ) ) ) ) ; String rules = loadtxt ( inText ) ; Pattern p = Pattern . compile ( rules ) ; out . writeObject ( p ) ; out . close ( ) ; }
输出模型
@param inText
@param outBin
@throws IOException