技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
scispacy【数据与研究】Routes scispaCy biomedical spaCy component workflows, entity-linking workflows, and project data/evaluation workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
scispaCy is a biomedical/scientific spaCy package. Use this skill when you need to load its models, add its custom pipes, build entity linkers, or run the project data/evaluation helpers.
For general use:
python -m pip install scispacy
For development inside a local checkout:
python -m pip install -e .
scispaCy models are installed separately from the library. Start with one of:
python -m spacy download en_core_web_sm
python -m pip install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.4/en_core_sci_sm-0.5.4.tar.gz
See references/installation.md for the full model list and the known-good version pairing used in this checkout.
Use an isolated import check after installation:
python -I -c "import scispacy, spacy, scispacy.abbreviation, scispacy.hyponym_detector, scispacy.linking; print(scispacy.__version__)"
If you need a fuller smoke, run scripts/smoke_scispacy.py.
Use sub-skills/pipeline-components/ for:
combined_rule_tokenizerpysbd_sentencizerabbreviation_detectorhyponym_detectorWhitespaceTokenizerThis route is the right one when the task is about tokenization, sentence boundaries, abbreviation expansion, or Hearst-pattern hyponym extraction.
Use sub-skills/entity-linking/ for:
scispacy_linkerCandidateGeneratorKnowledgeBase and the built-in KB subclassescreate_tfidf_ann_indexThis route is the right one when the task is about UMLS/MeSH/GO/HPO/RxNorm linking, custom KBs, candidate generation, or ANN index creation.
Use sub-skills/project-workflows/ for:
project.yml / configs/*.cfg workflow assemblyThis route is the right one when the task is about training-data conversion, evaluation, or model packaging rather than the runtime pipes.
references/installation.md when you need install commands, model selection, or the verified version pairing.references/troubleshooting.md when install, import, or model-version problems appear.references/repo-provenance.md when checking whether this skill is still aligned with the current repository.references/repo-routing-metadata.json when you need the router metadata used during import and discovery.scripts/smoke_scispacy.py to check the installed package, biomedical components, whitespace tokenization, and a tiny linker path.pipeline-components.scispacy_linker, KBs, ANN indices, UMLS, or a linker threshold, stay in entity-linking.project.yml, evaluate_ner, export_umls_json, or frequency conversion, stay in project-workflows.references/installation.md and the smoke script.Use references/repo-provenance.md to confirm the checkout and package snapshot before treating this skill as current for a different repository state.