I Manually trained few entities like Skill, Role, Employer …
After training and extracting model for given below sample text
text="""s rocket eNgine combustion planner system using Python with the usage of restapi
written in,Flask,with computation package written in, C++, and maintained database in,Amazon Redshift,with the help of,PostgreSQl,"""
doc = nlp(text)
label_list = [str(l.label_) for l in doc.ents]
data = {}
for label in label_list:
data[label] = [str(e) for e in doc.ents if e.label_ == label]
skills = ""
if 'SKILL' in data:
skills = ','.join(data["SKILL"])
print(skills)
It is working properly and giving correct output as below.
output:: Python,Flask,C,database,Amazon Redshift,PostgreSQL
But when I tried extracting skill from sentences hanving skills not separated by commas, it is unable to extract correct skills as output below.
Output: : flask,PostgreSQL,Amazon Redshift
sample text = “”“I worked on NASA’s rocket engine planner system using Python with the usage of restapi written in Flask with computation package written in C++ and maintained database in Amazon Redshift with the help of PostgreSQL”""
please help me how to extract skills without commas.
Thanks in advance.
Cheers,
Shiva