spaCy/website/docs
Kabir Khan f6ed07b85c
Use nlp.pipe in EntityRuler for phrase patterns in add_patterns (#4931)
* Fix ent_ids and labels properties when id attribute used in patterns

* use set for labels

* sort end_ids for comparison in entity_ruler tests

* fixing entity_ruler ent_ids test

* add to set

* Run make_doc optimistically if using phrase matcher patterns.

* remove unused coveragerc I was testing with

* format

* Refactor EntityRuler.add_patterns to use nlp.pipe for phrase patterns. Improves speed substantially.

* Removing old add_patterns function

* Fixing spacing

* Make sure token_patterns loaded as well, before generator was being emptied in from_disk
2020-02-16 18:17:47 +01:00
..
api Adjust formatting [ci skip] 2020-02-03 13:00:02 +01:00
images Remove box-decoration-break from entities in displacy (#4564) 2019-10-31 15:09:43 +01:00
models Divide models into core and starters [ci skip] 2019-12-21 14:10:22 +01:00
usage Use nlp.pipe in EntityRuler for phrase patterns in add_patterns (#4931) 2020-02-16 18:17:47 +01:00
index.md 💫 Update website (#3285) 2019-02-17 19:31:19 +01:00
styleguide.md 💫 v2.1.0 launch updates (only merge on launch!) (#3414) 2019-03-18 16:07:26 +01:00