private static void loadFile(File file){
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new FileReader(file));

            String line = null;
            while ((line = reader.readLine()) != null){
                String[] strs = line.split("\t");
                String name = strs[0].trim();

                String nature =  NATURES.DEFAULT.getNature();
                if(strs.length > 1){
                    nature = strs[1].trim();
                }

                int frequency = 1000;
                if(strs.length > 2){
                    frequency = Integer.valueOf(strs[2].trim());
                }

                KeyWord word = new KeyWord(name, nature, frequency);

                keyWords.put(name, word);
            }

            logger.info("read dic file[{}] successfully", file);
        } catch (FileNotFoundException e) {
            logger.error("file[{}] not find", e, file);
        } catch (IOException e) {
            logger.error("read file[{}] failed", e, file);
        } finally {
            if(reader != null) try {
                reader.close();
            } catch (IOException e) {
                logger.error("close file reader failed", e);
            }
        }
    }