Skip to content

Commit

Permalink
Add component builder to ner_spacy test
Browse files Browse the repository at this point in the history
Co-Authored-By: mauricedoepke <mauricepdoepke@gmail.com>
  • Loading branch information
erohmensing and mauricedoepke authored Mar 1, 2019
1 parent c60b670 commit 4deea0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/base/test_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def test_unintentional_synonyms_capitalized(component_builder):
assert ner_syn.synonyms.get("tacos") == "Mexican"


def test_spacy_ner_extractor(spacy_nlp):
def test_spacy_ner_extractor(component_builder, spacy_nlp):
ext = SpacyEntityExtractor({"dimensions": ["LOC"]})
example = Message("anywhere in the West", {
"intent": "restaurant_search",
Expand Down

0 comments on commit 4deea0f

Please sign in to comment.