spaCy/spacy/tests/regression
Adriane Boyd f94168a41e
Backport bugfixes from v3.1.0 to v3.0 (#8739)
* Fix scoring normalization (#7629)

* fix scoring normalization

* score weights by total sum instead of per component

* cleanup

* more cleanup

* Use a context manager when reading model (fix #7036) (#8244)

* Fix other open calls without context managers (#8245)

* Don't add duplicate patterns all the time in EntityRuler (fix #8216) (#8246)

* Don't add duplicate patterns (fix #8216)

* Refactor EntityRuler init

This simplifies the EntityRuler init code. This is helpful as prep for
allowing the EntityRuler to reset itself.

* Make EntityRuler.clear reset matchers

Includes a new test for this.

* Tidy PhraseMatcher instantiation

Since the attr can be None safely now, the guard if is no longer
required here.

Also renamed the `_validate` attr. Maybe it's not needed?

* Fix NER test

* Add test to make sure patterns aren't increasing

* Move test to regression tests

* Exclude generated .cpp files from package (#8271)

* Fix non-deterministic deduplication in Greek lemmatizer (#8421)

* Fix setting empty entities in Example.from_dict (#8426)

* Filter W036 for entity ruler, etc. (#8424)

* Preserve paths.vectors/initialize.vectors setting in quickstart template

* Various fixes for spans in Docs.from_docs (#8487)

* Fix spans offsets if a doc ends in a single space and no space is
  inserted
* Also include spans key in merged doc for empty spans lists

* Fix duplicate spacy package CLI opts (#8551)

Use `-c` for `--code` and not additionally for `--create-meta`, in line
with the docs.

* Raise an error for textcat with <2 labels (#8584)

* Raise an error for textcat with <2 labels

Raise an error if initializing a `textcat` component without at least
two labels.

* Add similar note to docs

* Update positive_label description in API docs

* Add Macedonian models to website (#8637)

* Fix Azerbaijani init, extend lang init tests (#8656)

* Extend langs in initialize tests

* Fix az init

* Fix ru/uk lemmatizer mp with spawn (#8657)

Use an instance variable instead a class variable for the morphological
analzyer so that multiprocessing with spawn is possible.

* Use 0-vector for OOV lexemes (#8639)

* Set version to v3.0.7

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Paul O'Leary McCann <polm@dampfkraft.com>
2021-07-19 09:20:40 +02:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue1-1000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue1001-1500.py Tidy up and auto-format 2020-08-09 22:36:23 +02:00
test_issue1501-2000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue2001-2500.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue2501-3000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue3001-3500.py raise NotImplementedError when noun_chunks iterator is not implemented (#6711) 2021-01-17 19:56:05 +08:00
test_issue3501-4000.py Tidy up and auto-format 2020-09-29 21:39:28 +02:00
test_issue4001-4500.py Fix beam NER resizing (#6834) 2021-01-27 23:39:14 +11:00
test_issue4501-5000.py Set up GPU CI testing (#7293) 2021-04-22 14:58:29 +02:00
test_issue5001-5500.py Set up GPU CI testing (#7293) 2021-04-22 14:58:29 +02:00
test_issue5501-6000.py Set up GPU CI testing (#7293) 2021-04-22 14:58:29 +02:00
test_issue6001-6500.py Tidy up and auto-format 2021-01-30 12:52:33 +11:00
test_issue6501-7000.py Tidy up and auto-format 2021-02-13 12:55:56 +11:00
test_issue7019.py Fix issue #7019: Handle None scores in evaluate printer (#7026) 2021-02-11 16:45:23 +11:00
test_issue7029.py span.ent only returns first sentence (#7084) 2021-02-19 23:02:38 +11:00
test_issue7055.py Preserve sourced components in fill-config (fixes #7055) (#7058) 2021-02-14 14:02:14 +11:00
test_issue7056.py span.ent only returns first sentence (#7084) 2021-02-19 23:02:38 +11:00
test_issue7062.py only evaluate named entities for NEL if there is a corresponding gold span (#7074) 2021-02-22 11:06:50 +11:00
test_issue7065.py Bugfix/nel crossing sentence (#7630) 2021-04-12 18:08:01 +10:00
test_issue8168.py Fix bug from Entityruler: ent_ids returns None for phrases (#8169) 2021-05-31 18:38:53 +10:00
test_issue8190.py Address missing config overrides post load of models (#8208) 2021-05-31 18:36:52 +10:00
test_issue8216.py Backport bugfixes from v3.1.0 to v3.0 (#8739) 2021-07-19 09:20:40 +02:00