报表
This commit is contained in:
parent
81e4c314d4
commit
a038a35314
@ -112,6 +112,8 @@ def chkworlkandtime(listdata):
|
||||
position_name = res['职责'][i]['text']
|
||||
if '工作内容' in res:
|
||||
duty = res['工作内容'][i]['text']
|
||||
if '岗位' in res:
|
||||
duty = res['工作内容'][i]['text']
|
||||
date = {
|
||||
'company_name ': company_name,
|
||||
'position_name': position_name,
|
||||
@ -582,7 +584,7 @@ def fmtList(txtlist, dates):
|
||||
works = ''
|
||||
for i in work:
|
||||
works += i
|
||||
schema = ['公司名', '职责', '工作内容']
|
||||
schema = ['公司名', '职责', '工作内容', '岗位']
|
||||
ie = Taskflow('information_extraction', schema=schema)
|
||||
text_lists = ie(works)
|
||||
work_list = chkworlkandtime(text_lists)
|
||||
|
Loading…
Reference in New Issue
Block a user