public void loadDictionary() {
		try {
			Configuration config = new Configuration();
			InputStream in = this.getClass().getClassLoader().getResourceAsStream(config.getChnDictoryPath());
			BufferedReader reader = new BufferedReader(new InputStreamReader(in, config.getCharSet()));
			File f = new File("G:/var/www/data/chn.dic");
			File enFile = new File("G:/var/www/data/en.dic");
			File otherFile = new File("G:/var/www/data/other.dic");
			OutputStreamWriter mainOut = new OutputStreamWriter(new FileOutputStream(f),"UTF-8");
			OutputStreamWriter enOut = new OutputStreamWriter(new FileOutputStream(enFile),"UTF-8");
			OutputStreamWriter otherOut = new OutputStreamWriter(new FileOutputStream(otherFile),"UTF-8");
			if(!enFile.exists()){
				enFile.createNewFile();
			}
			
			if(!f.exists()){ 
				f.createNewFile();
			}
			String line = reader.readLine();
			while (line != null) {
				String[] arrays = line.split(config.getSeparator());
				if(arrays.length >= 2){
					if(arrays[0].length() > 0){
						if(getdictType(arrays[0])==1){
							mainOut.write(line+"\n");
						}else if(getdictType(arrays[0])==2){
							enOut.write(line+"\n");
						}else if(getdictType(arrays[0])==3){
							otherOut.write(line+"\n");
						}
					}
				}
				line = reader.readLine();
			}
			mainOut.close();
			enOut.close();
			otherOut.close();
		} catch (Exception e) {
			e.printStackTrace();
			throw new RuntimeException(
					"load dictionary error please check the dict files");
		}
	}