Remove unneeded sentencizer component.

This commit is contained in:
Raphael Mitsch 2023-03-13 10:45:57 +01:00
parent e4c02b35a6
commit 8729dba619

View File

@ -118,7 +118,6 @@ def test_sentence_crossing_ents(entity_in_first_sentence: bool):
# Test that the NEL doesn't crash when an entity crosses a sentence boundary
nlp = English()
vector_length = 3
nlp.add_pipe("sentencizer")
text = "Mahler 's Symphony No. 8 was beautiful."
entities = [(10, 24, "WORK")]
links = {(10, 24): {"Q7304": 0.0, "Q270853": 1.0}}