Skip to content

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

Open

Description

@dataelvisliang

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

Activity

  1. steinathan commented on Dec 27, 2023

    @steinathan

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions