mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	| * 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 | ||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_add_label.py | ||
| test_arc_eager_oracle.py | ||
| test_ner.py | ||
| test_neural_parser.py | ||
| test_nn_beam.py | ||
| test_nonproj.py | ||
| test_parse_navigate.py | ||
| test_parse.py | ||
| test_preset_sbd.py | ||
| test_space_attachment.py | ||
| test_state.py | ||