我有两个课文的例子。我用textblob来提取名词短语。我想分析一些信息,如职位,公司名称,开始日期和结束日期。在
哪些名词短语是职务,哪些是公司名称等??在
TXT1 = WORKING EXPERIENCE ABC Company UK ( Jan2014-may2015 ) software analyst at Global Corporates - Working together with other departments to further follow up with clients’ accounts.
TEXT2 WORKING EXPERIENCE software analyst at Global Corporates, from ( Jan2014-may2015 ) in ABC Company UK
def noun():
resumeString=txt1()
blob = TextBlob(resumeString)
print (blob.noun_phrases)
output1=['working experience abc', 'uk', 'jan2014-may2015', 'software analyst', 'global corporates', 'working', 'clients � accounts']
output2= ['working experience', 'software analyst', 'global corporates', 'jan2014-may2015' 'abc', 'uk']
预期产出:
^{pr2}$
目前没有回答
相关问题 更多 >
编程相关推荐