private static void mergeWordsWithOldDic() {
        List<String> sources = new ArrayList<>();
        sources.add("target/dic.txt");
        sources.add("src/main/resources/dic.txt");
        String target = "src/main/resources/dic.txt";
        try {
            DictionaryTools.merge(sources, target);
        } catch (IOException ex) {
            LOGGER.info("和现有词典合并失败：", ex);
        }
    }
private static void mergeWordsWithOldDic ( ) { List < String > sources = new ArrayList < > ( ) ; sources . add ( "target/dic.txt" ) ; sources . add ( "src/main/resources/dic.txt" ) ; String target = "src/main/resources/dic.txt" ; try { DictionaryTools . merge ( sources , target ) ; } catch ( IOException ex ) { LOGGER . info ( "和现有词典合并失败：" , ex ) ; } }
和旧的词典进行合并