spaCy/spacy/tests/pipeline
Kabir Khan 1e19f34e29 Add optional `id` property to EntityRuler patterns (#3591)
* Adding support for entity_id in EntityRuler pipeline component

* Adding Spacy Contributor aggreement

* Updating EntityRuler to use string.format instead of f strings

* Update Entity Ruler to support an 'id' attribute per pattern that explicitly identifies an entity.

* Fixing tests

* Remove custom extension entity_id and use built in ent_id token attribute.

* Changing entity_id to ent_id for consistent naming

* entity_ids => ent_ids

* Removing kb, cleaning up tests, making util functions private, use rsplit instead of split
2019-06-16 13:29:04 +02:00
..
__init__.py
test_el.py entity as one field instead of both ID and name 2019-03-25 18:10:41 +01:00
test_entity_ruler.py Add optional `id` property to EntityRuler patterns (#3591) 2019-06-16 13:29:04 +02:00
test_factories.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_pipe_methods.py Add check for callable to 'Language.replace_pipe' to fix #3737 (#3741) 2019-05-14 16:59:31 +02:00
test_sentencizer.py 💫 Add better and serializable sentencizer (#3471) 2019-03-23 15:45:02 +01:00
test_textcat.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00