Name | spacy-lookups-data JSON |
Version |
1.0.5
JSON |
| download |
home_page | https://spacy.io |
Summary | Additional lookup tables and data resources for spaCy |
upload_time | 2023-07-28 12:01:14 |
maintainer | |
docs_url | None |
author | Explosion |
requires_python | >=3.6 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a>
# spaCy lookups data
This repository contains additional data files to be used with
[spaCy](https://spacy.io) v2.2+. When it's installed in the same environment as
spaCy, this package makes the resources for each language available as an entry
point, which spaCy checks when setting up the `Vocab` and `Lookups`.
Feel free to submit pull requests to update the data. For issues related to the
data, lookups and integration, please use the
[spaCy issue tracker](https://github.com/explosion/spaCy/issues).
[![tests](https://github.com/explosion/spacy-lookups-data/actions/workflows/tests.yml/badge.svg)](https://github.com/explosion/spacy-lookups-data/actions/workflows/tests.yml)
[![Current Release Version](https://img.shields.io/github/release/explosion/spacy-lookups-data.svg?include_prereleases&style=flat-square&logo=github)](https://github.com/explosion/spacy-lookups-data/releases)
[![pypi Version](https://img.shields.io/pypi/v/spacy-lookups-data.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/spacy-lookups-data/)
[![conda Version](https://img.shields.io/conda/vn/conda-forge/spacy-lookups-data.svg?style=flat-square&logo=conda-forge&logoColor=white)](https://anaconda.org/conda-forge/spacy-lookups-data)
## FAQ
### Why does this exist?
The main purpose of this package is to make the default spaCy installation
smaller and not force every user to download large data files for _all_
languages by default. Lookups data is now either provided **via the pre-trained
models** (which serialize out their vocabulary and lookup tables) or by
**explicitly installing this package** or `spacy[lookups]`.
### When should I install this?
You should install this package if you want to use lemmatization for languages
that don't yet have a [pretrained model](https://spacy.io/models) available for
download and don't rely on third-party libraries for lemmatization – for example
for **Serbian** or **Turkish** ([see data files](spacy_lookups_data/data)).
If you are training new models with spaCy, you should probably install this,
since it contains lemmatization and normalization data for 25+ languages that is
no longer included as part of the main spaCy library. In particular, you should
install it if you're creating a **blank model** and you want it to include
lemmatization and normalization data. Once you've saved out the model (e.g. via
`nlp.to_disk`), it will include the lookup tables as part of its `Vocab`.
### Is this package only for lemmatization?
This package used to only be for lemmatization, but it has been extended to
include normalization data for many languages. As of v0.3.1 it also includes
optional probability and Brown cluster data that used to be distributed with
provided models in spaCy v2.2 but is no longer included in spaCy v2.3. In the
future it may include other lookup lists and tables as well, e.g. large
tokenizer exception files.
## Running tests
This package now also includes all
[data-specific tests](spacy_lookups_data/tests). The test suite depends on
spaCy.
```bash
pip install -r requirements.txt
python -m pytest spacy_lookups_data
```
If you've installed the package in your spaCy environment, you can also run the
tests like this:
```bash
python -m pytest --pyargs spacy_lookups_data
```
## Bug reports and other issues
Please use [spaCy's issue tracker](https://github.com/explosion/spaCy/issues) to
report a bug, or open a new thread on the
[discussion board](https://github.com/explosion/spaCy/discussions) for any other
issue.
Raw data
{
"_id": null,
"home_page": "https://spacy.io",
"name": "spacy-lookups-data",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Explosion",
"author_email": "contact@explosion.ai",
"download_url": "https://files.pythonhosted.org/packages/fd/42/b747618ec64be73023b84c9eed7a09f5a345f514f367369b863f6a1dbf4f/spacy_lookups_data-1.0.5.tar.gz",
"platform": null,
"description": "<a href=\"https://explosion.ai\"><img src=\"https://explosion.ai/assets/img/logo.svg\" width=\"125\" height=\"125\" align=\"right\" /></a>\n\n# spaCy lookups data\n\nThis repository contains additional data files to be used with\n[spaCy](https://spacy.io) v2.2+. When it's installed in the same environment as\nspaCy, this package makes the resources for each language available as an entry\npoint, which spaCy checks when setting up the `Vocab` and `Lookups`.\n\nFeel free to submit pull requests to update the data. For issues related to the\ndata, lookups and integration, please use the\n[spaCy issue tracker](https://github.com/explosion/spaCy/issues).\n\n[![tests](https://github.com/explosion/spacy-lookups-data/actions/workflows/tests.yml/badge.svg)](https://github.com/explosion/spacy-lookups-data/actions/workflows/tests.yml)\n[![Current Release Version](https://img.shields.io/github/release/explosion/spacy-lookups-data.svg?include_prereleases&style=flat-square&logo=github)](https://github.com/explosion/spacy-lookups-data/releases)\n[![pypi Version](https://img.shields.io/pypi/v/spacy-lookups-data.svg?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/spacy-lookups-data/)\n[![conda Version](https://img.shields.io/conda/vn/conda-forge/spacy-lookups-data.svg?style=flat-square&logo=conda-forge&logoColor=white)](https://anaconda.org/conda-forge/spacy-lookups-data)\n\n## FAQ\n\n### Why does this exist?\n\nThe main purpose of this package is to make the default spaCy installation\nsmaller and not force every user to download large data files for _all_\nlanguages by default. Lookups data is now either provided **via the pre-trained\nmodels** (which serialize out their vocabulary and lookup tables) or by\n**explicitly installing this package** or `spacy[lookups]`.\n\n### When should I install this?\n\nYou should install this package if you want to use lemmatization for languages\nthat don't yet have a [pretrained model](https://spacy.io/models) available for\ndownload and don't rely on third-party libraries for lemmatization \u2013 for example\nfor **Serbian** or **Turkish** ([see data files](spacy_lookups_data/data)).\n\nIf you are training new models with spaCy, you should probably install this,\nsince it contains lemmatization and normalization data for 25+ languages that is\nno longer included as part of the main spaCy library. In particular, you should\ninstall it if you're creating a **blank model** and you want it to include\nlemmatization and normalization data. Once you've saved out the model (e.g. via\n`nlp.to_disk`), it will include the lookup tables as part of its `Vocab`.\n\n### Is this package only for lemmatization?\n\nThis package used to only be for lemmatization, but it has been extended to\ninclude normalization data for many languages. As of v0.3.1 it also includes\noptional probability and Brown cluster data that used to be distributed with\nprovided models in spaCy v2.2 but is no longer included in spaCy v2.3. In the\nfuture it may include other lookup lists and tables as well, e.g. large\ntokenizer exception files.\n\n## Running tests\n\nThis package now also includes all\n[data-specific tests](spacy_lookups_data/tests). The test suite depends on\nspaCy.\n\n```bash\npip install -r requirements.txt\npython -m pytest spacy_lookups_data\n```\n\nIf you've installed the package in your spaCy environment, you can also run the\ntests like this:\n\n```bash\npython -m pytest --pyargs spacy_lookups_data\n```\n\n## Bug reports and other issues\n\nPlease use [spaCy's issue tracker](https://github.com/explosion/spaCy/issues) to\nreport a bug, or open a new thread on the\n[discussion board](https://github.com/explosion/spaCy/discussions) for any other\nissue.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Additional lookup tables and data resources for spaCy",
"version": "1.0.5",
"project_urls": {
"Homepage": "https://spacy.io"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9f9edae3acaacc7cbe8140acb181e09b9920f8b3ee81d2f1cd838d160c78f0c2",
"md5": "d29f4af7b16fd5ff36081192ad1345e7",
"sha256": "466f21f087e4144bc93800679437ec5a17be7d0888734b1ba880b3ecb0978bc6"
},
"downloads": -1,
"filename": "spacy_lookups_data-1.0.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "d29f4af7b16fd5ff36081192ad1345e7",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 98458367,
"upload_time": "2023-07-28T12:01:09",
"upload_time_iso_8601": "2023-07-28T12:01:09.513768Z",
"url": "https://files.pythonhosted.org/packages/9f/9e/dae3acaacc7cbe8140acb181e09b9920f8b3ee81d2f1cd838d160c78f0c2/spacy_lookups_data-1.0.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd42b747618ec64be73023b84c9eed7a09f5a345f514f367369b863f6a1dbf4f",
"md5": "c6b406ba77b9a45d970152fce161a865",
"sha256": "6f935c81f145bdcc84fc6115f648764285c7ff3e8ff246295046814e96dad63c"
},
"downloads": -1,
"filename": "spacy_lookups_data-1.0.5.tar.gz",
"has_sig": false,
"md5_digest": "c6b406ba77b9a45d970152fce161a865",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 98442761,
"upload_time": "2023-07-28T12:01:14",
"upload_time_iso_8601": "2023-07-28T12:01:14.833655Z",
"url": "https://files.pythonhosted.org/packages/fd/42/b747618ec64be73023b84c9eed7a09f5a345f514f367369b863f6a1dbf4f/spacy_lookups_data-1.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-28 12:01:14",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "spacy-lookups-data"
}