code: private static void analyzeCorpus(String zipFile) throws IOException{
          try (FileSystem fs = FileSystems.newFileSystem(Paths.get(zipFile), CorpusTools.class.getClassLoader())) {
              for(Path path : fs.getRootDirectories()){                
                  LOGGER.info("处理目录："+path);
                  Files.walkFileTree(path, new SimpleFileVisitor<Path>(){
  
                      @Override
                      public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                          LOGGER.info("处理文件："+file);
                          // 拷贝到本地文件系统
                          Path temp = Paths.get("target/corpus-"+System.currentTimeMillis()+".txt");
                          Files.copy(file, temp, StandardCopyOption.REPLACE_EXISTING);
                          constructNGram(temp);
                          return FileVisitResult.CONTINUE;
                      }
                      
                  });
              }
          }
      }
docs: 分析语料库
  @param zipFile 压缩的语料库
  @throws IOException