The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError Exception: TypeError Message: Couldn't cast array of type struct<url: string, html_url: string, labels_url: string, id: int64, node_id: string, number: int64, title: string, description: string, creator: struct<login: string, id: int64, node_id: string, avatar_url: string, gravatar_id: string, url: string, html_url: string, followers_url: string, following_url: string, gists_url: string, starred_url: string, subscriptions_url: string, organizations_url: string, repos_url: string, events_url: string, received_events_url: string, type: string, site_admin: bool>, open_issues: int64, closed_issues: int64, state: string, created_at: timestamp[s], updated_at: timestamp[s], due_on: null, closed_at: timestamp[s]> to null Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table pa_table = table_cast(pa_table, self._schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp> arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp> return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2116, in cast_array_to_feature return array_cast( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1804, in wrapper return func(array, *args, **kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1964, in array_cast raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}") TypeError: Couldn't cast array of type struct<url: string, html_url: string, labels_url: string, id: int64, node_id: string, number: int64, title: string, description: string, creator: struct<login: string, id: int64, node_id: string, avatar_url: string, gravatar_id: string, url: string, html_url: string, followers_url: string, following_url: string, gists_url: string, starred_url: string, subscriptions_url: string, organizations_url: string, repos_url: string, events_url: string, received_events_url: string, type: string, site_admin: bool>, open_issues: int64, closed_issues: int64, state: string, created_at: timestamp[s], updated_at: timestamp[s], due_on: null, closed_at: timestamp[s]> to null The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
url
string | repository_url
string | labels_url
string | comments_url
string | events_url
string | html_url
string | id
int64 | node_id
string | number
int64 | title
string | user
dict | labels
list | state
string | locked
bool | assignee
null | assignees
sequence | milestone
null | comments
int64 | created_at
timestamp[us] | updated_at
timestamp[us] | closed_at
timestamp[us] | author_association
string | active_lock_reason
null | draft
bool | pull_request
dict | body
string | reactions
dict | timeline_url
string | performed_via_github_app
null |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/explosion/spaCy/issues/10484 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10484/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10484/comments | https://api.github.com/repos/explosion/spaCy/issues/10484/events | https://github.com/explosion/spaCy/pull/10484 | 1,167,535,225 | PR_kwDOAUeP5s40Wp7a | 10,484 | Updated explenation for for classy classification | {
"login": "davidberenstein1957",
"id": 25269220,
"node_id": "MDQ6VXNlcjI1MjY5MjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/25269220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidberenstein1957",
"html_url": "https://github.com/davidberenstein1957",
"followers_url": "https://api.github.com/users/davidberenstein1957/followers",
"following_url": "https://api.github.com/users/davidberenstein1957/following{/other_user}",
"gists_url": "https://api.github.com/users/davidberenstein1957/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davidberenstein1957/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidberenstein1957/subscriptions",
"organizations_url": "https://api.github.com/users/davidberenstein1957/orgs",
"repos_url": "https://api.github.com/users/davidberenstein1957/repos",
"events_url": "https://api.github.com/users/davidberenstein1957/events{/privacy}",
"received_events_url": "https://api.github.com/users/davidberenstein1957/received_events",
"type": "User",
"site_admin": false
} | [] | open | false | null | [] | null | 0 | 2022-03-13T10:01:42 | 2022-03-13T10:01:42 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10484",
"html_url": "https://github.com/explosion/spaCy/pull/10484",
"diff_url": "https://github.com/explosion/spaCy/pull/10484.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10484.patch",
"merged_at": null
} | Reviewed and simplified description and code example
## Description
only provide one concise example + mention reference to huggingface and sentence-transformers
### Types of change
change to the documentation
## Checklist
- [X] I confirm that I have the right to submit this contribution under the project's MIT license.
- [X] I ran the tests, and all new and existing tests passed.
- [X] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10484/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10479 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10479/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10479/comments | https://api.github.com/repos/explosion/spaCy/issues/10479/events | https://github.com/explosion/spaCy/pull/10479 | 1,166,118,293 | PR_kwDOAUeP5s40SKvj | 10,479 | Auto-format code with black | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 542391290,
"node_id": "MDU6TGFiZWw1NDIzOTEyOTA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/meta",
"name": "meta",
"color": "f6f6f6",
"default": false,
"description": "Meta topics, e.g. repo organisation and issue management"
}
] | closed | false | null | [] | null | 0 | 2022-03-11T08:04:03 | 2022-03-11T11:20:24 | 2022-03-11T11:20:24 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10479",
"html_url": "https://github.com/explosion/spaCy/pull/10479",
"diff_url": "https://github.com/explosion/spaCy/pull/10479.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10479.patch",
"merged_at": "2022-03-11T11:20:24"
} | _This PR is auto-generated._ | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10479/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10476 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10476/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10476/comments | https://api.github.com/repos/explosion/spaCy/issues/10476/events | https://github.com/explosion/spaCy/pull/10476 | 1,165,160,224 | PR_kwDOAUeP5s40PBSY | 10,476 | Support more internal methods for SpanGroup | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 906542982,
"node_id": "MDU6TGFiZWw5MDY1NDI5ODI=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20doc",
"name": "feat / doc",
"color": "ddfc74",
"default": false,
"description": "Feature: Doc, Span and Token objects"
}
] | open | false | null | [] | null | 0 | 2022-03-10T12:27:49 | 2022-03-11T10:21:01 | null | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10476",
"html_url": "https://github.com/explosion/spaCy/pull/10476",
"diff_url": "https://github.com/explosion/spaCy/pull/10476.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10476.patch",
"merged_at": null
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Add support for:
* `__setitem__`
* `__delitem__`
* `__iadd__`: for `SpanGroup` or `Iterable[Span]`
* `__add__`: for `SpanGroup` only
Adapted from https://github.com/explosion/spaCy/pull/9698 with the scope limited to the magic methods.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Enhancement.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10476/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10476/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10474 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10474/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10474/comments | https://api.github.com/repos/explosion/spaCy/issues/10474/events | https://github.com/explosion/spaCy/issues/10474 | 1,164,901,335 | I_kwDOAUeP5s5FbvvX | 10,474 | Update `Vocab` docs to avoid `len()` and `is_oov` confusion. | {
"login": "koaning",
"id": 1019791,
"node_id": "MDQ6VXNlcjEwMTk3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1019791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/koaning",
"html_url": "https://github.com/koaning",
"followers_url": "https://api.github.com/users/koaning/followers",
"following_url": "https://api.github.com/users/koaning/following{/other_user}",
"gists_url": "https://api.github.com/users/koaning/gists{/gist_id}",
"starred_url": "https://api.github.com/users/koaning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/koaning/subscriptions",
"organizations_url": "https://api.github.com/users/koaning/orgs",
"repos_url": "https://api.github.com/users/koaning/repos",
"events_url": "https://api.github.com/users/koaning/events{/privacy}",
"received_events_url": "https://api.github.com/users/koaning/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-03-10T08:19:51 | 2022-03-10T11:39:02 | 2022-03-10T11:39:02 | CONTRIBUTOR | null | null | null | Partially because some things were different in [spaCy v2.2](https://v2.spacy.io/usage/v2-3#migrating) it seems like there's a lot of confusion around the `len()` and `is_oov` properties in the `Vocab` object.
- [Exibit A](https://github.com/explosion/spaCy/discussions/10022#discussioncomment-1946094)
- [Exibit B](https://stackoverflow.com/questions/68876169/what-is-the-difference-between-nlp-vocab-and-nlp-vocab-strings/68889010#68889010)
Part of the confusion might be kept alive by our [Vocab API documentation](https://spacy.io/api/vocab). It still lists an `oov_prob` as "The default OOV probability.", which suggests that we're still using probability estimates to declare tokens to be out of vocabulary. My impression is that this isn't correct and that we check the vector table instead.
Similarly the `__len__()` definition lists "Get the current number of lexemes in the vocabulary.". As @polm mentions [here](https://github.com/explosion/spaCy/discussions/10022#discussioncomment-1946094) it seems best to call it an implementation detail instead of an actual count of seen words.
## Proposal:
- Are there any objections to rephrasing some of these statements in the docs? I can imagine it'd help combat the confusion. I'll gladly make a PR if folks don't mind.
## Question
- Is the `oov_prob` still relevant? My impression is that users could still add their own probability values if they wanted to, but isn't that use-case becoming very niche?
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10474/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10471 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10471/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10471/comments | https://api.github.com/repos/explosion/spaCy/issues/10471/events | https://github.com/explosion/spaCy/pull/10471 | 1,164,552,054 | PR_kwDOAUeP5s40NBjt | 10,471 | small cleanup | {
"login": "Ben-Epstein",
"id": 22605641,
"node_id": "MDQ6VXNlcjIyNjA1NjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/22605641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ben-Epstein",
"html_url": "https://github.com/Ben-Epstein",
"followers_url": "https://api.github.com/users/Ben-Epstein/followers",
"following_url": "https://api.github.com/users/Ben-Epstein/following{/other_user}",
"gists_url": "https://api.github.com/users/Ben-Epstein/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Ben-Epstein/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Ben-Epstein/subscriptions",
"organizations_url": "https://api.github.com/users/Ben-Epstein/orgs",
"repos_url": "https://api.github.com/users/Ben-Epstein/repos",
"events_url": "https://api.github.com/users/Ben-Epstein/events{/privacy}",
"received_events_url": "https://api.github.com/users/Ben-Epstein/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
}
] | open | false | null | [] | null | 0 | 2022-03-09T23:22:28 | 2022-03-11T08:10:15 | null | NONE | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10471",
"html_url": "https://github.com/explosion/spaCy/pull/10471",
"diff_url": "https://github.com/explosion/spaCy/pull/10471.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10471.patch",
"merged_at": null
} | this isn't used until the exception block, so just a bit cleaner to move it there
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [X] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [X] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10471/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10468 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10468/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10468/comments | https://api.github.com/repos/explosion/spaCy/issues/10468/events | https://github.com/explosion/spaCy/pull/10468 | 1,162,907,861 | PR_kwDOAUeP5s40HmBD | 10,468 | Extend list of numbers for ru language | {
"login": "gremur",
"id": 65895033,
"node_id": "MDQ6VXNlcjY1ODk1MDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/65895033?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gremur",
"html_url": "https://github.com/gremur",
"followers_url": "https://api.github.com/users/gremur/followers",
"following_url": "https://api.github.com/users/gremur/following{/other_user}",
"gists_url": "https://api.github.com/users/gremur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gremur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gremur/subscriptions",
"organizations_url": "https://api.github.com/users/gremur/orgs",
"repos_url": "https://api.github.com/users/gremur/repos",
"events_url": "https://api.github.com/users/gremur/events{/privacy}",
"received_events_url": "https://api.github.com/users/gremur/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 589945535,
"node_id": "MDU6TGFiZWw1ODk5NDU1MzU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20ru",
"name": "lang / ru",
"color": "726DA8",
"default": false,
"description": "Russian language data and models"
}
] | open | false | null | [] | null | 0 | 2022-03-08T17:08:46 | 2022-03-08T18:49:14 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10468",
"html_url": "https://github.com/explosion/spaCy/pull/10468",
"diff_url": "https://github.com/explosion/spaCy/pull/10468.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10468.patch",
"merged_at": null
} | Extended list of numbers.
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x ] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x ] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10468/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10464 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10464/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10464/comments | https://api.github.com/repos/explosion/spaCy/issues/10464/events | https://github.com/explosion/spaCy/pull/10464 | 1,162,573,292 | PR_kwDOAUeP5s40GfQt | 10,464 | Fix types in API docs for moves in parser and ner | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 312256136,
"node_id": "MDU6TGFiZWwzMTIyNTYxMzY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/docs",
"name": "docs",
"color": "087EA6",
"default": false,
"description": "Documentation and website"
},
{
"id": 881663930,
"node_id": "MDU6TGFiZWw4ODE2NjM5MzA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20ner",
"name": "feat / ner",
"color": "ddfc74",
"default": false,
"description": "Feature: Named Entity Recognizer"
},
{
"id": 881665973,
"node_id": "MDU6TGFiZWw4ODE2NjU5NzM=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20parser",
"name": "feat / parser",
"color": "ddfc74",
"default": false,
"description": "Feature: Dependency Parser"
}
] | closed | false | null | [] | null | 0 | 2022-03-08T12:02:51 | 2022-03-08T12:51:12 | 2022-03-08T12:51:12 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10464",
"html_url": "https://github.com/explosion/spaCy/pull/10464",
"diff_url": "https://github.com/explosion/spaCy/pull/10464.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10464.patch",
"merged_at": "2022-03-08T12:51:12"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Fix types in API docs for moves in parser and ner
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Docs.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10464/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10463 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10463/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10463/comments | https://api.github.com/repos/explosion/spaCy/issues/10463/events | https://github.com/explosion/spaCy/pull/10463 | 1,162,569,139 | PR_kwDOAUeP5s40GeX4 | 10,463 | Remove English tokenizer exception May. | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 514165920,
"node_id": "MDU6TGFiZWw1MTQxNjU5MjA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20en",
"name": "lang / en",
"color": "726DA8",
"default": false,
"description": "English language data and models"
},
{
"id": 3550450007,
"node_id": "LA_kwDOAUeP5s7Tn5FX",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.3",
"name": "🔜 v3.3",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.3"
}
] | closed | false | null | [] | null | 0 | 2022-03-08T11:58:15 | 2022-03-08T13:28:46 | 2022-03-08T13:28:46 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10463",
"html_url": "https://github.com/explosion/spaCy/pull/10463",
"diff_url": "https://github.com/explosion/spaCy/pull/10463.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10463.patch",
"merged_at": "2022-03-08T13:28:46"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Remove English tokenizer exception May.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
?
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10463/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10463/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10460 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10460/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10460/comments | https://api.github.com/repos/explosion/spaCy/issues/10460/events | https://github.com/explosion/spaCy/pull/10460 | 1,162,407,671 | PR_kwDOAUeP5s40F8JK | 10,460 | Fix initial special cases for Tokenizer.explain | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 881718446,
"node_id": "MDU6TGFiZWw4ODE3MTg0NDY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tokenizer",
"name": "feat / tokenizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Tokenizer"
}
] | closed | false | null | [] | null | 2 | 2022-03-08T09:15:16 | 2022-03-11T09:50:47 | 2022-03-11T09:50:47 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10460",
"html_url": "https://github.com/explosion/spaCy/pull/10460",
"diff_url": "https://github.com/explosion/spaCy/pull/10460.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10460.patch",
"merged_at": "2022-03-11T09:50:47"
} |
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Add the missing initial check for special cases to `Tokenizer.explain` to align with `Tokenizer._tokenize_affixes`.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Bug fix.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10460/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10460/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10458 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10458/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10458/comments | https://api.github.com/repos/explosion/spaCy/issues/10458/events | https://github.com/explosion/spaCy/issues/10458 | 1,162,361,710 | I_kwDOAUeP5s5FSDtu | 10,458 | spacy project clone assumes `master` not `main`. | {
"login": "koaning",
"id": 1019791,
"node_id": "MDQ6VXNlcjEwMTk3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1019791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/koaning",
"html_url": "https://github.com/koaning",
"followers_url": "https://api.github.com/users/koaning/followers",
"following_url": "https://api.github.com/users/koaning/following{/other_user}",
"gists_url": "https://api.github.com/users/koaning/gists{/gist_id}",
"starred_url": "https://api.github.com/users/koaning/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/koaning/subscriptions",
"organizations_url": "https://api.github.com/users/koaning/orgs",
"repos_url": "https://api.github.com/users/koaning/repos",
"events_url": "https://api.github.com/users/koaning/events{/privacy}",
"received_events_url": "https://api.github.com/users/koaning/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 542391290,
"node_id": "MDU6TGFiZWw1NDIzOTEyOTA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/meta",
"name": "meta",
"color": "f6f6f6",
"default": false,
"description": "Meta topics, e.g. repo organisation and issue management"
},
{
"id": 2373639487,
"node_id": "MDU6TGFiZWwyMzczNjM5NDg3",
"url": "https://api.github.com/repos/explosion/spaCy/labels/projects",
"name": "projects",
"color": "087EA6",
"default": false,
"description": "spaCy projects and project templates"
}
] | open | false | null | [] | null | 2 | 2022-03-08T08:26:40 | 2022-03-10T09:13:32 | null | CONTRIBUTOR | null | null | null | I've started making a custom spaCy project, over [here](https://github.com/koaning/classycookie).
While I was toying around with it, I noticed that it wouldn't clone if I ran this command;
```
> python -m spacy project clone --repo https://github.com/koaning/classycookie classification
```
It seems that spaCy assumes that the default branch is `master`, despite new branches on any new repos being `main`.
Here's the traceback.
```
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/__main__.py", line 4, in <module>
setup_cli()
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/cli/_util.py", line 71, in setup_cli
command(prog_name=COMMAND)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/cli/project/clone.py", line 39, in project_clone_cli
project_clone(name, dest, repo=repo, branch=branch, sparse_checkout=sparse_checkout)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/cli/project/clone.py", line 62, in project_clone
git_checkout(repo, name, dest, branch=branch, sparse=sparse_checkout)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/cli/_util.py", line 400, in git_checkout
run_command(cmd, capture=True)
File "/home/vincent/Development/classycookie/venv/lib/python3.8/site-packages/spacy/util.py", line 967, in run_command
raise error
subprocess.SubprocessError: Error running command:
git -C /tmp/tmpft3wrmsu clone https://github.com/koaning/classycookie . -b master
Subprocess exited with status 128
Process log (stdout and stderr):
Cloning into '.'...
fatal: Remote branch master not found in upstream origin
```
When I manually set the branch everything works.
```
> python -m spacy project clone --repo https://github.com/koaning/classycookie classification -b main
✔ Cloned 'classification' from koaning/classycookie
/home/vincent/Development/classification
✔ Your project is now ready!
To fetch the assets, run:
python -m spacy project assets /home/vincent/Development/classification
```
Figured I'd mention it here. Given that `main` is the new default on Github ... might it make sense to switch the default in the `-b` param? | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10458/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10457 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10457/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10457/comments | https://api.github.com/repos/explosion/spaCy/issues/10457/events | https://github.com/explosion/spaCy/pull/10457 | 1,162,341,566 | PR_kwDOAUeP5s40FuVv | 10,457 | Fix Entity Linker with tokenization mismatches (fix #9575) | {
"login": "polm",
"id": 286278,
"node_id": "MDQ6VXNlcjI4NjI3OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/286278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/polm",
"html_url": "https://github.com/polm",
"followers_url": "https://api.github.com/users/polm/followers",
"following_url": "https://api.github.com/users/polm/following{/other_user}",
"gists_url": "https://api.github.com/users/polm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/polm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/polm/subscriptions",
"organizations_url": "https://api.github.com/users/polm/orgs",
"repos_url": "https://api.github.com/users/polm/repos",
"events_url": "https://api.github.com/users/polm/events{/privacy}",
"received_events_url": "https://api.github.com/users/polm/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 1414776544,
"node_id": "MDU6TGFiZWwxNDE0Nzc2NTQ0",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20nel",
"name": "feat / nel",
"color": "ddfc74",
"default": false,
"description": "Feature: Named Entity linking"
}
] | open | false | null | [] | null | 0 | 2022-03-08T08:03:50 | 2022-03-08T08:04:02 | null | MEMBER | null | true | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10457",
"html_url": "https://github.com/explosion/spaCy/pull/10457",
"diff_url": "https://github.com/explosion/spaCy/pull/10457.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10457.patch",
"merged_at": null
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
As outlined in #9575, the Entity Linker has issues when tokenization differs between gold and predicted Docs. This was separate from the issue addressed with the recent fix for tok2vec issues, so this PR should address it.
The main issue is that while KB IDs are taken aligned to tokens in the predicted Doc, they are indexed into using entity token indices from the gold Doc. This means if there was any change in the tokenization before the token in question, the tokens won't line up, which can result in nonsense or IndexErrors.
Right now this PR just has a failing test; the fix is in progress.
My basic strategy for fixing this is to use the `get_matching_ents` function introduced in the previous NEL fix PR to get aligned entities. That should give correct results all cases, but may be more strict than the previous behavior, since previously KB IDs were taken from entities with a matching first token rather than matching the whole span.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
bugfix
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10457/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10457/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10455 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10455/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10455/comments | https://api.github.com/repos/explosion/spaCy/issues/10455/events | https://github.com/explosion/spaCy/issues/10455 | 1,162,217,202 | I_kwDOAUeP5s5FRgby | 10,455 | Tokenizer result does not match with explain result for token_match. | {
"login": "XavierDDD",
"id": 24379693,
"node_id": "MDQ6VXNlcjI0Mzc5Njkz",
"avatar_url": "https://avatars.githubusercontent.com/u/24379693?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XavierDDD",
"html_url": "https://github.com/XavierDDD",
"followers_url": "https://api.github.com/users/XavierDDD/followers",
"following_url": "https://api.github.com/users/XavierDDD/following{/other_user}",
"gists_url": "https://api.github.com/users/XavierDDD/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XavierDDD/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XavierDDD/subscriptions",
"organizations_url": "https://api.github.com/users/XavierDDD/orgs",
"repos_url": "https://api.github.com/users/XavierDDD/repos",
"events_url": "https://api.github.com/users/XavierDDD/events{/privacy}",
"received_events_url": "https://api.github.com/users/XavierDDD/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 881718446,
"node_id": "MDU6TGFiZWw4ODE3MTg0NDY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tokenizer",
"name": "feat / tokenizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Tokenizer"
}
] | closed | false | null | [] | null | 4 | 2022-03-08T04:51:19 | 2022-03-11T09:50:47 | 2022-03-11T09:50:47 | NONE | null | null | null | <!-- NOTE: For questions or install related issues, please open a Discussion instead. -->
## How to reproduce the behaviour
<!-- Include a code example or the steps that led to the problem. Please try to be as specific as possible. -->
Saw a similar issue #10130 and #9136 but still have issue when applying token_match function in 3.2.3.
```
nlp = spacy.blank("en")
nlp.tokenizer.token_match = re.compile("^id$").match
text = "user id and user name"
doc = nlp(text)
for token in doc:
print(token.text)
#user
#i
#d
#and
#user
#name
print(nlp.tokenizer.explain(text))
#[('TOKEN', 'user'), ('TOKEN_MATCH', 'id'), ('TOKEN', 'and'), ('TOKEN', 'user'), ('TOKEN', 'name')]
```
## Your Environment
<!-- Include details of your environment. If you're using spaCy 1.7+, you can also type `python -m spacy info --markdown` and copy-paste the result here.-->
- **spaCy version:** 3.2.3
- **Platform:** Linux-5.4.0-1057-gcp-x86_64-with-glibc2.27
- **Python version:** 3.8.11
- **Pipelines:** en_core_web_lg (3.2.0), en_core_web_sm (3.2.0)
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10455/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10452 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10452/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10452/comments | https://api.github.com/repos/explosion/spaCy/issues/10452/events | https://github.com/explosion/spaCy/pull/10452 | 1,161,309,854 | PR_kwDOAUeP5s40CUCJ | 10,452 | Add tokenizer option to allow Matcher handling for all rules | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 881718446,
"node_id": "MDU6TGFiZWw4ODE3MTg0NDY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tokenizer",
"name": "feat / tokenizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Tokenizer"
},
{
"id": 3550450007,
"node_id": "LA_kwDOAUeP5s7Tn5FX",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.3",
"name": "🔜 v3.3",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.3"
}
] | open | false | null | [] | null | 6 | 2022-03-07T11:44:54 | 2022-03-11T09:55:27 | null | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10452",
"html_url": "https://github.com/explosion/spaCy/pull/10452",
"diff_url": "https://github.com/explosion/spaCy/pull/10452.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10452.patch",
"merged_at": null
} |
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Add tokenizer option `with_faster_rules_heuristics` that determines whether the special cases applied by the internal `Matcher` are filtered by whether they contain affixes or space. If `True` (default), the rules are filtered to prioritize speed over rare edge cases. If `False`, all rules are included in the final `Matcher`-based pass over the doc.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Enhancement.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10452/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10452/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10451 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10451/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10451/comments | https://api.github.com/repos/explosion/spaCy/issues/10451/events | https://github.com/explosion/spaCy/pull/10451 | 1,161,174,294 | PR_kwDOAUeP5s40B7Hr | 10,451 | Fix get_matching_ents | {
"login": "polm",
"id": 286278,
"node_id": "MDQ6VXNlcjI4NjI3OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/286278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/polm",
"html_url": "https://github.com/polm",
"followers_url": "https://api.github.com/users/polm/followers",
"following_url": "https://api.github.com/users/polm/following{/other_user}",
"gists_url": "https://api.github.com/users/polm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/polm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/polm/subscriptions",
"organizations_url": "https://api.github.com/users/polm/orgs",
"repos_url": "https://api.github.com/users/polm/repos",
"events_url": "https://api.github.com/users/polm/events{/privacy}",
"received_events_url": "https://api.github.com/users/polm/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 1414776544,
"node_id": "MDU6TGFiZWwxNDE0Nzc2NTQ0",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20nel",
"name": "feat / nel",
"color": "ddfc74",
"default": false,
"description": "Feature: Named Entity linking"
},
{
"id": 2205225501,
"node_id": "MDU6TGFiZWwyMjA1MjI1NTAx",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20training",
"name": "feat / training",
"color": "ddfc74",
"default": false,
"description": "Feature: Training utils, Example, Corpus and converters"
}
] | closed | false | null | [] | null | 0 | 2022-03-07T10:01:31 | 2022-03-07T15:56:57 | 2022-03-07T15:56:57 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10451",
"html_url": "https://github.com/explosion/spaCy/pull/10451",
"diff_url": "https://github.com/explosion/spaCy/pull/10451.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10451.patch",
"merged_at": "2022-03-07T15:56:57"
} |
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
`Example.get_matching_ents` was added as part of #9669, but for some reason master seems to have an old version of the code that just doesn't work. It's already covered by tests that were in #9669 (and fail without this commit) but were succeeding there for some reason.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Fix
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10451/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10451/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10446 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10446/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10446/comments | https://api.github.com/repos/explosion/spaCy/issues/10446/events | https://github.com/explosion/spaCy/pull/10446 | 1,160,943,005 | PR_kwDOAUeP5s40BNNK | 10,446 | Update Issue Templates | {
"login": "polm",
"id": 286278,
"node_id": "MDQ6VXNlcjI4NjI3OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/286278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/polm",
"html_url": "https://github.com/polm",
"followers_url": "https://api.github.com/users/polm/followers",
"following_url": "https://api.github.com/users/polm/following{/other_user}",
"gists_url": "https://api.github.com/users/polm/gists{/gist_id}",
"starred_url": "https://api.github.com/users/polm/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/polm/subscriptions",
"organizations_url": "https://api.github.com/users/polm/orgs",
"repos_url": "https://api.github.com/users/polm/repos",
"events_url": "https://api.github.com/users/polm/events{/privacy}",
"received_events_url": "https://api.github.com/users/polm/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 542391290,
"node_id": "MDU6TGFiZWw1NDIzOTEyOTA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/meta",
"name": "meta",
"color": "f6f6f6",
"default": false,
"description": "Meta topics, e.g. repo organisation and issue management"
}
] | closed | false | null | [] | null | 0 | 2022-03-07T05:58:06 | 2022-03-07T09:41:04 | 2022-03-07T09:41:04 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10446",
"html_url": "https://github.com/explosion/spaCy/pull/10446",
"diff_url": "https://github.com/explosion/spaCy/pull/10446.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10446.patch",
"merged_at": "2022-03-07T09:41:04"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
This removes a note about Python 3.10 wheels not being released, which was addressed a while ago.
This also adds a comment to the top of the bug report issue template that directs questions and install-related issues to Discussions. It would be better to put the Discussions link at the top of the "New Issue" menu, but I don't think that's possible.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
repo?
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10446/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10446/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10433 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10433/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10433/comments | https://api.github.com/repos/explosion/spaCy/issues/10433/events | https://github.com/explosion/spaCy/issues/10433 | 1,159,548,857 | I_kwDOAUeP5s5FHU-5 | 10,433 | Release Linux aarch64 wheels in PyPI | {
"login": "odidev",
"id": 40816837,
"node_id": "MDQ6VXNlcjQwODE2ODM3",
"avatar_url": "https://avatars.githubusercontent.com/u/40816837?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/odidev",
"html_url": "https://github.com/odidev",
"followers_url": "https://api.github.com/users/odidev/followers",
"following_url": "https://api.github.com/users/odidev/following{/other_user}",
"gists_url": "https://api.github.com/users/odidev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/odidev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/odidev/subscriptions",
"organizations_url": "https://api.github.com/users/odidev/orgs",
"repos_url": "https://api.github.com/users/odidev/repos",
"events_url": "https://api.github.com/users/odidev/events{/privacy}",
"received_events_url": "https://api.github.com/users/odidev/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 542391290,
"node_id": "MDU6TGFiZWw1NDIzOTEyOTA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/meta",
"name": "meta",
"color": "f6f6f6",
"default": false,
"description": "Meta topics, e.g. repo organisation and issue management"
},
{
"id": 781096900,
"node_id": "MDU6TGFiZWw3ODEwOTY5MDA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/compat",
"name": "compat",
"color": "676F6D",
"default": false,
"description": "Cross-platform and cross-Python compatibility"
}
] | open | false | null | [] | null | 1 | 2022-03-04T11:34:06 | 2022-03-08T07:30:18 | null | NONE | null | null | null | In reference to https://github.com/explosion/spaCy/issues/6533
As per the [comment](https://github.com/explosion/spaCy/issues/6533#issuecomment-742143784) team was working on adding wheel support for more platforms. However, I can see that Linux aarch64 wheels are not available in [PyPI](https://pypi.org/project/spacy/#files) yet.
Can you please let me know if you have any plan for releasing Linux aarch64 wheel on PyPI. Please let me know if you need any help from my side. I can contribute. | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10433/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10432 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10432/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10432/comments | https://api.github.com/repos/explosion/spaCy/issues/10432/events | https://github.com/explosion/spaCy/pull/10432 | 1,159,381,449 | PR_kwDOAUeP5s4z8Q3s | 10,432 | Add Upper Sorbian support. | {
"login": "jnphilipp",
"id": 1509101,
"node_id": "MDQ6VXNlcjE1MDkxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1509101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jnphilipp",
"html_url": "https://github.com/jnphilipp",
"followers_url": "https://api.github.com/users/jnphilipp/followers",
"following_url": "https://api.github.com/users/jnphilipp/following{/other_user}",
"gists_url": "https://api.github.com/users/jnphilipp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jnphilipp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnphilipp/subscriptions",
"organizations_url": "https://api.github.com/users/jnphilipp/orgs",
"repos_url": "https://api.github.com/users/jnphilipp/repos",
"events_url": "https://api.github.com/users/jnphilipp/events{/privacy}",
"received_events_url": "https://api.github.com/users/jnphilipp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 3902391165,
"node_id": "LA_kwDOAUeP5s7omcN9",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20hsb",
"name": "lang / hsb",
"color": "726da8",
"default": false,
"description": "Upper Sorbian language data and models"
}
] | closed | false | null | [] | null | 0 | 2022-03-04T08:30:40 | 2022-03-07T15:20:39 | 2022-03-07T15:20:39 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10432",
"html_url": "https://github.com/explosion/spaCy/pull/10432",
"diff_url": "https://github.com/explosion/spaCy/pull/10432.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10432.patch",
"merged_at": "2022-03-07T15:20:39"
} | ## Description
Add Upper Sorbian language class.
### Types of change
Enhancement
## Checklist
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10432/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10432/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10431 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10431/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10431/comments | https://api.github.com/repos/explosion/spaCy/issues/10431/events | https://github.com/explosion/spaCy/pull/10431 | 1,159,379,986 | PR_kwDOAUeP5s4z8QkH | 10,431 | Add Lower Sorbian support. | {
"login": "jnphilipp",
"id": 1509101,
"node_id": "MDQ6VXNlcjE1MDkxMDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1509101?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jnphilipp",
"html_url": "https://github.com/jnphilipp",
"followers_url": "https://api.github.com/users/jnphilipp/followers",
"following_url": "https://api.github.com/users/jnphilipp/following{/other_user}",
"gists_url": "https://api.github.com/users/jnphilipp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jnphilipp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jnphilipp/subscriptions",
"organizations_url": "https://api.github.com/users/jnphilipp/orgs",
"repos_url": "https://api.github.com/users/jnphilipp/repos",
"events_url": "https://api.github.com/users/jnphilipp/events{/privacy}",
"received_events_url": "https://api.github.com/users/jnphilipp/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 3902392454,
"node_id": "LA_kwDOAUeP5s7omciG",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20dsb",
"name": "lang / dsb",
"color": "726da8",
"default": false,
"description": "Lower Sorbian language data and models"
}
] | closed | false | null | [] | null | 0 | 2022-03-04T08:28:52 | 2022-03-07T15:57:14 | 2022-03-07T15:57:14 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10431",
"html_url": "https://github.com/explosion/spaCy/pull/10431",
"diff_url": "https://github.com/explosion/spaCy/pull/10431.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10431.patch",
"merged_at": "2022-03-07T15:57:14"
} | ## Description
Add Lower Sorbian language class.
### Types of change
Enhancement
## Checklist
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10431/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10431/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10429 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10429/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10429/comments | https://api.github.com/repos/explosion/spaCy/issues/10429/events | https://github.com/explosion/spaCy/issues/10429 | 1,159,126,626 | I_kwDOAUeP5s5FFt5i | 10,429 | Creating an "ner" object with provided "moves" not possible | {
"login": "nikita-galileo",
"id": 83978491,
"node_id": "MDQ6VXNlcjgzOTc4NDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/83978491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikita-galileo",
"html_url": "https://github.com/nikita-galileo",
"followers_url": "https://api.github.com/users/nikita-galileo/followers",
"following_url": "https://api.github.com/users/nikita-galileo/following{/other_user}",
"gists_url": "https://api.github.com/users/nikita-galileo/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nikita-galileo/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nikita-galileo/subscriptions",
"organizations_url": "https://api.github.com/users/nikita-galileo/orgs",
"repos_url": "https://api.github.com/users/nikita-galileo/repos",
"events_url": "https://api.github.com/users/nikita-galileo/events{/privacy}",
"received_events_url": "https://api.github.com/users/nikita-galileo/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-03-04T00:56:09 | 2022-03-06T04:30:23 | 2022-03-06T04:30:23 | NONE | null | null | null | ## How to reproduce the behaviour
```
nlp = spacy.blank('en')
ner = nlp.add_pipe("ner")
move_names = ner.move_names # this will be a List[str]
moves_transition_system = ner.moves # this will be a BiluoPushDown
nlp.remove_pipe("ner")
nlp.add_pipe("ner", config={"moves": move_names})
# complains with: {ConfigValidationError} Config validation error ner -> moves instance of TransitionSystem expected
nlp.add_pipe("ner", config={"moves": moves_transition_system})
# complains with: {ValueError} Found non-serializable Python object in config. Configs should only include values that can be serialized to JSON. If you need to pass models or other objects to your component, use a reference to a registered function or initialize the object in your component.
```
I'm trying to initialize a copy EntityRecognizer of an old one, but in using the component factory structure we have to provide initialization information through a `config`. I think the critical thing to provide would be the moves and the model, but not sure how to properly provide either.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10429/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10428 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10428/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10428/comments | https://api.github.com/repos/explosion/spaCy/issues/10428/events | https://github.com/explosion/spaCy/issues/10428 | 1,159,097,154 | I_kwDOAUeP5s5FFmtC | 10,428 | Incorrect tokenization on "May." in English md model | {
"login": "mapadofu",
"id": 9995718,
"node_id": "MDQ6VXNlcjk5OTU3MTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9995718?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mapadofu",
"html_url": "https://github.com/mapadofu",
"followers_url": "https://api.github.com/users/mapadofu/followers",
"following_url": "https://api.github.com/users/mapadofu/following{/other_user}",
"gists_url": "https://api.github.com/users/mapadofu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mapadofu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mapadofu/subscriptions",
"organizations_url": "https://api.github.com/users/mapadofu/orgs",
"repos_url": "https://api.github.com/users/mapadofu/repos",
"events_url": "https://api.github.com/users/mapadofu/events{/privacy}",
"received_events_url": "https://api.github.com/users/mapadofu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 514165920,
"node_id": "MDU6TGFiZWw1MTQxNjU5MjA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20en",
"name": "lang / en",
"color": "726DA8",
"default": false,
"description": "English language data and models"
},
{
"id": 881718446,
"node_id": "MDU6TGFiZWw4ODE3MTg0NDY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tokenizer",
"name": "feat / tokenizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Tokenizer"
}
] | closed | false | null | [] | null | 1 | 2022-03-04T00:11:00 | 2022-03-08T13:28:46 | 2022-03-08T13:28:46 | NONE | null | null | null | This is a pretty extreme edge case, but has occurred to me:
## How to reproduce the behaviour
```
In [2]: nlp = spacy.load('en_core_web_md')
In [20]: text = "John's birthday is 9 May. He'll turn 21 then."
In [21]: doc = nlp(text)
In [22]: print(' '.join( f'[{t.text}]' for t in doc))
[John] ['s] [birthday] [is] [9] [May.] [ ] [He] ['ll] [turn] [21] [then] [.]
```
## Your Environment
Linux (Ubuntu 20.04)
## Info about spaCy
- **spaCy version:** 3.2.2
- **Platform:** Linux-5.4.0-100-generic-x86_64-with-glibc2.29
- **Python version:** 3.8.10
- **Pipelines:** en_core_web_md (3.2.0)
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10428/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10421 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10421/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10421/comments | https://api.github.com/repos/explosion/spaCy/issues/10421/events | https://github.com/explosion/spaCy/issues/10421 | 1,158,763,564 | I_kwDOAUeP5s5FEVQs | 10,421 | Can't retrieve unregistered extension attribute 'blob'. | {
"login": "dsm-72",
"id": 100158155,
"node_id": "U_kgDOBfhKyw",
"avatar_url": "https://avatars.githubusercontent.com/u/100158155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsm-72",
"html_url": "https://github.com/dsm-72",
"followers_url": "https://api.github.com/users/dsm-72/followers",
"following_url": "https://api.github.com/users/dsm-72/following{/other_user}",
"gists_url": "https://api.github.com/users/dsm-72/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dsm-72/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dsm-72/subscriptions",
"organizations_url": "https://api.github.com/users/dsm-72/orgs",
"repos_url": "https://api.github.com/users/dsm-72/repos",
"events_url": "https://api.github.com/users/dsm-72/events{/privacy}",
"received_events_url": "https://api.github.com/users/dsm-72/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-03-03T18:32:23 | 2022-03-06T04:15:55 | 2022-03-06T04:15:55 | NONE | null | null | null | Copy pasted from [tutorial](https://spacy.io/universe/project/spacy-textblob)
```python
import spacy
from spacytextblob.spacytextblob import SpacyTextBlob
nlp = spacy.load('en_core_web_sm')
nlp.add_pipe('spacytextblob')
text = 'I had a really horrible day. It was the worst day ever! But every now and then I have a really good day that makes me happy.'
doc = nlp(text)
doc._.blob.polarity # Polarity: -0.125
doc._.blob.subjectivity # Subjectivity: 0.9
doc._.blob.sentiment_assessments.assessments # Assessments: [(['really', 'horrible'], -1.0, 1.0, None), (['worst', '!'], -1.0, 1.0, None), (['really', 'good'], 0.7, 0.6000000000000001, None), (['happy'], 0.8, 1.0, None)]
doc._.blob.ngrams()
```
```bash
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-30-b84122143817> in <module>
6 text = 'I had a really horrible day. It was the worst day ever! But every now and then I have a really good day that makes me happy.'
7 doc = nlp(text)
----> 8 doc._.blob.polarity # Polarity: -0.125
9 doc._.blob.subjectivity # Subjectivity: 0.9
10 doc._.blob.sentiment_assessments.assessments # Assessments: [(['really', 'horrible'], -1.0, 1.0, None), (['worst', '!'], -1.0, 1.0, None), (['really', 'good'], 0.7, 0.6000000000000001, None), (['happy'], 0.8, 1.0, None)]
/opt/anaconda/anaconda3/envs/venv/lib/python3.6/site-packages/spacy/tokens/underscore.py in __getattr__(self, name)
45 def __getattr__(self, name: str) -> Any:
46 if name not in self._extensions:
---> 47 raise AttributeError(Errors.E046.format(name=name))
48 default, method, getter, setter = self._extensions[name]
49 if getter is not None:
AttributeError: [E046] Can't retrieve unregistered extension attribute 'blob'. Did you forget to call the `set_extension` method?
``` | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10421/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10418 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10418/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10418/comments | https://api.github.com/repos/explosion/spaCy/issues/10418/events | https://github.com/explosion/spaCy/issues/10418 | 1,158,671,274 | I_kwDOAUeP5s5FD-uq | 10,418 | Pythonic Training of Custom NER Models | {
"login": "siamakzd",
"id": 86614882,
"node_id": "MDQ6VXNlcjg2NjE0ODgy",
"avatar_url": "https://avatars.githubusercontent.com/u/86614882?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siamakzd",
"html_url": "https://github.com/siamakzd",
"followers_url": "https://api.github.com/users/siamakzd/followers",
"following_url": "https://api.github.com/users/siamakzd/following{/other_user}",
"gists_url": "https://api.github.com/users/siamakzd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/siamakzd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/siamakzd/subscriptions",
"organizations_url": "https://api.github.com/users/siamakzd/orgs",
"repos_url": "https://api.github.com/users/siamakzd/repos",
"events_url": "https://api.github.com/users/siamakzd/events{/privacy}",
"received_events_url": "https://api.github.com/users/siamakzd/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-03-03T17:07:51 | 2022-03-06T04:18:32 | 2022-03-06T04:18:32 | NONE | null | null | null | Hello,
I am new to spaCy and trying to train a custom NER model. Based on the documentations, to train a model one needs to play with some widget to generate a config and use it in command line for training.
I am wondering if there is a recipe to use spaCy like standard ML frameworks, where you can import models and create pipelines and train models (e.g. HuggingFace's way) all within Python? That can greatly improve the pipeline automation. | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10418/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10417 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10417/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10417/comments | https://api.github.com/repos/explosion/spaCy/issues/10417/events | https://github.com/explosion/spaCy/issues/10417 | 1,158,581,045 | I_kwDOAUeP5s5FDos1 | 10,417 | Can't "prefer_gpu()" | {
"login": "Mathhead",
"id": 47051804,
"node_id": "MDQ6VXNlcjQ3MDUxODA0",
"avatar_url": "https://avatars.githubusercontent.com/u/47051804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mathhead",
"html_url": "https://github.com/Mathhead",
"followers_url": "https://api.github.com/users/Mathhead/followers",
"following_url": "https://api.github.com/users/Mathhead/following{/other_user}",
"gists_url": "https://api.github.com/users/Mathhead/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Mathhead/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Mathhead/subscriptions",
"organizations_url": "https://api.github.com/users/Mathhead/orgs",
"repos_url": "https://api.github.com/users/Mathhead/repos",
"events_url": "https://api.github.com/users/Mathhead/events{/privacy}",
"received_events_url": "https://api.github.com/users/Mathhead/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-03-03T15:51:15 | 2022-03-06T04:20:56 | 2022-03-06T04:20:56 | NONE | null | null | null | Hi there.
I am trying to run spaCy on my GPU, yet "prefer_gpu()" returns False.
## How to reproduce the behaviour
!pip install -U 'spacy[cuda114]'
import spacy
spacy.prefer_gpu()
## Your Environment
2022-03-03 15:48:07.197671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer.so.6
2022-03-03 15:48:07.201202: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libnvinfer_plugin.so.6
## Info about spaCy
- **spaCy version:** 3.2.3
- **Platform:** Linux-5.4.0-99-generic-x86_64-with-Ubuntu-18.04-bionic
- **Python version:** 3.6.9
-**CUDA 11.4
-**Driver Version: 470.63.01
-**tf.config.list_physical_devices(): [PhysicalDevice(name='/physical_device:CPU:0', device_type='CPU'),
PhysicalDevice(name='/physical_device:XLA_CPU:0', device_type='XLA_CPU'),
PhysicalDevice(name='/physical_device:XLA_GPU:0', device_type='XLA_GPU'),
PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10417/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10416 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10416/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10416/comments | https://api.github.com/repos/explosion/spaCy/issues/10416/events | https://github.com/explosion/spaCy/issues/10416 | 1,158,439,279 | I_kwDOAUeP5s5FDGFv | 10,416 | Is there a way to do pos tagging on tokenized sentence? | {
"login": "SilasTHU",
"id": 21220813,
"node_id": "MDQ6VXNlcjIxMjIwODEz",
"avatar_url": "https://avatars.githubusercontent.com/u/21220813?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SilasTHU",
"html_url": "https://github.com/SilasTHU",
"followers_url": "https://api.github.com/users/SilasTHU/followers",
"following_url": "https://api.github.com/users/SilasTHU/following{/other_user}",
"gists_url": "https://api.github.com/users/SilasTHU/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SilasTHU/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SilasTHU/subscriptions",
"organizations_url": "https://api.github.com/users/SilasTHU/orgs",
"repos_url": "https://api.github.com/users/SilasTHU/repos",
"events_url": "https://api.github.com/users/SilasTHU/events{/privacy}",
"received_events_url": "https://api.github.com/users/SilasTHU/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-03-03T13:55:31 | 2022-03-06T04:28:12 | 2022-03-06T04:28:12 | NONE | null | null | null | I know how to do pos tagging in the pipeline way.
I have a list, of which each element is a token of the sentence. Is there a way to do pos tagging on that list?
Thank you. | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10416/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10413 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10413/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10413/comments | https://api.github.com/repos/explosion/spaCy/issues/10413/events | https://github.com/explosion/spaCy/pull/10413 | 1,157,091,242 | PR_kwDOAUeP5s4z0tAb | 10,413 | Save span candidates produced by spancat suggesters | {
"login": "thomashacker",
"id": 43848523,
"node_id": "MDQ6VXNlcjQzODQ4NTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/43848523?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomashacker",
"html_url": "https://github.com/thomashacker",
"followers_url": "https://api.github.com/users/thomashacker/followers",
"following_url": "https://api.github.com/users/thomashacker/following{/other_user}",
"gists_url": "https://api.github.com/users/thomashacker/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thomashacker/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomashacker/subscriptions",
"organizations_url": "https://api.github.com/users/thomashacker/orgs",
"repos_url": "https://api.github.com/users/thomashacker/repos",
"events_url": "https://api.github.com/users/thomashacker/events{/privacy}",
"received_events_url": "https://api.github.com/users/thomashacker/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 3116151377,
"node_id": "MDU6TGFiZWwzMTE2MTUxMzc3",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20spancat",
"name": "feat / spancat",
"color": "ddfc74",
"default": false,
"description": "Feature: Span Categorizer"
},
{
"id": 3550450007,
"node_id": "LA_kwDOAUeP5s7Tn5FX",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.3",
"name": "🔜 v3.3",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.3"
}
] | open | false | null | [] | null | 17 | 2022-03-02T11:53:51 | 2022-03-11T16:53:19 | null | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10413",
"html_url": "https://github.com/explosion/spaCy/pull/10413",
"diff_url": "https://github.com/explosion/spaCy/pull/10413.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10413.patch",
"merged_at": null
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
This `PR` adds a new method to the spancat component: `suggest_candidates`.
The new method uses the suggester of the current spancat component to produce a list of span candidate and add them to the docs.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Enhancement
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10413/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10413/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10400 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10400/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10400/comments | https://api.github.com/repos/explosion/spaCy/issues/10400/events | https://github.com/explosion/spaCy/pull/10400 | 1,155,377,804 | PR_kwDOAUeP5s4zuxdu | 10,400 | hook up meta in load_model_from_config | {
"login": "svlandeg",
"id": 8796347,
"node_id": "MDQ6VXNlcjg3OTYzNDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8796347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/svlandeg",
"html_url": "https://github.com/svlandeg",
"followers_url": "https://api.github.com/users/svlandeg/followers",
"following_url": "https://api.github.com/users/svlandeg/following{/other_user}",
"gists_url": "https://api.github.com/users/svlandeg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/svlandeg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svlandeg/subscriptions",
"organizations_url": "https://api.github.com/users/svlandeg/orgs",
"repos_url": "https://api.github.com/users/svlandeg/repos",
"events_url": "https://api.github.com/users/svlandeg/events{/privacy}",
"received_events_url": "https://api.github.com/users/svlandeg/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 2373637018,
"node_id": "MDU6TGFiZWwyMzczNjM3MDE4",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20config",
"name": "feat / config",
"color": "ddfc74",
"default": false,
"description": "Feature: Training config"
}
] | closed | false | null | [] | null | 0 | 2022-03-01T14:02:56 | 2022-03-04T10:07:48 | 2022-03-04T10:07:45 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10400",
"html_url": "https://github.com/explosion/spaCy/pull/10400",
"diff_url": "https://github.com/explosion/spaCy/pull/10400.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10400.patch",
"merged_at": "2022-03-04T10:07:45"
} |
## Description
Even though it was in the docstring, `load_model_from_config` wasn't taking in a `meta` argument, which meant that `load_model_from_path` wasn't using the input arg `meta` either.
### Types of change
bug fix
## Checklist
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10400/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10399 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10399/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10399/comments | https://api.github.com/repos/explosion/spaCy/issues/10399/events | https://github.com/explosion/spaCy/pull/10399 | 1,155,279,859 | PR_kwDOAUeP5s4zuc2Q | 10,399 | Revert temporary blis test | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [] | closed | false | null | [] | null | 0 | 2022-03-01T12:26:19 | 2022-03-01T15:14:01 | 2022-03-01T15:14:01 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10399",
"html_url": "https://github.com/explosion/spaCy/pull/10399",
"diff_url": "https://github.com/explosion/spaCy/pull/10399.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10399.patch",
"merged_at": "2022-03-01T15:14:01"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Revert temporary blis test
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
?
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10399/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10399/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10397 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10397/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10397/comments | https://api.github.com/repos/explosion/spaCy/issues/10397/events | https://github.com/explosion/spaCy/issues/10397 | 1,154,606,076 | I_kwDOAUeP5s5E0eP8 | 10,397 | English sentence segmentation missess splits, but finds them when run recursively | {
"login": "kuchenrolle",
"id": 20798845,
"node_id": "MDQ6VXNlcjIwNzk4ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/20798845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kuchenrolle",
"html_url": "https://github.com/kuchenrolle",
"followers_url": "https://api.github.com/users/kuchenrolle/followers",
"following_url": "https://api.github.com/users/kuchenrolle/following{/other_user}",
"gists_url": "https://api.github.com/users/kuchenrolle/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kuchenrolle/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kuchenrolle/subscriptions",
"organizations_url": "https://api.github.com/users/kuchenrolle/orgs",
"repos_url": "https://api.github.com/users/kuchenrolle/repos",
"events_url": "https://api.github.com/users/kuchenrolle/events{/privacy}",
"received_events_url": "https://api.github.com/users/kuchenrolle/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 881665973,
"node_id": "MDU6TGFiZWw4ODE2NjU5NzM=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20parser",
"name": "feat / parser",
"color": "ddfc74",
"default": false,
"description": "Feature: Dependency Parser"
},
{
"id": 881666568,
"node_id": "MDU6TGFiZWw4ODE2NjY1Njg=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20pipeline",
"name": "feat / pipeline",
"color": "ddfc74",
"default": false,
"description": "Feature: Processing pipeline and components"
},
{
"id": 906542982,
"node_id": "MDU6TGFiZWw5MDY1NDI5ODI=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20doc",
"name": "feat / doc",
"color": "ddfc74",
"default": false,
"description": "Feature: Doc, Span and Token objects"
}
] | closed | true | null | [] | null | 2 | 2022-02-28T22:16:03 | 2022-03-01T11:55:02 | 2022-03-01T11:55:02 | NONE | null | null | null | ## How to reproduce the behaviour
```Python
nlp = spacy.load('en_core_web_trf')
text = "Had an ingrowing toenails at 16, suffered for a number of months, chopping and ripping it away. Blood drying on socks daily, very painful. Get appointment at the hospital to have them removed under a general. Have op on Friday go home no problems. Booked to have dressings changed by on following Monday. So gets to Doctors Monday and take socks off, nurse takes outer dressing off fine no issue, then she touches the main dressing slightly and i fucking scream in pain. The dressing is hessian gauze and has dried like super glue to my raw nail bed, I mean this is like a second skin, she touches the corner again and it feels like a million parallel bikini waxes.\n\nEdit will finish later phone is messing about\n\nEdit 2\n\nSo yeah I'm a guy, but I presume they hurt, so I'm in the doctors, the nurse has touched it slightly twice and I'm in agony, (I have compared this to the scene in Hostel when the guy comes round and is tied to the chair) the nurse walks back over slowly, bends down touches the gauze as light as a feather and fuck a surge of pain from being stabbed with some sort of half lava half broken glass half rusty nail weapon. By the third touch i'm soaked through with sweat, almost passing out, and she decides to soak my feet in warm water to loosen it up.\n\nAfter about 15 mins, I'm bricking myself, she holds on to a bit of a corner, and it is quite looser, a bit like pulling off a really sticky plaster, it stick hurts like fuck though as the nail bed is raw skin underneath. \n\nThe amount of sensitivity is off the chart, for example, 2 weeks this after this nightmare I tried to take a shower and the water drops hurt falling on it :|.\n\nThese weren't my only ingrown toenails either : / had 4 in total, but now I have to keep them too long so they never get that way again."
sents = [sent.text for sent in nlp(text).sents]
multi_sentence = sents[-2]
multi_sentence_sents = [sent.text for sent in nlp(multi_sentence).sents]
assert len(multi_sentence_sents) == 1
```
## Your Environment
- **spaCy version:** 3.2.2
- **Platform:** Linux-3.10.0-1160.24.1.el7.x86_64-x86_64-with-glibc2.17
- **Python version:** 3.9.5
- **Pipelines:** en_core_web_trf (3.2.0)
## Expected Behaviour
I expected sentence segmentation to find all sentence boundaries and to be consistent, such that a span that has been segmented as one whole sentence will not be segmented as multiple sentences when run through sentence segmentation again. | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10397/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10395 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10395/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10395/comments | https://api.github.com/repos/explosion/spaCy/issues/10395/events | https://github.com/explosion/spaCy/issues/10395 | 1,154,144,349 | I_kwDOAUeP5s5Eythd | 10,395 | DependencyMatcher `RIGHT_ATTRS` allow for only one sort of filtering | {
"login": "JakubOrlinskiUPM",
"id": 90844800,
"node_id": "MDQ6VXNlcjkwODQ0ODAw",
"avatar_url": "https://avatars.githubusercontent.com/u/90844800?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JakubOrlinskiUPM",
"html_url": "https://github.com/JakubOrlinskiUPM",
"followers_url": "https://api.github.com/users/JakubOrlinskiUPM/followers",
"following_url": "https://api.github.com/users/JakubOrlinskiUPM/following{/other_user}",
"gists_url": "https://api.github.com/users/JakubOrlinskiUPM/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JakubOrlinskiUPM/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JakubOrlinskiUPM/subscriptions",
"organizations_url": "https://api.github.com/users/JakubOrlinskiUPM/orgs",
"repos_url": "https://api.github.com/users/JakubOrlinskiUPM/repos",
"events_url": "https://api.github.com/users/JakubOrlinskiUPM/events{/privacy}",
"received_events_url": "https://api.github.com/users/JakubOrlinskiUPM/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 881682577,
"node_id": "MDU6TGFiZWw4ODE2ODI1Nzc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20matcher",
"name": "feat / matcher",
"color": "ddfc74",
"default": false,
"description": "Feature: Token, phrase and dependency matcher"
}
] | closed | true | null | [] | null | 2 | 2022-02-28T14:14:35 | 2022-02-28T16:07:24 | 2022-02-28T16:07:24 | NONE | null | null | null | The DependencyMatcher documentation states:
`The token attributes to match for the right-hand node in the same format as patterns provided to the regular token-based Matcher`. This is not true though, as the `RIGHT_ATTRS` expects a dictionary not a list. This is a problem when trying to filter on a node.
For example, I want to get a verb that is not in an infinitive form (`to be` should be excluded). So trying this code doesn't work as the OP gets applied to both POS and MORPH tags.
```
{
"RIGHT_ID": "anchor_verb",
"RIGHT_ATTRS": {
"POS": "VERB",
"MORPH": "VerbForm=Inf"
"OP": "!"
}
},
```
## Which page or section is this issue related to?
DependencyMatcher: https://spacy.io/api/dependencymatcher | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10395/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10394 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10394/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10394/comments | https://api.github.com/repos/explosion/spaCy/issues/10394/events | https://github.com/explosion/spaCy/pull/10394 | 1,154,130,114 | PR_kwDOAUeP5s4zqqvJ | 10,394 | Fix Vectors.n_keys for floret vectors | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 881666230,
"node_id": "MDU6TGFiZWw4ODE2NjYyMzA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20vectors",
"name": "feat / vectors",
"color": "ddfc74",
"default": false,
"description": "Feature: Word vectors and similarity"
},
{
"id": 1502120672,
"node_id": "MDU6TGFiZWwxNTAyMTIwNjcy",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20ux",
"name": "feat / ux",
"color": "ddfc74",
"default": false,
"description": "Feature: User experience, error messages etc."
}
] | closed | false | null | [] | null | 0 | 2022-02-28T14:02:57 | 2022-03-01T08:21:26 | 2022-03-01T08:21:26 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10394",
"html_url": "https://github.com/explosion/spaCy/pull/10394",
"diff_url": "https://github.com/explosion/spaCy/pull/10394.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10394.patch",
"merged_at": "2022-03-01T08:21:26"
} |
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Fix `Vectors.n_keys` for floret vectors to match docstring description and avoid W007 warnings in similarity methods.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Bug fix.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10394/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10394/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10393 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10393/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10393/comments | https://api.github.com/repos/explosion/spaCy/issues/10393/events | https://github.com/explosion/spaCy/pull/10393 | 1,153,928,890 | PR_kwDOAUeP5s4zp_6g | 10,393 | added classy-classification package to spacy universe | {
"login": "davidberenstein1957",
"id": 25269220,
"node_id": "MDQ6VXNlcjI1MjY5MjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/25269220?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidberenstein1957",
"html_url": "https://github.com/davidberenstein1957",
"followers_url": "https://api.github.com/users/davidberenstein1957/followers",
"following_url": "https://api.github.com/users/davidberenstein1957/following{/other_user}",
"gists_url": "https://api.github.com/users/davidberenstein1957/gists{/gist_id}",
"starred_url": "https://api.github.com/users/davidberenstein1957/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/davidberenstein1957/subscriptions",
"organizations_url": "https://api.github.com/users/davidberenstein1957/orgs",
"repos_url": "https://api.github.com/users/davidberenstein1957/repos",
"events_url": "https://api.github.com/users/davidberenstein1957/events{/privacy}",
"received_events_url": "https://api.github.com/users/davidberenstein1957/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 312256136,
"node_id": "MDU6TGFiZWwzMTIyNTYxMzY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/docs",
"name": "docs",
"color": "087EA6",
"default": false,
"description": "Documentation and website"
}
] | closed | false | null | [] | null | 3 | 2022-02-28T10:41:13 | 2022-03-07T11:47:27 | 2022-03-07T11:47:26 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10393",
"html_url": "https://github.com/explosion/spaCy/pull/10393",
"diff_url": "https://github.com/explosion/spaCy/pull/10393.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10393.patch",
"merged_at": "2022-03-07T11:47:26"
} | I wrote a nice package to add a classifcation based on few-shots/zero-shots using sentence-transformers, zer-shot transformers or internal embeddings.
## Description
n.a.
### Types of change
added universe documentation
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10393/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10393/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10392 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10392/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10392/comments | https://api.github.com/repos/explosion/spaCy/issues/10392/events | https://github.com/explosion/spaCy/pull/10392 | 1,153,912,965 | PR_kwDOAUeP5s4zp8gz | 10,392 | Set version to v3.2.3 | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 3181925814,
"node_id": "MDU6TGFiZWwzMTgxOTI1ODE0",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.2",
"name": "🔜 v3.2",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.2"
}
] | closed | false | null | [] | null | 4 | 2022-02-28T10:25:15 | 2022-02-28T11:54:33 | 2022-02-28T11:54:33 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10392",
"html_url": "https://github.com/explosion/spaCy/pull/10392",
"diff_url": "https://github.com/explosion/spaCy/pull/10392.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10392.patch",
"merged_at": "2022-02-28T11:54:33"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Set version to v3.2.3
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Chore.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10392/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10392/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10389 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10389/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10389/comments | https://api.github.com/repos/explosion/spaCy/issues/10389/events | https://github.com/explosion/spaCy/pull/10389 | 1,153,780,124 | PR_kwDOAUeP5s4zpgjp | 10,389 | Fix Tok2Vec for empty batches (#10324) | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 3181925814,
"node_id": "MDU6TGFiZWwzMTgxOTI1ODE0",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.2",
"name": "🔜 v3.2",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.2"
}
] | closed | false | null | [] | null | 0 | 2022-02-28T08:10:48 | 2022-02-28T10:18:26 | 2022-02-28T10:18:26 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10389",
"html_url": "https://github.com/explosion/spaCy/pull/10389",
"diff_url": "https://github.com/explosion/spaCy/pull/10389.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10389.patch",
"merged_at": "2022-02-28T10:18:25"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Redoing #10344, which was accidentally merged into `master` instead of `v3.2.x`.
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Chore.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10389/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10389/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10388 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10388/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10388/comments | https://api.github.com/repos/explosion/spaCy/issues/10388/events | https://github.com/explosion/spaCy/pull/10388 | 1,153,774,044 | PR_kwDOAUeP5s4zpfQL | 10,388 | Set version to v3.1.5 | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 2824471951,
"node_id": "MDU6TGFiZWwyODI0NDcxOTUx",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.1",
"name": "🔜 v3.1",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.1"
}
] | closed | false | null | [] | null | 4 | 2022-02-28T08:04:29 | 2022-02-28T11:54:15 | 2022-02-28T11:54:15 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10388",
"html_url": "https://github.com/explosion/spaCy/pull/10388",
"diff_url": "https://github.com/explosion/spaCy/pull/10388.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10388.patch",
"merged_at": "2022-02-28T11:54:14"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Set version to v3.1.5
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Chore.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10388/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10388/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10387 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10387/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10387/comments | https://api.github.com/repos/explosion/spaCy/issues/10387/events | https://github.com/explosion/spaCy/pull/10387 | 1,153,773,145 | PR_kwDOAUeP5s4zpfDn | 10,387 | Set version to v3.0.8 | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 1824249418,
"node_id": "MDU6TGFiZWwxODI0MjQ5NDE4",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.0",
"name": "🔜 v3.0",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.0"
}
] | closed | false | null | [] | null | 8 | 2022-02-28T08:03:29 | 2022-02-28T11:53:54 | 2022-02-28T11:53:54 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10387",
"html_url": "https://github.com/explosion/spaCy/pull/10387",
"diff_url": "https://github.com/explosion/spaCy/pull/10387.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10387.patch",
"merged_at": "2022-02-28T11:53:54"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Set version to v3.0.8 and backport unit test fixes
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Chore.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10387/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10387/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10385 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10385/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10385/comments | https://api.github.com/repos/explosion/spaCy/issues/10385/events | https://github.com/explosion/spaCy/issues/10385 | 1,153,701,468 | I_kwDOAUeP5s5ExBZc | 10,385 | Lemmatization is not working for Chinese language | {
"login": "nikhil-bmc",
"id": 100554709,
"node_id": "U_kgDOBf5X1Q",
"avatar_url": "https://avatars.githubusercontent.com/u/100554709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikhil-bmc",
"html_url": "https://github.com/nikhil-bmc",
"followers_url": "https://api.github.com/users/nikhil-bmc/followers",
"following_url": "https://api.github.com/users/nikhil-bmc/following{/other_user}",
"gists_url": "https://api.github.com/users/nikhil-bmc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nikhil-bmc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nikhil-bmc/subscriptions",
"organizations_url": "https://api.github.com/users/nikhil-bmc/orgs",
"repos_url": "https://api.github.com/users/nikhil-bmc/repos",
"events_url": "https://api.github.com/users/nikhil-bmc/events{/privacy}",
"received_events_url": "https://api.github.com/users/nikhil-bmc/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-02-28T06:17:59 | 2022-02-28T06:22:18 | 2022-02-28T06:22:18 | NONE | null | null | null | ## How to reproduce the behaviour
<!-- Include a code example or the steps that led to the problem. Please try to be as specific as possible. -->
```
from importlib import import_module
lang_module = import_module('zh_core_web_sm').load()
doc = lang_module("升级后进程为空白,填写字段后未运行")
lemmed_string = ''
for word in doc:
lemmed_string = lemmed_string + ' ' + word.lemma_
print(lemmed_string)
```
The above program produces empty output.
I came across some articles which say lemmatization is not required for the Chinese language. I guess, the Japanese also falls under the same category as the Chinese, and lemmatization is working properly for the Japanese language in Spacy.
Earlier, same code was working for Spacy version 2.3.2
## Your Environment
<!-- Include details of your environment. If you're using spaCy 1.7+, you can also type `python -m spacy info --markdown` and copy-paste the result here.-->
* Operating System: Windows and Linux
* Python Version Used: 3.7
* spaCy Version Used: 3.2.2
* Environment Information:
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10385/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10385/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10384 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10384/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10384/comments | https://api.github.com/repos/explosion/spaCy/issues/10384/events | https://github.com/explosion/spaCy/pull/10384 | 1,150,822,107 | PR_kwDOAUeP5s4zfAJT | 10,384 | Fix issues for Mypy 0.931 and Pydantic 1.9.0 | {
"login": "richardpaulhudson",
"id": 28650805,
"node_id": "MDQ6VXNlcjI4NjUwODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/28650805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/richardpaulhudson",
"html_url": "https://github.com/richardpaulhudson",
"followers_url": "https://api.github.com/users/richardpaulhudson/followers",
"following_url": "https://api.github.com/users/richardpaulhudson/following{/other_user}",
"gists_url": "https://api.github.com/users/richardpaulhudson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/richardpaulhudson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/richardpaulhudson/subscriptions",
"organizations_url": "https://api.github.com/users/richardpaulhudson/orgs",
"repos_url": "https://api.github.com/users/richardpaulhudson/repos",
"events_url": "https://api.github.com/users/richardpaulhudson/events{/privacy}",
"received_events_url": "https://api.github.com/users/richardpaulhudson/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 3048302512,
"node_id": "MDU6TGFiZWwzMDQ4MzAyNTEy",
"url": "https://api.github.com/repos/explosion/spaCy/labels/types",
"name": "types",
"color": "f6f6f6",
"default": false,
"description": "Issues related to typing or typing tools"
}
] | open | false | null | [] | null | 0 | 2022-02-25T20:08:45 | 2022-03-08T09:13:41 | null | CONTRIBUTOR | null | true | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10384",
"html_url": "https://github.com/explosion/spaCy/pull/10384",
"diff_url": "https://github.com/explosion/spaCy/pull/10384.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10384.patch",
"merged_at": null
} | These changes allow updating to the latest versions of Mypy (0.931) and Pydantic (1.9.0)
## Description
This PR depends on https://github.com/explosion/thinc/pull/599/, so that the tests will not pass at the time of submitting.
### Types of change
Mypy / Pydantic fixes
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10384/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10384/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10377 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10377/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10377/comments | https://api.github.com/repos/explosion/spaCy/issues/10377/events | https://github.com/explosion/spaCy/pull/10377 | 1,150,155,517 | PR_kwDOAUeP5s4zc0B8 | 10,377 | Auto-format code with black | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"site_admin": false
} | [
{
"id": 542391290,
"node_id": "MDU6TGFiZWw1NDIzOTEyOTA=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/meta",
"name": "meta",
"color": "f6f6f6",
"default": false,
"description": "Meta topics, e.g. repo organisation and issue management"
}
] | closed | false | null | [] | null | 0 | 2022-02-25T08:04:44 | 2022-02-25T09:00:24 | 2022-02-25T09:00:21 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10377",
"html_url": "https://github.com/explosion/spaCy/pull/10377",
"diff_url": "https://github.com/explosion/spaCy/pull/10377.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10377.patch",
"merged_at": "2022-02-25T09:00:21"
} | _This PR is auto-generated._ | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10377/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10377/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10371 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10371/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10371/comments | https://api.github.com/repos/explosion/spaCy/issues/10371/events | https://github.com/explosion/spaCy/pull/10371 | 1,149,712,951 | PR_kwDOAUeP5s4zbWkG | 10,371 | add additional REL_OP | {
"login": "ninjalu",
"id": 46543912,
"node_id": "MDQ6VXNlcjQ2NTQzOTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/46543912?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ninjalu",
"html_url": "https://github.com/ninjalu",
"followers_url": "https://api.github.com/users/ninjalu/followers",
"following_url": "https://api.github.com/users/ninjalu/following{/other_user}",
"gists_url": "https://api.github.com/users/ninjalu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ninjalu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ninjalu/subscriptions",
"organizations_url": "https://api.github.com/users/ninjalu/orgs",
"repos_url": "https://api.github.com/users/ninjalu/repos",
"events_url": "https://api.github.com/users/ninjalu/events{/privacy}",
"received_events_url": "https://api.github.com/users/ninjalu/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380487,
"node_id": "MDU6TGFiZWwxMTEzODA0ODc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/enhancement",
"name": "enhancement",
"color": "20834E",
"default": true,
"description": "Feature requests and improvements"
},
{
"id": 881682577,
"node_id": "MDU6TGFiZWw4ODE2ODI1Nzc=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20matcher",
"name": "feat / matcher",
"color": "ddfc74",
"default": false,
"description": "Feature: Token, phrase and dependency matcher"
}
] | open | false | null | [] | null | 2 | 2022-02-24T20:22:57 | 2022-03-11T09:54:10 | null | NONE | null | true | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10371",
"html_url": "https://github.com/explosion/spaCy/pull/10371",
"diff_url": "https://github.com/explosion/spaCy/pull/10371.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10371.patch",
"merged_at": null
} | <!--- Provide a general summary of your changes in the title. -->
## Description
I have added two additional "REL_OP" for the class DependencyMatcher, to include matching, parent or children to the left or the right of the node.
### Types of change
New feature in "REL_OP"
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x ] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10371/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10371/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10368 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10368/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10368/comments | https://api.github.com/repos/explosion/spaCy/issues/10368/events | https://github.com/explosion/spaCy/issues/10368 | 1,149,199,936 | I_kwDOAUeP5s5Ef2ZA | 10,368 | Spanish lemmatizer doesn't work for future tense verbs | {
"login": "buhrmann",
"id": 190342,
"node_id": "MDQ6VXNlcjE5MDM0Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/190342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/buhrmann",
"html_url": "https://github.com/buhrmann",
"followers_url": "https://api.github.com/users/buhrmann/followers",
"following_url": "https://api.github.com/users/buhrmann/following{/other_user}",
"gists_url": "https://api.github.com/users/buhrmann/gists{/gist_id}",
"starred_url": "https://api.github.com/users/buhrmann/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/buhrmann/subscriptions",
"organizations_url": "https://api.github.com/users/buhrmann/orgs",
"repos_url": "https://api.github.com/users/buhrmann/repos",
"events_url": "https://api.github.com/users/buhrmann/events{/privacy}",
"received_events_url": "https://api.github.com/users/buhrmann/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 634628353,
"node_id": "MDU6TGFiZWw2MzQ2MjgzNTM=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20es",
"name": "lang / es",
"color": "726DA8",
"default": false,
"description": "Spanish language data and models"
},
{
"id": 981590115,
"node_id": "MDU6TGFiZWw5ODE1OTAxMTU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20lemmatizer",
"name": "feat / lemmatizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Rule-based and lookup lemmatization"
}
] | closed | true | null | [] | null | 1 | 2022-02-24T11:57:15 | 2022-02-25T07:50:34 | 2022-02-25T07:50:34 | NONE | null | null | null | ## How to reproduce the behaviour
The following applies to the attached text: [Castilla y León Programa electoral 2022.txt](https://github.com/explosion/spaCy/files/8132187/Castilla.y.Leon.Programa.electoral.2022.txt)
``` python
doc = es(txt)
lemmas = [(t.i, t, t.lemma_, t.pos_, t.morph) for t in doc if t.lemma_.endswith("rer")]
df = pd.DataFrame(lemmas, columns=["idx", "text", "lemma", "pos", "morph"]).head(25)
with pd.option_context("display.max_rows", 100, "display.width", None, "display.max_colwidth", None):
display(df)
```
![image](https://user-images.githubusercontent.com/190342/155516548-5fbc6fc8-a4d8-499e-828a-c0fccb14eb32.png)
As you can see almost all lemmas are wrong, adding an extra "er" suffix to the correct lemma form.
Here is more detail on one particular verb in context:
``` python
token = doc[3352]
print(token.sent, "\n")
print(f"{token} ({token.tag_}): {token.lemma_} \n")
lemmatizer = es.get_pipe("lemmatizer")
print(lemmatizer.rule_lemmatize(token))
print(lemmatizer.lookup_lemmatize(token), "\n")
print(es.get_factory_meta("lemmatizer"), "\n")
print(f"{spacy.__version__=}")
print(f"{spacy_lookups_data.__version__=}")
```
![image](https://user-images.githubusercontent.com/190342/155517305-c6c3161f-e746-4373-8d31-07014fc28019.png)
## Your Environment
* Operating System: Linux
* Python Version Used: 3.8.8
* spaCy Version Used: 3.2.0
### Environment Information:
`es.meta`: [es_meta.json.txt](https://github.com/explosion/spaCy/files/8132232/es_meta.json.txt)
`es.config`: [es_config.json.txt](https://github.com/explosion/spaCy/files/8132242/es_config.json.txt)
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10368/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10368/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10360 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10360/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10360/comments | https://api.github.com/repos/explosion/spaCy/issues/10360/events | https://github.com/explosion/spaCy/issues/10360 | 1,148,366,095 | I_kwDOAUeP5s5Ecq0P | 10,360 | Document and support cross-validation? | {
"login": "dfrankow",
"id": 34655,
"node_id": "MDQ6VXNlcjM0NjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/34655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dfrankow",
"html_url": "https://github.com/dfrankow",
"followers_url": "https://api.github.com/users/dfrankow/followers",
"following_url": "https://api.github.com/users/dfrankow/following{/other_user}",
"gists_url": "https://api.github.com/users/dfrankow/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dfrankow/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dfrankow/subscriptions",
"organizations_url": "https://api.github.com/users/dfrankow/orgs",
"repos_url": "https://api.github.com/users/dfrankow/repos",
"events_url": "https://api.github.com/users/dfrankow/events{/privacy}",
"received_events_url": "https://api.github.com/users/dfrankow/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-02-23T17:19:27 | 2022-02-25T05:05:38 | 2022-02-25T05:05:38 | NONE | null | null | null | Thanks for your work on Spacy. In particular, [the course](https://course.spacy.io/) is excellent.
I see from https://stackoverflow.com/q/57305397, https://stackoverflow.com/q/67589186, https://github.com/explosion/spaCy/issues/4059, and https://github.com/explosion/spaCy/issues/4623 that Spacy doesn't support cross-validation directly.
Cross-validation can be useful when you don't have a lot of data, since you can set hyperparameters and judge out-of-sample error more precisely. I think a lot of people in the world don't actually have a lot of data, so this could be pretty useful.
My requests:
- A documentation request: Document that cross-validation exists, and Spacy doesn't currently support it, in https://course.spacy.io/en/chapter4, probably section 1 ("Training and Updating Models")
- A documentation request: describe how one would do cross-validation using Spacy currently. (I think it's create a lot of different splits of training/dev, but I'm not sure.)
- A feature request: support cross-validation natively in Spacy
Thanks for your attention. | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10360/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10360/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10359 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10359/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10359/comments | https://api.github.com/repos/explosion/spaCy/issues/10359/events | https://github.com/explosion/spaCy/issues/10359 | 1,148,207,700 | I_kwDOAUeP5s5EcEJU | 10,359 | Inaccurate lemmatization in italian | {
"login": "luigibrancati",
"id": 41120885,
"node_id": "MDQ6VXNlcjQxMTIwODg1",
"avatar_url": "https://avatars.githubusercontent.com/u/41120885?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/luigibrancati",
"html_url": "https://github.com/luigibrancati",
"followers_url": "https://api.github.com/users/luigibrancati/followers",
"following_url": "https://api.github.com/users/luigibrancati/following{/other_user}",
"gists_url": "https://api.github.com/users/luigibrancati/gists{/gist_id}",
"starred_url": "https://api.github.com/users/luigibrancati/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/luigibrancati/subscriptions",
"organizations_url": "https://api.github.com/users/luigibrancati/orgs",
"repos_url": "https://api.github.com/users/luigibrancati/repos",
"events_url": "https://api.github.com/users/luigibrancati/events{/privacy}",
"received_events_url": "https://api.github.com/users/luigibrancati/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 589944649,
"node_id": "MDU6TGFiZWw1ODk5NDQ2NDk=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/lang%20/%20it",
"name": "lang / it",
"color": "726DA8",
"default": false,
"description": "Italian language data and models"
},
{
"id": 981590115,
"node_id": "MDU6TGFiZWw5ODE1OTAxMTU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20lemmatizer",
"name": "feat / lemmatizer",
"color": "ddfc74",
"default": false,
"description": "Feature: Rule-based and lookup lemmatization"
},
{
"id": 1025171697,
"node_id": "MDU6TGFiZWwxMDI1MTcxNjk3",
"url": "https://api.github.com/repos/explosion/spaCy/labels/perf%20/%20accuracy",
"name": "perf / accuracy",
"color": "B35905",
"default": false,
"description": "Performance: accuracy"
}
] | closed | false | null | [] | null | 6 | 2022-02-23T15:02:02 | 2022-02-28T09:34:20 | 2022-02-28T09:34:20 | NONE | null | null | null | ## How to reproduce the behaviour
For the code
```
nlp_acc = spacy.load("it_core_news_lg")
print([t.lemma_ for t in nlp_acc("Il galleggiante rimane a galla")])
# EN: the buoy stays afloat
```
The output is
```
['il', 'galleggiante', 'rimare', 'a', 'galla']
# EN: the buoy rhymes afloat
```
The pipeline thinks that **rimane** is some conjugation of the verb **rimare**, which is wrong both based on the context and on the grammar (i.e. rimare never takes the form _rimane_).
This error happens as well for the light pipeline `it_core_news_sm`.
## Your Environment
- **spaCy version:** 3.2.2
- **Platform:** Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-glibc2.31
- **Python version:** 3.9.0
- **Pipelines:** it_core_news_sm (3.2.0), it_core_news_lg (3.2.0)
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10359/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10359/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10358 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10358/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10358/comments | https://api.github.com/repos/explosion/spaCy/issues/10358/events | https://github.com/explosion/spaCy/issues/10358 | 1,148,170,811 | I_kwDOAUeP5s5Eb7I7 | 10,358 | lazy loading failed for package ‘sophistication’ | {
"login": "dt2229",
"id": 78564218,
"node_id": "MDQ6VXNlcjc4NTY0MjE4",
"avatar_url": "https://avatars.githubusercontent.com/u/78564218?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dt2229",
"html_url": "https://github.com/dt2229",
"followers_url": "https://api.github.com/users/dt2229/followers",
"following_url": "https://api.github.com/users/dt2229/following{/other_user}",
"gists_url": "https://api.github.com/users/dt2229/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dt2229/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dt2229/subscriptions",
"organizations_url": "https://api.github.com/users/dt2229/orgs",
"repos_url": "https://api.github.com/users/dt2229/repos",
"events_url": "https://api.github.com/users/dt2229/events{/privacy}",
"received_events_url": "https://api.github.com/users/dt2229/received_events",
"type": "User",
"site_admin": false
} | [] | closed | true | null | [] | null | 1 | 2022-02-23T14:31:45 | 2022-02-24T04:40:27 | 2022-02-24T04:40:27 | NONE | null | null | null | Hello,
I am trying to install Kenneth Benoit, Kevin Munger, and Arthur Spirling's package Sophistication on a macOS Big Sur.
`devtools::install_github("quanteda/spacyr", build_vignettes = FALSE)`
`library("spacyr")`
`spacy_install()`
`spacy_initialize()`
`devtools::install_github("kbenoit/sophistication")`
Upon the `devtools::install_github` command, I receive the following error in R studio's console:
![image](https://user-images.githubusercontent.com/78564218/155338151-0789d305-620d-43bc-90ca-381221e09468.png)
I have tried the following in trying to resolve the error:
![image](https://user-images.githubusercontent.com/78564218/155338786-a7381145-9ab0-45c7-a4f0-ef1b43d734ef.png)
My understanding is that there is a mismatch with the build-type of R, and the python version it was pointing to. I have arm-based R installed on my system, but it was pointing to x86 based python, that's why it threw that error. The solution is to either install an x86 version of R, or get R to point to arm-based python. I tried to resolve via the latter but to no success.
Here are some potentially useful info on my environment/system:
![image](https://user-images.githubusercontent.com/78564218/155348946-5f464d13-df8f-4c5b-bb45-91105a2d3042.png)
Thanks for any potential help! | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10358/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10358/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10357 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10357/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10357/comments | https://api.github.com/repos/explosion/spaCy/issues/10357/events | https://github.com/explosion/spaCy/pull/10357 | 1,148,164,701 | PR_kwDOAUeP5s4zWQxZ | 10,357 | Re-remove universe tests from test suite | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 446644754,
"node_id": "MDU6TGFiZWw0NDY2NDQ3NTQ=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/tests",
"name": "tests",
"color": "B35905",
"default": false,
"description": "Missing or incorrect tests"
}
] | closed | false | null | [] | null | 3 | 2022-02-23T14:26:53 | 2022-02-23T20:08:56 | 2022-02-23T20:08:56 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10357",
"html_url": "https://github.com/explosion/spaCy/pull/10357",
"diff_url": "https://github.com/explosion/spaCy/pull/10357.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10357.patch",
"merged_at": "2022-02-23T20:08:56"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Re-remove universe tests from test suite
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
?
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10357/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10357/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10356 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10356/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10356/comments | https://api.github.com/repos/explosion/spaCy/issues/10356/events | https://github.com/explosion/spaCy/pull/10356 | 1,147,168,514 | PR_kwDOAUeP5s4zTIHf | 10,356 | Backports for v3.1.5 | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 2824471951,
"node_id": "MDU6TGFiZWwyODI0NDcxOTUx",
"url": "https://api.github.com/repos/explosion/spaCy/labels/%F0%9F%94%9C%20v3.1",
"name": "🔜 v3.1",
"color": "f6f6f6",
"default": false,
"description": "Related to upcoming v3.1"
}
] | closed | false | null | [] | null | 0 | 2022-02-22T17:14:41 | 2022-02-28T07:59:13 | 2022-02-28T07:59:13 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10356",
"html_url": "https://github.com/explosion/spaCy/pull/10356",
"diff_url": "https://github.com/explosion/spaCy/pull/10356.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10356.patch",
"merged_at": "2022-02-28T07:59:13"
} |
<!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Backports for v3.1.5
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
?
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10356/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10356/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10355 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10355/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10355/comments | https://api.github.com/repos/explosion/spaCy/issues/10355/events | https://github.com/explosion/spaCy/pull/10355 | 1,147,122,101 | PR_kwDOAUeP5s4zS-WR | 10,355 | Add Finnish, Korean, and Swedish models and Korean support notes | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 312256136,
"node_id": "MDU6TGFiZWwzMTIyNTYxMzY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/docs",
"name": "docs",
"color": "087EA6",
"default": false,
"description": "Documentation and website"
}
] | closed | false | null | [] | null | 0 | 2022-02-22T16:29:51 | 2022-03-07T16:03:46 | 2022-03-07T16:03:46 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10355",
"html_url": "https://github.com/explosion/spaCy/pull/10355",
"diff_url": "https://github.com/explosion/spaCy/pull/10355.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10355.patch",
"merged_at": "2022-03-07T16:03:46"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Add Finnish, Korean, and Swedish models and Korean support notes
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Docs
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [ ] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10355/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10355/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10353 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10353/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10353/comments | https://api.github.com/repos/explosion/spaCy/issues/10353/events | https://github.com/explosion/spaCy/issues/10353 | 1,147,013,906 | I_kwDOAUeP5s5EXgsS | 10,353 | Side-effects of as_tuples in multiprocessing | {
"login": "svonava",
"id": 1493333,
"node_id": "MDQ6VXNlcjE0OTMzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1493333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/svonava",
"html_url": "https://github.com/svonava",
"followers_url": "https://api.github.com/users/svonava/followers",
"following_url": "https://api.github.com/users/svonava/following{/other_user}",
"gists_url": "https://api.github.com/users/svonava/gists{/gist_id}",
"starred_url": "https://api.github.com/users/svonava/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svonava/subscriptions",
"organizations_url": "https://api.github.com/users/svonava/orgs",
"repos_url": "https://api.github.com/users/svonava/repos",
"events_url": "https://api.github.com/users/svonava/events{/privacy}",
"received_events_url": "https://api.github.com/users/svonava/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 881666568,
"node_id": "MDU6TGFiZWw4ODE2NjY1Njg=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20pipeline",
"name": "feat / pipeline",
"color": "ddfc74",
"default": false,
"description": "Feature: Processing pipeline and components"
}
] | closed | true | null | [] | null | 1 | 2022-02-22T14:55:36 | 2022-02-22T16:22:34 | 2022-02-22T16:22:34 | NONE | null | null | null | Hey everybody - first of all, spacy is awesome!
Secondly: I'm seing some weird interplay between as_tuples and multiprocessing (n_process).
What I did:
1. Use en_core_web_lg, run nlp.pipe() over 1k docs with batch_size 100, n_process 10.
2. I assume that A & B can have different order here: "for A in nlp.pipe(B)" and I turned on as_tuples to align A & B after the pipe is done.
3. as_tuples=True made my code take an order of magnitude more RAM, as if only once I set this to true it actually creates 10 different representations of en_core_web_lg in memory.
Is this expected? Does this mean that when as_tuples=False, the multiprocessing doesn't separate the processes properly?
Thank you for any elaboration on this!
_Originally posted by @svonava in https://github.com/explosion/spaCy/issues/9597#issuecomment-1047838230_ | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10353/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10353/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10351 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10351/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10351/comments | https://api.github.com/repos/explosion/spaCy/issues/10351/events | https://github.com/explosion/spaCy/pull/10351 | 1,146,558,327 | PR_kwDOAUeP5s4zRHHT | 10,351 | Clean up loggers docs | {
"login": "svlandeg",
"id": 8796347,
"node_id": "MDQ6VXNlcjg3OTYzNDc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8796347?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/svlandeg",
"html_url": "https://github.com/svlandeg",
"followers_url": "https://api.github.com/users/svlandeg/followers",
"following_url": "https://api.github.com/users/svlandeg/following{/other_user}",
"gists_url": "https://api.github.com/users/svlandeg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/svlandeg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/svlandeg/subscriptions",
"organizations_url": "https://api.github.com/users/svlandeg/orgs",
"repos_url": "https://api.github.com/users/svlandeg/repos",
"events_url": "https://api.github.com/users/svlandeg/events{/privacy}",
"received_events_url": "https://api.github.com/users/svlandeg/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 312256136,
"node_id": "MDU6TGFiZWwzMTIyNTYxMzY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/docs",
"name": "docs",
"color": "087EA6",
"default": false,
"description": "Documentation and website"
}
] | closed | false | null | [] | null | 0 | 2022-02-22T07:40:28 | 2022-02-25T15:29:16 | 2022-02-25T15:29:12 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10351",
"html_url": "https://github.com/explosion/spaCy/pull/10351",
"diff_url": "https://github.com/explosion/spaCy/pull/10351.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10351.patch",
"merged_at": "2022-02-25T15:29:12"
} |
## Description
Further cleanup after we previously moved the logger functionality to https://github.com/explosion/spacy-loggers
### Types of change
docs fix
## Checklist
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10351/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10351/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10348 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10348/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10348/comments | https://api.github.com/repos/explosion/spaCy/issues/10348/events | https://github.com/explosion/spaCy/pull/10348 | 1,146,138,451 | PR_kwDOAUeP5s4zPv_c | 10,348 | Add `path.mkdir` to custom component examples of `to_disk` | {
"login": "pmbaumgartner",
"id": 5107405,
"node_id": "MDQ6VXNlcjUxMDc0MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5107405?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pmbaumgartner",
"html_url": "https://github.com/pmbaumgartner",
"followers_url": "https://api.github.com/users/pmbaumgartner/followers",
"following_url": "https://api.github.com/users/pmbaumgartner/following{/other_user}",
"gists_url": "https://api.github.com/users/pmbaumgartner/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pmbaumgartner/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pmbaumgartner/subscriptions",
"organizations_url": "https://api.github.com/users/pmbaumgartner/orgs",
"repos_url": "https://api.github.com/users/pmbaumgartner/repos",
"events_url": "https://api.github.com/users/pmbaumgartner/events{/privacy}",
"received_events_url": "https://api.github.com/users/pmbaumgartner/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 312256136,
"node_id": "MDU6TGFiZWwzMTIyNTYxMzY=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/docs",
"name": "docs",
"color": "087EA6",
"default": false,
"description": "Documentation and website"
}
] | closed | false | null | [] | null | 0 | 2022-02-21T19:04:08 | 2022-03-08T15:04:10 | 2022-03-08T15:04:10 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10348",
"html_url": "https://github.com/explosion/spaCy/pull/10348",
"diff_url": "https://github.com/explosion/spaCy/pull/10348.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10348.patch",
"merged_at": "2022-03-08T15:04:10"
} | Updates docs to add `path.mkdir()` to the custom component examples that include a `to_disk` method.
### Types of change
Documentation
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10348/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10348/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10347 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10347/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10347/comments | https://api.github.com/repos/explosion/spaCy/issues/10347/events | https://github.com/explosion/spaCy/pull/10347 | 1,146,068,967 | PR_kwDOAUeP5s4zPhaR | 10,347 | Bugfixes and test for rehearse | {
"login": "kadarakos",
"id": 5589434,
"node_id": "MDQ6VXNlcjU1ODk0MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5589434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kadarakos",
"html_url": "https://github.com/kadarakos",
"followers_url": "https://api.github.com/users/kadarakos/followers",
"following_url": "https://api.github.com/users/kadarakos/following{/other_user}",
"gists_url": "https://api.github.com/users/kadarakos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kadarakos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kadarakos/subscriptions",
"organizations_url": "https://api.github.com/users/kadarakos/orgs",
"repos_url": "https://api.github.com/users/kadarakos/repos",
"events_url": "https://api.github.com/users/kadarakos/events{/privacy}",
"received_events_url": "https://api.github.com/users/kadarakos/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 710446668,
"node_id": "MDU6TGFiZWw3MTA0NDY2Njg=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/training",
"name": "training",
"color": "087EA6",
"default": false,
"description": "Training and updating models"
}
] | closed | false | null | [] | null | 3 | 2022-02-21T17:31:19 | 2022-02-23T15:10:06 | 2022-02-23T15:10:05 | CONTRIBUTOR | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10347",
"html_url": "https://github.com/explosion/spaCy/pull/10347",
"diff_url": "https://github.com/explosion/spaCy/pull/10347.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10347.patch",
"merged_at": "2022-02-23T15:10:05"
} | fixes #7161 | {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10347/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10347/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10346 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10346/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10346/comments | https://api.github.com/repos/explosion/spaCy/issues/10346/events | https://github.com/explosion/spaCy/pull/10346 | 1,145,814,414 | PR_kwDOAUeP5s4zOrZZ | 10,346 | Fix Tok2Vec for empty batches (#10324) | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 1455739931,
"node_id": "MDU6TGFiZWwxNDU1NzM5OTMx",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tok2vec",
"name": "feat / tok2vec",
"color": "ddfc74",
"default": false,
"description": "Feature: Token-to-vector layer and pretraining"
}
] | closed | false | null | [] | null | 0 | 2022-02-21T13:39:08 | 2022-02-21T15:41:14 | 2022-02-21T15:41:13 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10346",
"html_url": "https://github.com/explosion/spaCy/pull/10346",
"diff_url": "https://github.com/explosion/spaCy/pull/10346.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10346.patch",
"merged_at": "2022-02-21T15:41:13"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Backport #10324 to v3.0
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Bug fix.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10346/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10346/timeline | null |
https://api.github.com/repos/explosion/spaCy/issues/10345 | https://api.github.com/repos/explosion/spaCy | https://api.github.com/repos/explosion/spaCy/issues/10345/labels{/name} | https://api.github.com/repos/explosion/spaCy/issues/10345/comments | https://api.github.com/repos/explosion/spaCy/issues/10345/events | https://github.com/explosion/spaCy/pull/10345 | 1,145,814,365 | PR_kwDOAUeP5s4zOrYt | 10,345 | Fix Tok2Vec for empty batches (#10324) | {
"login": "adrianeboyd",
"id": 5794899,
"node_id": "MDQ6VXNlcjU3OTQ4OTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/5794899?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adrianeboyd",
"html_url": "https://github.com/adrianeboyd",
"followers_url": "https://api.github.com/users/adrianeboyd/followers",
"following_url": "https://api.github.com/users/adrianeboyd/following{/other_user}",
"gists_url": "https://api.github.com/users/adrianeboyd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adrianeboyd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adrianeboyd/subscriptions",
"organizations_url": "https://api.github.com/users/adrianeboyd/orgs",
"repos_url": "https://api.github.com/users/adrianeboyd/repos",
"events_url": "https://api.github.com/users/adrianeboyd/events{/privacy}",
"received_events_url": "https://api.github.com/users/adrianeboyd/received_events",
"type": "User",
"site_admin": false
} | [
{
"id": 111380485,
"node_id": "MDU6TGFiZWwxMTEzODA0ODU=",
"url": "https://api.github.com/repos/explosion/spaCy/labels/bug",
"name": "bug",
"color": "DD2A27",
"default": true,
"description": "Bugs and behaviour differing from documentation"
},
{
"id": 1455739931,
"node_id": "MDU6TGFiZWwxNDU1NzM5OTMx",
"url": "https://api.github.com/repos/explosion/spaCy/labels/feat%20/%20tok2vec",
"name": "feat / tok2vec",
"color": "ddfc74",
"default": false,
"description": "Feature: Token-to-vector layer and pretraining"
}
] | closed | false | null | [] | null | 0 | 2022-02-21T13:39:06 | 2022-02-21T15:42:10 | 2022-02-21T15:42:10 | MEMBER | null | false | {
"url": "https://api.github.com/repos/explosion/spaCy/pulls/10345",
"html_url": "https://github.com/explosion/spaCy/pull/10345",
"diff_url": "https://github.com/explosion/spaCy/pull/10345.diff",
"patch_url": "https://github.com/explosion/spaCy/pull/10345.patch",
"merged_at": "2022-02-21T15:42:10"
} | <!--- Provide a general summary of your changes in the title. -->
## Description
<!--- Use this section to describe your changes. If your changes required
testing, include information about the testing environment and the tests you
ran. If your test fixes a bug reported in an issue, don't forget to include the
issue number. If your PR is still a work in progress, that's totally fine – just
include a note to let us know. -->
Backport #10324 to v3.1
### Types of change
<!-- What type of change does your PR cover? Is it a bug fix, an enhancement
or new feature, or a change to the documentation? -->
Bug fix.
## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I confirm that I have the right to submit this contribution under the project's MIT license.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
| {
"url": "https://api.github.com/repos/explosion/spaCy/issues/10345/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/explosion/spaCy/issues/10345/timeline | null |
End of preview.