code: public static void merge(List<String> sources, String target) throws IOException{
          //读取所有需要合并的词典
          Set<String> set = new HashSet<>();
          AtomicInteger i = new AtomicInteger();
          for(String source : sources){
              try(Stream<String> lines = Files.lines(Paths.get(source), Charset.forName("utf-8"))){
                  lines.forEach(line -> {
                      i.incrementAndGet();
                      line = line.trim();
                      // 词长度：大于等于2并且小于等于4
                      // 识别功能 能识别的词 就不用放到词典中了，没必要多此一举
                      //至少要两个中文字符，防止大量无意义或特殊词混入词典
                      if (line.length() > 4
                              || line.length() < 2
                              || !Utils.isChineseCharAndLengthAtLeastTwo(line)
                              || RecognitionTool.recog(line)) {
                          LOGGER.debug("过滤：" + line);
                          return;
                      }
                      set.add(line);
                  });
              }
          }
          LOGGER.info("合并词数："+i.get());
          LOGGER.info("保留词数："+set.size());
          List<String> list = set.stream().sorted().collect(Collectors.toList());
          Files.write(Paths.get(target), list, Charset.forName("utf-8"));
      }
docs: 把多个词典合并为一个
  @param sources 多个待词典
  @param target 合并后的词典
  @throws IOException