A Danish pipeline trained in SpaCy that has achieved State-of-the-Art performance on all dependency parsing, NER and POS-tagging for Danish
Project description
DaCy: An efficient and unified framework for danish NLP
DaCy is a Danish natural language preprocessing framework made with SpaCy. Its largest pipeline has achieved State-of-the-Art performance on Named entity recognition, part-of-speech tagging and dependency parsing for Danish. Feel free to try out the demo. This repository contains material for using DaCy, reproducing the results and guides on the usage of the package. Furthermore, it also contains behavioral tests for biases and robustness of Danish NLP pipelines.
🔧 Installation
You can install dacy
via pip from PyPI:
pip install dacy
👩💻 Usage
To use the model you first have to download either the small, medium, or large model. To see a list of all available models:
import dacy
for model in dacy.models():
print(model)
# ...
# da_dacy_small_trf-0.2.0
# da_dacy_medium_trf-0.2.0
# da_dacy_large_trf-0.2.0
To download and load a model simply execute:
nlp = dacy.load("da_dacy_medium_trf-0.2.0")
# or equivalently (always loads the latest version)
nlp = dacy.load("medium")
To see more examples, see the documentation.
📖 Documentation
Documentation | |
---|---|
📚 Getting started | Guides and instructions on how to use DaCy and its features. |
🦾 Performance | A detailed description of the performance of DaCy and comparison with similar Danish models |
📰 News and changelog | New additions, changes and version history. |
🎛 API References | The detailed reference for DaCy's API. Including function documentation |
🙋 FAQ | Frequently asked questions |
Training and reproduction
The folder training
contains a range of folders with a SpaCy project for each model version. This allows for the reproduction of the results.
Want to learn more about how DaCy initially came to be, check out this blog post.
💬 Where to ask questions
To report issues or request features, please use the GitHub Issue Tracker. Questions related to SpaCy are kindly referred to the SpaCy GitHub or forum. Otherwise, please use the Discussion Forums.
Type | |
---|---|
📚 FAQ | FAQ |
🚨 Bug Reports | GitHub Issue Tracker |
🎁 Feature Requests & Ideas | GitHub Issue Tracker |
👩💻 Usage Questions | GitHub Discussions |
🗯 General Discussion | GitHub Discussions |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dacy-2.7.8.tar.gz
.
File metadata
- Download URL: dacy-2.7.8.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c55e6b797de9a4a3970b5079148076e93f925f8ee001a7e929c629c5d4bff63 |
|
MD5 | 4a08c59dd45229778eff6757278cc10f |
|
BLAKE2b-256 | 35da627b3de06a55dba26ddd8797b6a12ac987735c1a43c48c4710169838a928 |
Provenance
The following attestation bundles were made for dacy-2.7.8.tar.gz
:
Publisher:
release.yml
on centre-for-humanities-computing/DaCy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dacy-2.7.8.tar.gz
- Subject digest:
0c55e6b797de9a4a3970b5079148076e93f925f8ee001a7e929c629c5d4bff63
- Sigstore transparency entry: 145139191
- Sigstore integration time:
- Predicate type:
File details
Details for the file dacy-2.7.8-py3-none-any.whl
.
File metadata
- Download URL: dacy-2.7.8-py3-none-any.whl
- Upload date:
- Size: 54.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2351ed578860444bc17c537251a8b60e58743fd9199d4b7be150ba502d9e49f |
|
MD5 | 324b6eeac1bda6c82183ea4430986bc6 |
|
BLAKE2b-256 | d9f55670b9744476893691994451612d667b02e6ba09035f64d518fb0584efbb |
Provenance
The following attestation bundles were made for dacy-2.7.8-py3-none-any.whl
:
Publisher:
release.yml
on centre-for-humanities-computing/DaCy
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dacy-2.7.8-py3-none-any.whl
- Subject digest:
a2351ed578860444bc17c537251a8b60e58743fd9199d4b7be150ba502d9e49f
- Sigstore transparency entry: 145139192
- Sigstore integration time:
- Predicate type: