SkillNER icon indicating copy to clipboard operation
SkillNER copied to clipboard

Is it possible to extract all the skill names into a list? as well as if it's a hard, soft skill or certification?

Open dataelvisliang opened this issue 2 years ago • 1 comments

Is it possible to extract all the skill names into a list? as well as if it's a hard, soft skill or certification?

annotations = skill_extractor.annotate(job_description) skill_extractor.describe(annotations)

these 2 lines of codes will annotate the texts visually, and I tried to use the followings to extract all the skills into a list: doc_node_values = list(set([entry['doc_node_value'] for entry in annotations['results']['ngram_scored']])) print(doc_node_values)

is there a way to also extract the skill label? (e.g., soft, hard, certification etc.)?

thank you

dataelvisliang avatar Jul 04 '23 21:07 dataelvisliang

Asking this too

i saw that theres a

SKILL_TO_COLOR = {
    'Hard Skill': '#818CF8',
    'Soft Skill': '#F472B6',
    'Certification': "#552448"
}

but dont know how to unwrap the skill_id eg. KS1282M68WL9T4YH3SLF to output the skill name and other info

steinathan avatar Dec 27 '23 23:12 steinathan