spaCy/spacy/tests/regression
Matthew Honnibal 8656a08777
Add beam_parser and beam_ner components for v3 (#6369)
* Get basic beam tests working

* Get basic beam tests working

* Compile _beam_utils

* Remove prints

* Test beam density

* Beam parser seems to train

* Draft beam NER

* Upd beam

* Add hypothesis as dev dependency

* Implement missing is-gold-parse method

* Implement early update

* Fix state hashing

* Fix test

* Fix test

* Default to non-beam in parser constructor

* Improve oracle for beam

* Start refactoring beam

* Update test

* Refactor beam

* Update nn

* Refactor beam and weight by cost

* Update ner beam settings

* Update test

* Add __init__.pxd

* Upd test

* Fix test

* Upd test

* Fix test

* Remove ring buffer history from StateC

* WIP change arc-eager transitions

* Add state tests

* Support ternary sent start values

* Fix arc eager

* Fix NER

* Pass oracle cut size for beam

* Fix ner test

* Fix beam

* Improve StateC.clone

* Improve StateClass.borrow

* Work directly with StateC, not StateClass

* Remove print statements

* Fix state copy

* Improve state class

* Refactor parser oracles

* Fix arc eager oracle

* Fix arc eager oracle

* Use a vector to implement the stack

* Refactor state data structure

* Fix alignment of sent start

* Add get_aligned_sent_starts method

* Add test for ae oracle when bad sentence starts

* Fix sentence segment handling

* Avoid Reduce that inserts illegal sentence

* Update preset SBD test

* Fix test

* Remove prints

* Fix sent starts in Example

* Improve python API of StateClass

* Tweak comments and debug output of arc eager

* Upd test

* Fix state test

* Fix state test
2020-12-13 09:08:32 +08: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 Switch Doc.__init__(ents=) to IOB tags (#6173) 2020-10-01 16:22:18 +02:00
test_issue3501-4000.py Tidy up and auto-format 2020-09-29 21:39:28 +02:00
test_issue4001-4500.py Add beam_parser and beam_ner components for v3 (#6369) 2020-12-13 09:08:32 +08:00
test_issue4501-5000.py begin_training -> initialize 2020-09-28 21:35:09 +02:00
test_issue5001-5500.py Tidy up tests and docs 2020-09-21 20:43:54 +02:00
test_issue5501-6000.py Fixes in test suite (#6457) 2020-12-02 12:57:08 +01:00
test_issue6207.py Tidy up and auto-format 2020-10-10 19:14:48 +02:00
test_issue6258.py Fix TokenPatternSchema pattern field validation 2020-10-16 00:41:21 +02:00