Просмотр исходного кода

modified: README.md
modified: tools/resume_parse.py

sprivacy 3 лет назад
Родитель
Сommit
bb7e0c4d07
2 измененных файлов с 29 добавлено и 1 удалено
  1. 28 0
      README.md
  2. 1 1
      tools/resume_parse.py

+ 28 - 0
README.md

@@ -1 +1,29 @@
+### 安装 rar 解压工具
+```bash
 apt install unrar-free
+```
+
+
+
+### 通用模板抽取
+resume_parse.py
+支持 doc, docx, pdf, txt, tar.gz, 7z, rar, zip
+
+### 社招简历模板
+srafa.py
+支持 docx, pdf
+
+### 内部人才简历模板
+irafa.py
+支持 docx, pdf
+
+### 自定义模板抽取
+custom.py
+支持 docx, pdf
+
+### 模型
+##### model_100
+使用base模型训练,效果较好,预测时间较长
+
+##### model_best
+使用mini模型训练,速度快

+ 1 - 1
tools/resume_parse.py

@@ -1680,7 +1680,7 @@ def detection_type(path, system):
 async def file_upload(background_tasks: BackgroundTasks, file: UploadFile = File(...)):
     """
     简历上传
-    格式:pdf,docx,doc,txt,tar,zip,7z
+    格式:pdf,docx,doc,txt,tar.gz,zip,7z, rar
     """
     res = await file.read()
     with open('./uploads/' + file.filename, "wb") as f: