spaCy/spacy/tests/regression
Sofie Van Landeghem e48a09df4e Example class for training data (#4543)
* OrigAnnot class instead of gold.orig_annot list of zipped tuples

* from_orig to replace from_annot_tuples

* rename to RawAnnot

* some unit tests for GoldParse creation and internal format

* removing orig_annot and switching to lists instead of tuple

* rewriting tuples to use RawAnnot (+ debug statements, WIP)

* fix pop() changing the data

* small fixes

* pop-append fixes

* return RawAnnot for existing GoldParse to have uniform interface

* clean up imports

* fix merge_sents

* add unit test for 4402 with new structure (not working yet)

* introduce DocAnnot

* typo fixes

* add unit test for merge_sents

* rename from_orig to from_raw

* fixing unit tests

* fix nn parser

* read_annots to produce text, doc_annot pairs

* _make_golds fix

* rename golds_to_gold_annots

* small fixes

* fix encoding

* have golds_to_gold_annots use DocAnnot

* missed a spot

* merge_sents as function in DocAnnot

* allow specifying only part of the token-level annotations

* refactor with Example class + underlying dicts

* pipeline components to work with Example objects (wip)

* input checking

* fix yielding

* fix calls to update

* small fixes

* fix scorer unit test with new format

* fix kwargs order

* fixes for ud and conllu scripts

* fix reading data for conllu script

* add in proper errors (not fixed numbering yet to avoid merge conflicts)

* fixing few more small bugs

* fix EL script
2019-11-11 17:35:27 +01:00
..
__init__.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue1-1000.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue1001-1500.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue1501-2000.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue2001-2500.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue2501-3000.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue3001-3500.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3521.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3526.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3531.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3540.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3549.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3555.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3611.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue3625.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3803.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3830.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3839.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3869.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3879.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3880.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3882.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3951.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue3959.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3962.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue3972.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue4002.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue4030.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue4042.py Tidy up and auto-format 2019-10-18 11:27:38 +02:00
test_issue4054.py Fix test imports 2019-09-29 17:34:56 +02:00
test_issue4120.py Implement new API for {Phrase}Matcher.add (backwards-compatible) (#4522) 2019-10-25 22:21:08 +02:00
test_issue4133.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue4190.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue4267.py Tidy up and auto-format 2019-10-18 11:27:38 +02:00
test_issue4272.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue4278.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue4313.py Revert #4334 2019-09-29 17:32:12 +02:00
test_issue4348.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue4367.py Tidy up and auto-format 2019-10-18 11:27:38 +02:00
test_issue4373.py Make PhraseMatcher.vocab consistent with Matcher.vocab (closes #4373) 2019-10-04 12:18:41 +02:00
test_issue4402.py Example class for training data (#4543) 2019-11-11 17:35:27 +01:00
test_issue4528.py Fix serialization of extension attr values in DocBin (#4540) 2019-10-28 16:02:13 +01:00
test_issue4529.py [#4529] fix: gold pyx (#4530) 2019-10-27 13:50:07 +01:00