添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Discover the winners and finalists of the 2023 edition, and read their story to learn about their pioneering achievements in data science and AI!

View Winners and Finalists

  • Automation scenarios
  • Production deployments and bundles
  • API Node & API Deployer: Real-time APIs
  • Governance
  • Python APIs
  • R API
  • Public REST API
  • Additional APIs
  • Installation & Administration
  • Installing and setting up
  • Elastic AI computation
  • DSS in the cloud
  • DSS and Hadoop
  • Metastore catalog
  • Operating DSS
  • Security
  • User Isolation
  • Other topics
  • Plugins
  • Streaming data
  • Formula language
  • Custom variables expansion
  • Sampling methods
  • Accessibility
  • Troubleshooting
  • Release notes
  • Other Documentation
  • Third-party acknowledgements
  • Using SpaCy

    SpaCy is a Python library for Natural Language Processing (NLP) such as tokenization, named entity recognition with pre-trained models for several languages.

    Documentation for SpaCy is available at https://spacy.io/

    Installing SpaCy

    In a code environment , you need to install the spacy package.

    To add a specific pre-trained model, you can add the URL of the pip package for that model, as specified in the Installation via pip page of the SpaCy documentation.

    For example for the English model, your code env’s Requested Packages could be:

    spacy
    https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz
    

    See SpaCy’s Models page for a list of languages.

    Using SpaCy models

    In a python notebook or recipe (using the aforementioned code environment), you can then import spacy and use spacy.load with the model package name:

    import spacy
    nlp = spacy.load("en_core_web_sm")
    doc = nlp(u"This is an example sentence.")