Make training test less flakey

This commit is contained in:
Matthew Honnibal 2017-04-23 22:59:34 +02:00
parent 4f9657b42b
commit 3973af2d15
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def test_issue999(train_data):
for _, offsets in train_data:
for start, end, ent_type in offsets:
nlp.entity.add_label(ent_type)
for itn in range(10):
for itn in range(100):
random.shuffle(train_data)
for raw_text, entity_offsets in train_data:
doc = nlp.make_doc(raw_text)