+ 清除无关的项目文件夹,并忽略项目文件夹

This commit is contained in:
maxmon 2021-06-21 01:07:40 +08:00
parent 2130df7bb6
commit 81f191f983
12 changed files with 5 additions and 11 deletions

3
be/.gitignore vendored
View File

@ -1,2 +1,3 @@
.idea
__pycache__
__pycache__
app/projects/*

View File

@ -20,6 +20,9 @@ def create_project():
make_dir(PROJECT_PATH.format(project_name))
write_json(PROJECT_CONFIG_PATH.format(project_name), param)
anno_path = ANNO_OUTPUT_PATH.format(project_name)
if not os.path.exists(anno_path):
write_json(anno_path, [])
ret_info.errCode = 0

View File

@ -1 +0,0 @@
[{"fileName": "文本1 - 副本 - 副本 (3).txt", "annoDetails": "[]"}, {"fileName": "文本1 - 副本 - 副本 (4) - 副本.txt", "annoDetails": "[]"}, {"fileName": null, "annoDetails": "[]"}, {"fileName": "", "annoDetails": "[]"}]

View File

@ -1 +0,0 @@
{"projectName": "123", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"123\",\"color\":\"#c15892\"}]"}

View File

@ -1 +0,0 @@
[{"fileName": "", "annoDetails": "[]"}]

View File

@ -1 +0,0 @@
{"projectName": "222", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"23\",\"color\":\"#2ea5f5\"},{\"type\":\"12\",\"color\":\"#f8e817\"}]"}

View File

@ -1 +0,0 @@
{"projectName": "demo1", "projectType": "nlp 标注", "entityTypes": "[{\"type\":\"person1\",\"color\":\"#e61490\"},{\"type\":\"location\",\"color\":\"#0aab8a\"},{\"type\":\"organiztion\",\"color\":\"#2770cd\"},{\"type\":\"123\",\"color\":\"#1c7a82\"}]"}

View File

@ -1 +0,0 @@
{"projectName": "demo4", "projectType": "nlp 标注", "entityTypes": [{"type": "person1", "color": "#e61490"}, {"type": "location", "color": "#0aab8a"}, {"type": "organiztion", "color": "#2770cd"}, {"type": "123", "color": "#1c7a82"}]}

View File

@ -1 +0,0 @@
{"projectName": "xixixi", "projectType": "命名实体识别", "entityTypes": "[]"}

View File

@ -1 +0,0 @@
[{"fileName": null, "annoDetails": "[]"}, {"fileName": "", "annoDetails": "[]"}]

View File

@ -1 +0,0 @@
{"projectName": "医疗", "projectType": "命名实体识别", "entityTypes": "[{\"type\":\"pos\",\"color\":\"#e67704\"}]"}

View File

@ -1 +0,0 @@
{"projectName": "项目", "projectType": "nlp 标注", "entityTypes": ""}